Class OpenMetadataArchiveTypeStore
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchiveElementHeader
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.archivestore.properties.OpenMetadataArchiveTypeStore
-
- All Implemented Interfaces:
Serializable
public class OpenMetadataArchiveTypeStore extends OpenMetadataArchiveElementHeader
OpenMetadataArchiveTypeStore defines the contents of the TypeStore in an open metadata archive. The TypeStore contains a list of types used for attributes, a list of type definition (TypeDef) patches to update existing types and a list of TypeDefs for new types of classifications, entities and relationships.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenMetadataArchiveTypeStore()Default constructor for OpenMetadataArchiveTypeStore relies on variables being initialized in their declaration.OpenMetadataArchiveTypeStore(OpenMetadataArchiveTypeStore template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Validate that an object is equal depending on their stored values.List<AttributeTypeDef>getAttributeTypeDefs()Return the list of attribute types used in this archive.List<TypeDef>getNewTypeDefs()Return the list of new TypeDefs in this open metadata archive.List<TypeDefPatch>getTypeDefPatches()Return the list of TypeDef patches from this archive.inthashCode()Return a hash code based on the values of this object.voidsetAttributeTypeDefs(List<AttributeTypeDef> attributeTypeDefs)Set up the list of attribute types used in this archive.voidsetNewTypeDefs(List<TypeDef> newTypeDefs)Set up the list of new TypeDefs in this open metadata archive.voidsetTypeDefPatches(List<TypeDefPatch> typeDefPatches)Set up the list of TypeDef patches from this archive.StringtoString()Standard toString method.
-
-
-
Constructor Detail
-
OpenMetadataArchiveTypeStore
public OpenMetadataArchiveTypeStore()
Default constructor for OpenMetadataArchiveTypeStore relies on variables being initialized in their declaration.
-
OpenMetadataArchiveTypeStore
public OpenMetadataArchiveTypeStore(OpenMetadataArchiveTypeStore template)
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Detail
-
getAttributeTypeDefs
public List<AttributeTypeDef> getAttributeTypeDefs()
Return the list of attribute types used in this archive.- Returns:
- list of AttributeTypeDef objects
-
setAttributeTypeDefs
public void setAttributeTypeDefs(List<AttributeTypeDef> attributeTypeDefs)
Set up the list of attribute types used in this archive.- Parameters:
attributeTypeDefs- list of AttributeTypeDef objects
-
getTypeDefPatches
public List<TypeDefPatch> getTypeDefPatches()
Return the list of TypeDef patches from this archive.- Returns:
- list of TypeDef objects
-
setTypeDefPatches
public void setTypeDefPatches(List<TypeDefPatch> typeDefPatches)
Set up the list of TypeDef patches from this archive.- Parameters:
typeDefPatches- list of TypeDef objects
-
getNewTypeDefs
public List<TypeDef> getNewTypeDefs()
Return the list of new TypeDefs in this open metadata archive.- Returns:
- list of TypeDef objects
-
setNewTypeDefs
public void setNewTypeDefs(List<TypeDef> newTypeDefs)
Set up the list of new TypeDefs in this open metadata archive.- Parameters:
newTypeDefs- list of TypeDef objects
-
toString
public String toString()
Standard toString method.
-
equals
public boolean equals(Object objectToCompare)
Validate that an object is equal depending on their stored values.
-
-