Class RepositoryElementHeader

  • All Implemented Interfaces:
    java.io.Serializable

    public abstract class RepositoryElementHeader
    extends java.lang.Object
    implements java.io.Serializable
    RepositoryElementHeader provides a common base for all type and instance information from the metadata collection. It implements Serializable.
    See Also:
    Serialized Form
    • 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.