Class TypeDefProperties
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.RepositoryElementHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefElementHeader
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefProperties
- All Implemented Interfaces:
Serializable
The TypeDefProperties class provides support for arbitrary properties that belong to a TypeDef object.
It is used for searching the TypeDefs.
It wraps a java.util.Map map object built around HashMap.
- See Also:
-
Field Summary
Fields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefElementHeader
CURRENT_TYPE_DEF_HEADER_VERSION
-
Constructor Summary
ConstructorDescriptionDefault constructor.TypeDefProperties
(TypeDefProperties templateProperties) Copy/clone constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Validate that an object is equal depending on their stored values.Return the list of property names.int
hashCode()
Return a hash code based on the values of this object.void
setTypeDefProperties
(Map<String, Object> typeDefProperties) Set up the list of property names.toString()
Standard toString method.Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.RepositoryElementHeader
getHeaderVersion, setHeaderVersion
-
Constructor Details
-
TypeDefProperties
public TypeDefProperties()Default constructor. -
TypeDefProperties
Copy/clone constructor.- Parameters:
templateProperties
- template object to copy.
-
-
Method Details
-
getTypeDefProperties
Return the list of property names.- Returns:
- List of String property names
-
setTypeDefProperties
Set up the list of property names.- Parameters:
typeDefProperties
- list of property names
-
toString
Standard toString method. -
equals
Validate that an object is equal depending on their stored values.- Overrides:
equals
in classRepositoryElementHeader
- Parameters:
objectToCompare
- object- Returns:
- boolean result
-
hashCode
public int hashCode()Return a hash code based on the values of this object.- Overrides:
hashCode
in classRepositoryElementHeader
- Returns:
- in hash code
-