Class LicenseTypeRequestBody
java.lang.Object
org.odpi.openmetadata.commonservices.ffdc.rest.LicenseTypeRequestBody
LicenseTypeRequestBody provides a structure used when creating license types.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorLicenseTypeRequestBody(LicenseTypeRequestBody template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals method that returns true if containing properties are the same.org.odpi.openmetadata.frameworks.openmetadata.enums.GovernanceDefinitionStatusReturn the initial status of the license type.org.odpi.openmetadata.frameworks.openmetadata.properties.governance.LicenseTypePropertiesReturn the properties of the license type.inthashCode()Return hash code for this objectvoidsetInitialStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.GovernanceDefinitionStatus initialStatus) Set up the initial status of the license type.voidsetProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.governance.LicenseTypeProperties properties) Set up the properties of the license type.toString()JSON-style toString.
-
Constructor Details
-
LicenseTypeRequestBody
public LicenseTypeRequestBody()Default constructor -
LicenseTypeRequestBody
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getProperties
public org.odpi.openmetadata.frameworks.openmetadata.properties.governance.LicenseTypeProperties getProperties()Return the properties of the license type.- Returns:
- properties
-
setProperties
public void setProperties(org.odpi.openmetadata.frameworks.openmetadata.properties.governance.LicenseTypeProperties properties) Set up the properties of the license type.- Parameters:
properties- properties
-
getInitialStatus
public org.odpi.openmetadata.frameworks.openmetadata.enums.GovernanceDefinitionStatus getInitialStatus()Return the initial status of the license type.- Returns:
- instance status
-
setInitialStatus
public void setInitialStatus(org.odpi.openmetadata.frameworks.openmetadata.enums.GovernanceDefinitionStatus initialStatus) Set up the initial status of the license type.- Parameters:
initialStatus- instance status
-
toString
JSON-style toString. -
equals
Equals method that returns true if containing properties are the same. -
hashCode
public int hashCode()Return hash code for this object
-