public class License extends Referenceable
The data economy brings licensing to data and metadata. Even open data typically has a license. License stores the license permission associated with an asset.
The license defines the permitted uses and other requirements for using the asset.
| Modifier and Type | Field and Description |
|---|---|
protected String |
createdBy |
protected String |
custodian |
protected Date |
endDate |
protected String |
licenseConditions |
protected String |
licensee |
protected String |
licenseGUID |
protected String |
licenseTypeName |
protected ExternalReference |
link |
protected String |
notes |
protected Date |
startDate |
protected String |
summary |
additionalProperties, meanings, qualifiedNameclassifications, extendedProperties, guid, type, url| Constructor and Description |
|---|
License()
Default constructor
|
License(License template)
Copy/clone constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.
|
String |
getCreatedBy()
Return the name of the person or organization that set up the license agreement for this asset.
|
String |
getCustodian()
Return the name of the person or organization that is responsible for the correct management of the asset
according to the license.
|
Date |
getEndDate()
Return the end date for the license.
|
String |
getLicenseConditions()
Return any special conditions that apply to the license - such as endorsements.
|
String |
getLicensee()
Return the name of the organization or person that issued the license.
|
String |
getLicenseGUID()
Return the unique id for the type of license.
|
String |
getLicenseTypeName()
Return the name for the type of the license.
|
ExternalReference |
getLink()
Return the link to the full text of the license.
|
String |
getNotes()
Return the notes for the custodian.
|
Date |
getStartDate()
Return the start date for the license.
|
String |
getSummary()
Return a brief summary of the license.
|
void |
setCreatedBy(String createdBy)
Set up the name of the person or organization that set up the license agreement for this asset.
|
void |
setCustodian(String custodian)
Set up the name of the person or organization that is responsible for the correct management of the asset
according to the license.
|
void |
setEndDate(Date endDate)
Set up the end data for the license.
|
void |
setLicenseConditions(String licenseConditions)
Set up any special conditions that apply to the license - such as endorsements.
|
void |
setLicensee(String licensee)
Set up the name of the organization or person that issued the license.
|
void |
setLicenseGUID(String licenseGUID)
Set up the unique id for the type of license.
|
void |
setLicenseTypeName(String licenseTypeName)
Set up the name for the type of the license.
|
void |
setLink(ExternalReference link)
Set up the link to the full text of the license.
|
void |
setNotes(String notes)
Set up the notes for the custodian.
|
void |
setStartDate(Date startDate)
Set up the start date for the license.
|
void |
setSummary(String summary)
Set up a brief summary of the license.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getMeanings, getQualifiedName, hashCode, setAdditionalProperties, setMeanings, setQualifiedNamegetClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURLprotected String licenseGUID
protected String licenseTypeName
protected String licensee
protected String summary
protected ExternalReference link
protected Date startDate
protected Date endDate
protected String licenseConditions
protected String createdBy
protected String custodian
protected String notes
public License()
public License(License template)
template - element to copypublic String getLicenseGUID()
public void setLicenseGUID(String licenseGUID)
licenseGUID - String license type GUIDpublic String getLicenseTypeName()
public void setLicenseTypeName(String licenseTypeName)
licenseTypeName - String license type namepublic String getLicensee()
public void setLicensee(String licensee)
licensee - String name of person or organizationpublic String getSummary()
public void setSummary(String summary)
summary - String summary textpublic ExternalReference getLink()
public void setLink(ExternalReference link)
link - ExternalReference for full textpublic Date getStartDate()
public void setStartDate(Date startDate)
startDate - Datepublic Date getEndDate()
public void setEndDate(Date endDate)
endDate - Datepublic String getLicenseConditions()
public void setLicenseConditions(String licenseConditions)
licenseConditions - String license conditionspublic String getCreatedBy()
public void setCreatedBy(String createdBy)
createdBy - String namepublic String getCustodian()
public void setCustodian(String custodian)
custodian - String namepublic String getNotes()
public void setNotes(String notes)
notes - String notespublic String toString()
toString in class Referenceablepublic boolean equals(Object objectToCompare)
equals in class ReferenceableobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.