public class License extends java.lang.Object implements java.io.Serializable, java.lang.Cloneable, InputLocationTracker
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
comments
Addendum information pertaining to this license.
|
private java.lang.String |
distribution
The primary method by which this project may be
distributed.
|
private java.util.Map<java.lang.Object,InputLocation> |
locations
Field locations.
|
private java.lang.String |
name
The full legal name of the license.
|
private java.lang.String |
url
The official url for the license text.
|
Constructor and Description |
---|
License() |
Modifier and Type | Method and Description |
---|---|
License |
clone()
Method clone.
|
java.lang.String |
getComments()
Get addendum information pertaining to this license.
|
java.lang.String |
getDistribution()
Get the primary method by which this project may be
distributed.
|
InputLocation |
getLocation(java.lang.Object key)
Gets the location of the specified field in the input
source.
|
java.lang.String |
getName()
Get the full legal name of the license.
|
java.lang.String |
getUrl()
Get the official url for the license text.
|
void |
setComments(java.lang.String comments)
Set addendum information pertaining to this license.
|
void |
setDistribution(java.lang.String distribution)
Set the primary method by which this project may be
distributed.
|
void |
setLocation(java.lang.Object key,
InputLocation location)
Sets the location of the specified field.
|
void |
setName(java.lang.String name)
Set the full legal name of the license.
|
void |
setUrl(java.lang.String url)
Set the official url for the license text.
|
private java.lang.String name
private java.lang.String url
private java.lang.String distribution
private java.lang.String comments
private java.util.Map<java.lang.Object,InputLocation> locations
public License clone()
clone
in class java.lang.Object
public java.lang.String getComments()
public java.lang.String getDistribution()
public InputLocation getLocation(java.lang.Object key)
InputLocationTracker
getLocation
in interface InputLocationTracker
key
- public java.lang.String getName()
public java.lang.String getUrl()
public void setComments(java.lang.String comments)
comments
- public void setDistribution(java.lang.String distribution)
distribution
- public void setLocation(java.lang.Object key, InputLocation location)
InputLocationTracker
setLocation
in interface InputLocationTracker
key
- location
- public void setName(java.lang.String name)
name
- public void setUrl(java.lang.String url)
url
-