Class LicenseTypeProperties
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceDefinitionProperties
-
- org.odpi.openmetadata.accessservices.governanceprogram.properties.LicenseTypeProperties
-
- All Implemented Interfaces:
Serializable
public class LicenseTypeProperties extends GovernanceDefinitionProperties
LicenseTypeProperties defines a license that the organization recognizes and has governance definitions to support it.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LicenseTypeProperties()Default ConstructorLicenseTypeProperties(LicenseTypeProperties template)Copy/Clone Constructor
-
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.StringgetDetails()Return the specific details of the license.inthashCode()Return has code based on properties.voidsetDetails(String details)Set up the specific details of the license.StringtoString()JSON-style toString-
Methods inherited from class org.odpi.openmetadata.accessservices.governanceprogram.properties.GovernanceDefinitionProperties
getAdditionalProperties, getDescription, getDocumentIdentifier, getDomainIdentifier, getExtendedProperties, getImplications, getOutcomes, getPriority, getResults, getScope, getSummary, getTitle, getTypeName, setAdditionalProperties, setDescription, setDocumentIdentifier, setDomainIdentifier, setExtendedProperties, setImplications, setOutcomes, setPriority, setResults, setScope, setSummary, setTitle, setTypeName
-
-
-
-
Constructor Detail
-
LicenseTypeProperties
public LicenseTypeProperties()
Default Constructor
-
LicenseTypeProperties
public LicenseTypeProperties(LicenseTypeProperties template)
Copy/Clone Constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getDetails
public String getDetails()
Return the specific details of the license.- Returns:
- string description
-
setDetails
public void setDetails(String details)
Set up the specific details of the license.- Parameters:
details- string description
-
toString
public String toString()
JSON-style toString- Overrides:
toStringin classGovernanceDefinitionProperties- Returns:
- string containing the properties and their values
-
equals
public boolean equals(Object objectToCompare)
Compare the values of the supplied object with those stored in the current object.- Overrides:
equalsin classGovernanceDefinitionProperties- Parameters:
objectToCompare- supplied object- Returns:
- boolean result of comparison
-
hashCode
public int hashCode()
Return has code based on properties.- Overrides:
hashCodein classGovernanceDefinitionProperties- Returns:
- int
-
-