Class VersionImpl

    • Constructor Detail

      • VersionImpl

        public VersionImpl()
    • Method Detail

      • getUuid

        public UUID getUuid()
        Specified by:
        getUuid in interface Version
        Returns:
        id of the version
      • setUuid

        public void setUuid​(UUID uuid)
        Specified by:
        setUuid in interface Version
      • getVersionValue

        public int getVersionValue()
        Specified by:
        getVersionValue in interface Version
        Returns:
        numeric value of the version, incremented with every new version instance
      • setVersionValue

        public void setVersionValue​(int versionValue)
        Specified by:
        setVersionValue in interface Version
      • getCreated

        public Date getCreated()
        Specified by:
        getCreated in interface Version
        Returns:
        date when this version instance was created
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface Version
        Returns:
        description of the version, intended for manually created versions
      • getStatus

        public Version.Status getStatus()
        Specified by:
        getStatus in interface Version
        Returns:
        status of the version, one of 'INITIAL', 'ACTIVIE', 'INACTIVE', 'DELETED'
      • getInstanceKey

        public String getInstanceKey()
        Specified by:
        getInstanceKey in interface Version
        Returns:
        version independent identifier of the versioned object, e.g. Zend id
      • getInstanceVersionKey

        public String getInstanceVersionKey()
        Specified by:
        getInstanceVersionKey in interface Version
        Returns:
        unique identifier of the version, typically a combination of the instance key and an external property such as a creation date.