Class SequenceField

    • Constructor Detail

      • SequenceField

        public SequenceField()
    • Method Detail

      • setStringValue

        public void setStringValue​(String value)
        Description copied from interface: Field
        Sets the specified String normalized value.
        Parameters:
        value - the String value to set
      • getStringValue

        public String getStringValue()
        Description copied from interface: Field
        Gets the normalized String value of this field.
        Returns:
        the String representation of the value of this field.
      • isReadOnly

        public boolean isReadOnly()
        Description copied from class: TextField
        Returns true if the value is read only.
        Specified by:
        isReadOnly in class TextField
      • getNextValue

        public String getNextValue​(String fieldName,
                                   String templateName,
                                   String componentId,
                                   int minLength,
                                   int startValue,
                                   boolean reuseAvailableValues,
                                   boolean global)
        Parameters:
        fieldName - The field's name.
        templateName - The template's name.
        componentId - The id of the component containing the field.
        minLength - The field's minimum length.
        startValue - The field's start value.
        reuseAvailableValues - Indicates whether previous values used by objects which were removed can be used again.
        global - Indicates whether all values of same form is gathered between instances
        Returns:
        The next sequence value to use.
      • equals

        public boolean equals​(Object o)
        Description copied from class: TextField
        Tests equality between this field and the specified field.
        Overrides:
        equals in class TextField