Class ArchetypeAttributeInt

    • Constructor Detail

      • ArchetypeAttributeInt

        public ArchetypeAttributeInt​(@NotNull
                                     @NotNull java.lang.String archetypeAttributeName,
                                     @NotNull
                                     @NotNull java.lang.String attributeName,
                                     @NotNull
                                     @NotNull java.lang.String description,
                                     int inputLength,
                                     int minValue,
                                     int maxValue,
                                     int minCheckValue,
                                     int maxCheckValue)
        Creates a new instance.
        Parameters:
        archetypeAttributeName - the archetype attribute name
        attributeName - the user interface attribute name
        description - the attribute's description
        inputLength - the input length in characters for text input fields
        minValue - the absolute minimum allowed value
        maxValue - the absolute maximum allowed value
        minCheckValue - the logical minimum allowed value
        maxCheckValue - the logical maximum allowed value
    • Method Detail

      • getMinValue

        public int getMinValue()
        Returns the minimum allowed value.
        Returns:
        the minimum allowed value
      • getMaxValue

        public int getMaxValue()
        Returns the maximum allowed value.
        Returns:
        the maximum allowed value
      • getMinCheckValue

        public int getMinCheckValue()
        Returns the logical minimum allowed value.
        Returns:
        the logical minimum allowed value
      • getMaxCheckValue

        public int getMaxCheckValue()
        Returns the logical maximum allowed value.
        Returns:
        the logical maximum allowed value