Class License
- java.lang.Object
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
-
- org.odpi.openmetadata.frameworks.connectors.properties.beans.License
-
- All Implemented Interfaces:
Serializable
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.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringcreatedByprotected Stringcustodianprotected DateendDateprotected StringlicenseConditionsprotected Stringlicenseeprotected StringlicenseGUIDprotected StringlicenseTypeNameprotected ExternalReferencelinkprotected Stringnotesprotected DatestartDateprotected Stringsummary-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, confidenceGovernanceClassification, confidentialityGovernanceClassification, criticalityGovernanceClassification, latestChange, latestChangeDetails, meanings, qualifiedName, retentionGovernanceClassification, searchKeywords, securityTags
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
classifications, extendedProperties, guid, type, url
-
Fields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Compare the values of the supplied object with those stored in the current object.StringgetCreatedBy()Return the name of the person or organization that set up the license agreement for this asset.StringgetCustodian()Return the name of the person or organization that is responsible for the correct management of the asset according to the license.DategetEndDate()Return the end date for the license.StringgetLicenseConditions()Return any special conditions that apply to the license - such as endorsements.StringgetLicensee()Return the name of the organization or person that issued the license.StringgetLicenseGUID()Return the unique id for the type of license.StringgetLicenseTypeName()Return the name for the type of the license.ExternalReferencegetLink()Return the link to the full text of the license.StringgetNotes()Return the notes for the custodian.DategetStartDate()Return the start date for the license.StringgetSummary()Return a brief summary of the license.inthashCode()Hash of propertiesvoidsetCreatedBy(String createdBy)Set up the name of the person or organization that set up the license agreement for this asset.voidsetCustodian(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.voidsetEndDate(Date endDate)Set up the end data for the license.voidsetLicenseConditions(String licenseConditions)Set up any special conditions that apply to the license - such as endorsements.voidsetLicensee(String licensee)Set up the name of the organization or person that issued the license.voidsetLicenseGUID(String licenseGUID)Set up the unique id for the type of license.voidsetLicenseTypeName(String licenseTypeName)Set up the name for the type of the license.voidsetLink(ExternalReference link)Set up the link to the full text of the license.voidsetNotes(String notes)Set up the notes for the custodian.voidsetStartDate(Date startDate)Set up the start date for the license.voidsetSummary(String summary)Set up a brief summary of the license.StringtoString()Standard toString method.-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getConfidenceGovernanceClassification, getConfidentialityGovernanceClassification, getCriticalityGovernanceClassification, getLatestChange, getLatestChangeDetails, getMeanings, getQualifiedName, getRetentionGovernanceClassification, getSearchKeywords, getSecurityTags, setAdditionalProperties, setConfidenceGovernanceClassification, setConfidentialityGovernanceClassification, setCriticalityGovernanceClassification, setLatestChange, setLatestChangeDetails, setMeanings, setQualifiedName, setRetentionGovernanceClassification, setSearchKeywords, setSecurityTags
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getExtendedProperties, getGUID, getType, getURL, setClassifications, setExtendedProperties, setGUID, setType, setURL
-
Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
-
-
-
Field Detail
-
licenseGUID
protected String licenseGUID
-
licenseTypeName
protected String licenseTypeName
-
licensee
protected String licensee
-
summary
protected String summary
-
link
protected ExternalReference link
-
startDate
protected Date startDate
-
endDate
protected Date endDate
-
licenseConditions
protected String licenseConditions
-
createdBy
protected String createdBy
-
custodian
protected String custodian
-
notes
protected String notes
-
-
Constructor Detail
-
License
public License()
Default constructor
-
License
public License(License template)
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Detail
-
getLicenseGUID
public String getLicenseGUID()
Return the unique id for the type of license.- Returns:
- String license type GUID
-
setLicenseGUID
public void setLicenseGUID(String licenseGUID)
Set up the unique id for the type of license.- Parameters:
licenseGUID- String license type GUID
-
getLicenseTypeName
public String getLicenseTypeName()
Return the name for the type of the license.- Returns:
- String license type name
-
setLicenseTypeName
public void setLicenseTypeName(String licenseTypeName)
Set up the name for the type of the license.- Parameters:
licenseTypeName- String license type name
-
getLicensee
public String getLicensee()
Return the name of the organization or person that issued the license.- Returns:
- String name of person or organization
-
setLicensee
public void setLicensee(String licensee)
Set up the name of the organization or person that issued the license.- Parameters:
licensee- String name of person or organization
-
getSummary
public String getSummary()
Return a brief summary of the license.- Returns:
- String summary text
-
setSummary
public void setSummary(String summary)
Set up a brief summary of the license.- Parameters:
summary- String summary text
-
getLink
public ExternalReference getLink()
Return the link to the full text of the license.- Returns:
- ExternalReference for full text
-
setLink
public void setLink(ExternalReference link)
Set up the link to the full text of the license.- Parameters:
link- ExternalReference for full text
-
getStartDate
public Date getStartDate()
Return the start date for the license.- Returns:
- Date
-
setStartDate
public void setStartDate(Date startDate)
Set up the start date for the license.- Parameters:
startDate- Date
-
getEndDate
public Date getEndDate()
Return the end date for the license.- Returns:
- Date
-
setEndDate
public void setEndDate(Date endDate)
Set up the end data for the license.- Parameters:
endDate- Date
-
getLicenseConditions
public String getLicenseConditions()
Return any special conditions that apply to the license - such as endorsements.- Returns:
- String license conditions
-
setLicenseConditions
public void setLicenseConditions(String licenseConditions)
Set up any special conditions that apply to the license - such as endorsements.- Parameters:
licenseConditions- String license conditions
-
getCreatedBy
public String getCreatedBy()
Return the name of the person or organization that set up the license agreement for this asset.- Returns:
- String name
-
setCreatedBy
public void setCreatedBy(String createdBy)
Set up the name of the person or organization that set up the license agreement for this asset.- Parameters:
createdBy- String name
-
getCustodian
public String getCustodian()
Return the name of the person or organization that is responsible for the correct management of the asset according to the license.- Returns:
- String name
-
setCustodian
public 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.- Parameters:
custodian- String name
-
getNotes
public String getNotes()
Return the notes for the custodian.- Returns:
- String notes
-
setNotes
public void setNotes(String notes)
Set up the notes for the custodian.- Parameters:
notes- String notes
-
toString
public String toString()
Standard toString method.- Overrides:
toStringin classReferenceable- Returns:
- print out of variables in a JSON-style
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classReferenceable- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Hash of properties- Overrides:
hashCodein classReferenceable- Returns:
- int
-
-