public class AssetLicense extends AssetReferenceable
The data economy brings licensing to data and metadata. Even open data typically has a license. License stores the license permission associated with the asset.
The license will define the permitted uses and other requirements for using the asset.
| Modifier and Type | Field and Description |
|---|---|
protected License |
licenseBean |
referenceableBeanparentAsset| Constructor and Description |
|---|
AssetLicense(AssetDescriptor parentAsset,
AssetLicense templateLicense)
Copy/clone constructor.
|
AssetLicense(AssetDescriptor parentAsset,
License licenseBean)
Bean constructor with parent asset
|
AssetLicense(License licenseBean)
Bean 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.
|
protected License |
getLicenseBean()
Return the bean with all of the properties.
|
String |
getLicenseConditions()
Return any special conditions that apply to the license - such as endorsements.
|
String |
getLicensee()
Get the name of the organization or person that issued the license.
|
String |
getLicenseTypeGUID()
Return the unique id for the type of license.
|
String |
getLicenseTypeName()
Return the type of the license.
|
AssetExternalReference |
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.
|
String |
toString()
Standard toString method.
|
getAdditionalProperties, getMeanings, getQualifiedName, getReferenceableBean, getSecurityTags, setBeangetAssetClassifications, getElementHeaderBean, getExtendedProperties, getGUID, getType, getURL, hashCode, setBeangetParentAsset, getParentAssetName, getParentAssetTypeNameprotected License licenseBean
public AssetLicense(License licenseBean)
licenseBean - bean with all of the properties in itpublic AssetLicense(AssetDescriptor parentAsset, License licenseBean)
parentAsset - descriptor for parent assetlicenseBean - bean with all of the properties in itpublic AssetLicense(AssetDescriptor parentAsset, AssetLicense templateLicense)
parentAsset - descriptor for parent assettemplateLicense - element to copyprotected License getLicenseBean()
public String getLicenseTypeGUID()
public String getLicenseTypeName()
public String getLicensee()
public String getSummary()
public AssetExternalReference getLink()
public Date getStartDate()
public Date getEndDate()
public String getLicenseConditions()
public String getCreatedBy()
public String getCustodian()
public String getNotes()
public String toString()
toString in class AssetReferenceablepublic boolean equals(Object objectToCompare)
equals in class AssetReferenceableobjectToCompare - supplied objectCopyright © 2018–2020 ODPi. All rights reserved.