Class TypeDefElementHeader
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefElementHeader
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AttributeTypeDef,EnumElementDef,ExternalStandardMapping,RelationshipEndDef,TypeDefAttribute,TypeDefGallery,TypeDefLink,TypeDefPatch,TypeDefProperties
public class TypeDefElementHeader extends Object implements Serializable
TypeDefElementHeader provides a common base for all typedef information.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static longCURRENT_TYPE_DEF_HEADER_VERSION
-
Constructor Summary
Constructors Constructor Description TypeDefElementHeader()Default constructor sets TypeDef to nulls.TypeDefElementHeader(TypeDefElementHeader template)Copy/clone constructor set TypeDef to value in template.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetHeaderVersion()Return the version of this header.voidsetHeaderVersion(long headerVersion)Return the version of this header.
-
-
-
Field Detail
-
CURRENT_TYPE_DEF_HEADER_VERSION
public static final long CURRENT_TYPE_DEF_HEADER_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TypeDefElementHeader
public TypeDefElementHeader()
Default constructor sets TypeDef to nulls.
-
TypeDefElementHeader
public TypeDefElementHeader(TypeDefElementHeader template)
Copy/clone constructor set TypeDef to value in template.- Parameters:
template- TypeDefElementHeader
-
-
Method Detail
-
getHeaderVersion
public long getHeaderVersion()
Return the version of this header. This is used by the OMRS to determine if it is back level and should not process events from a source that is more advanced because it does not have the ability to receive all of the header properties.- Returns:
- long version number - the value is incremented each time a new non-informational field is added to the type definition.
-
setHeaderVersion
public void setHeaderVersion(long headerVersion)
Return the version of this header. This is used by the OMRS to determine if it is back level and should not process events from a source that is more advanced because it does not have the ability to receive all of the header properties.- Parameters:
headerVersion- long version number - the value is incremented each time a new non-informational field is added to the type definition.
-
-