Package org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties
Class RepositoryElementHeader
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.RepositoryElementHeader
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
InstanceElementHeader,TypeDefElementHeader
public abstract class RepositoryElementHeader extends Object implements Serializable
RepositoryElementHeader provides a common base for all type and instance information from the metadata collection. It implements Serializable.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RepositoryElementHeader()Default Constructor sets the element to nullsRepositoryElementHeader(RepositoryElementHeader template)Copy/clone constructor set values from the 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.
-
-
-
Constructor Detail
-
RepositoryElementHeader
public RepositoryElementHeader()
Default Constructor sets the element to nulls
-
RepositoryElementHeader
public RepositoryElementHeader(RepositoryElementHeader template)
Copy/clone constructor set values from the template- Parameters:
template- InstanceElementHeader to copy
-
-
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 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 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.
-
-