Class LicenseElement
java.lang.Object
org.odpi.openmetadata.accessservices.assetowner.metadataelements.LicenseElement
- All Implemented Interfaces:
Serializable
LicenseElement contains the properties and header for a license for an element.
It includes the details of the specific element's license and details of the license type.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorLicenseElement(LicenseElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with the relationship.Return details of the relationshiporg.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with end 2 of the relationship (license type).Return the properties of the license type.inthashCode()Return hash code for this objectvoidsetLicenseHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader licenseHeader) Set up the element header associated with the relationship.voidsetLicenseProperties(RelationshipProperties licenseProperties) Set up relationship propertiesvoidsetLicenseTypeHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader licenseTypeHeader) Set up the element header associated with end 2 of the relationship (license type).voidsetLicenseTypeProperties(LicenseProperties licenseTypeProperties) Set up the properties of the license type.toString()JSON-style toString
-
Constructor Details
-
LicenseElement
public LicenseElement()Default constructor -
LicenseElement
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getLicenseHeader
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getLicenseHeader()Return the element header associated with the relationship.- Returns:
- element header object
-
setLicenseHeader
public void setLicenseHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader licenseHeader) Set up the element header associated with the relationship.- Parameters:
licenseHeader- element header object
-
getLicenseProperties
Return details of the relationship- Returns:
- relationship properties
-
setLicenseProperties
Set up relationship properties- Parameters:
licenseProperties- relationship properties
-
getLicenseTypeHeader
public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getLicenseTypeHeader()Return the element header associated with end 2 of the relationship (license type).- Returns:
- element stub object
-
setLicenseTypeHeader
public void setLicenseTypeHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader licenseTypeHeader) Set up the element header associated with end 2 of the relationship (license type).- Parameters:
licenseTypeHeader- element stub object
-
getLicenseTypeProperties
Return the properties of the license type.- Returns:
- properties
-
setLicenseTypeProperties
Set up the properties of the license type.- Parameters:
licenseTypeProperties- properties
-
toString
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-