Class OpenMetadataTypeDefSummary
java.lang.Object
org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDefElementHeader
org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDefLink
org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDefSummary
- Direct Known Subclasses:
OpenMetadataTypeDef
The OpenMetadataTypeDefSummary holds basic identifying information for a specific OpenMetadataTypeDef. It is used in
the registration process between repositories.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDefElementHeader
CURRENT_TYPE_DEF_HEADER_VERSION -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor copies the values from the supplied template. -
Method Summary
Modifier and TypeMethodDescriptionbooleanValidate that an object is equal depending on their stored values.Return the category of the OpenMetadataTypeDef.longReturn the version of the OpenMetadataTypeDef.Return the version name is more of a human readable form of the version number.inthashCode()Return a hash code based on the values of this object.voidsetCategory(OpenMetadataTypeDefCategory category) Set up the category of the OpenMetadataTypeDef.voidsetVersion(long version) Set up the version of the OpenMetadataTypeDef.voidsetVersionName(String versionName) Set up the version name is more of a human readable form of the version number.toString()Standard toString method.Methods inherited from class org.odpi.openmetadata.frameworks.governanceaction.properties.OpenMetadataTypeDefLink
getGUID, getName, getReplacedByTypeGUID, getReplacedByTypeName, getStatus, setGUID, setName, setReplacedByTypeGUID, setReplacedByTypeName, setStatus
-
Constructor Details
-
OpenMetadataTypeDefSummary
public OpenMetadataTypeDefSummary()Default constructor -
OpenMetadataTypeDefSummary
Copy/clone constructor copies the values from the supplied template.- Parameters:
template- OpenMetadataTypeDefSummary
-
-
Method Details
-
getCategory
Return the category of the OpenMetadataTypeDef.- Returns:
- OpenMetadataTypeDefCategory enum
-
setCategory
Set up the category of the OpenMetadataTypeDef.- Parameters:
category- OpenMetadataTypeDefCategory enum
-
getVersion
public long getVersion()Return the version of the OpenMetadataTypeDef. Versions are created when a OpenMetadataTypeDef's properties are changed. If a description is updated, then this does not create a new version.- Returns:
- String version number
-
setVersion
public void setVersion(long version) Set up the version of the OpenMetadataTypeDef. Versions are created when a OpenMetadataTypeDef's properties are changed. If a description is updated, then this does not create a new version.- Parameters:
version- long version number
-
getVersionName
Return the version name is more of a human readable form of the version number. It can be used to show whether the change is a minor or major update.- Returns:
- String version name
-
setVersionName
Set up the version name is more of a human readable form of the version number. It can be used to show whether the change is a minor or major update.- Parameters:
versionName- String version name
-
toString
Standard toString method.- Overrides:
toStringin classOpenMetadataTypeDefLink- Returns:
- JSON style description of variables.
-
equals
Validate that an object is equal depending on their stored values.- Overrides:
equalsin classOpenMetadataTypeDefLink- Parameters:
objectToCompare- object- Returns:
- boolean result
-
hashCode
public int hashCode()Return a hash code based on the values of this object.- Overrides:
hashCodein classOpenMetadataTypeDefLink- Returns:
- in hash code
-