@Generated public class License extends BaseObject
BaseObject.ChildrenTracking
childrenTracking, delegate
Constructor and Description |
---|
License() |
License(License delegate) |
License(License delegate,
BaseObject parent) |
Modifier and Type | Method and Description |
---|---|
License |
clone() |
String |
getComments() |
License |
getDelegate() |
String |
getDistribution() |
InputLocation |
getLocation(Object key)
Gets the location of the specified field in the input
source.
|
String |
getName() |
String |
getUrl() |
static List<License> |
licenseToApiV3(List<License> list) |
static List<License> |
licenseToApiV4(List<License> list) |
protected boolean |
replace(Object oldDelegate,
Object newDelegate) |
void |
setComments(String comments) |
void |
setDistribution(String distribution) |
void |
setLocation(Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setName(String name) |
void |
setUrl(String url) |
update
public License()
public License(License delegate)
public License(License delegate, BaseObject parent)
public License getDelegate()
getDelegate
in class BaseObject
public String getName()
public void setName(String name)
public String getUrl()
public void setUrl(String url)
public String getDistribution()
public void setDistribution(String distribution)
public String getComments()
public void setComments(String comments)
public InputLocation getLocation(Object key)
InputLocationTracker
key
- The key of the field, must not be
null
.null
if unknown.public void setLocation(Object key, InputLocation location)
InputLocationTracker
key
- The key of the field, must not be
null
.location
- The location of the field, may be
null
.protected boolean replace(Object oldDelegate, Object newDelegate)
replace
in class BaseObject
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.