Class FormBackupVersion

  • All Implemented Interfaces:
    Serializable

    public class FormBackupVersion
    extends Object
    implements Serializable
    Similar to a SelectItem, but immutable and with a type-safe getValue() method for a form backup version.
    Since:
    7.0.0
    Author:
    XIMA MEDIA GmbH
    See Also:
    Serialized Form
    • Constructor Detail

      • FormBackupVersion

        public FormBackupVersion​(String label,
                                 long id)
        Parameters:
        label - Label of the backup version.
        id - ID of the FormVersionBackup.
    • Method Detail

      • getLabel

        public String getLabel()
        Returns:
        The label for this backup version, i.e. the formatted date when it was created.
      • getValue

        public String getValue()
        Returns:
        The ID of this backup version, i.e. its database ID.
      • getDefault

        public static FormBackupVersion getDefault()
        Returns:
        The backup version instance for the default (current) version.