Class License
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
org.odpi.openmetadata.frameworks.connectors.properties.beans.License
- All Implemented Interfaces:
Serializable
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Dateprotected Stringprotected Stringprotected Stringprotected Stringprotected ExternalReferenceprotected Stringprotected Dateprotected StringFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
additionalProperties, qualifiedNameFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
extendedProperties, urlFields inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
CURRENT_AUDIT_HEADER_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCompare the values of the supplied object with those stored in the current object.Return the name of the person or organization that set up the license agreement for this asset.Return the name of the person or organization that is responsible for the correct management of the asset according to the license.Return the end date for the license.Return any special conditions that apply to the license - such as endorsements.Return the name of the organization or person that issued the license.Return the unique id for the type of license.Return the name for the type of the license.getLink()Return the link to the full text of the license.getNotes()Return the notes for the custodian.Return the start date for the license.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.voidSet 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.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.Referenceable
getAdditionalProperties, getQualifiedName, setAdditionalProperties, setQualifiedNameMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementBase
getExtendedProperties, getURL, setExtendedProperties, setURLMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
getClassifications, getGUID, setClassifications, setGUIDMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementControlHeader
getOrigin, getStatus, getType, getVersions, setOrigin, setStatus, setType, setVersionsMethods inherited from class org.odpi.openmetadata.frameworks.connectors.properties.beans.PropertyBase
getHeaderVersion, setHeaderVersion
-
Field Details
-
licenseGUID
-
licenseTypeName
-
licensee
-
summary
-
link
-
startDate
-
endDate
-
licenseConditions
-
createdBy
-
custodian
-
notes
-
-
Constructor Details
-
License
public License()Default constructor -
License
Copy/clone constructor.- Parameters:
template- element to copy
-
-
Method Details
-
getLicenseGUID
Return the unique id for the type of license.- Returns:
- String license type GUID
-
setLicenseGUID
Set up the unique id for the type of license.- Parameters:
licenseGUID- String license type GUID
-
getLicenseTypeName
Return the name for the type of the license.- Returns:
- String license type name
-
setLicenseTypeName
Set up the name for the type of the license.- Parameters:
licenseTypeName- String license type name
-
getLicensee
Return the name of the organization or person that issued the license.- Returns:
- String name of person or organization
-
setLicensee
Set up the name of the organization or person that issued the license.- Parameters:
licensee- String name of person or organization
-
getSummary
Return a brief summary of the license.- Returns:
- String summary text
-
setSummary
Set up a brief summary of the license.- Parameters:
summary- String summary text
-
getLink
Return the link to the full text of the license.- Returns:
- ExternalReference for full text
-
setLink
Set up the link to the full text of the license.- Parameters:
link- ExternalReference for full text
-
getStartDate
Return the start date for the license.- Returns:
- Date
-
setStartDate
Set up the start date for the license.- Parameters:
startDate- Date
-
getEndDate
Return the end date for the license.- Returns:
- Date
-
setEndDate
Set up the end data for the license.- Parameters:
endDate- Date
-
getLicenseConditions
Return any special conditions that apply to the license - such as endorsements.- Returns:
- String license conditions
-
setLicenseConditions
Set up any special conditions that apply to the license - such as endorsements.- Parameters:
licenseConditions- String license conditions
-
getCreatedBy
Return the name of the person or organization that set up the license agreement for this asset.- Returns:
- String name
-
setCreatedBy
Set up the name of the person or organization that set up the license agreement for this asset.- Parameters:
createdBy- String name
-
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
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
Return the notes for the custodian.- Returns:
- String notes
-
setNotes
Set up the notes for the custodian.- Parameters:
notes- String notes
-
toString
Standard toString method.- Overrides:
toStringin classReferenceable- Returns:
- print out of variables in a JSON-style
-
equals
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
-