public class ArchetypeAttributeInt extends ArchetypeAttribute
ArchetypeAttribute
for selecting integer values.TEXTFIELD_COLUMNS
Constructor and Description |
---|
ArchetypeAttributeInt(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength,
int minValue,
int maxValue,
int minCheckValue,
int maxCheckValue)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
int |
getMaxCheckValue()
Returns the logical maximum allowed value.
|
int |
getMaxValue()
Returns the maximum allowed value.
|
int |
getMinCheckValue()
Returns the logical minimum allowed value.
|
int |
getMinValue()
Returns the minimum allowed value.
|
void |
visit(@NotNull ArchetypeAttributeVisitor visitor)
Calls the
visit() function appropriate for this instance. |
getArchetypeAttributeName, getAttributeName, getDescription, getInputLength, toString
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)
archetypeAttributeName
- the archetype attribute nameattributeName
- the user interface attribute namedescription
- the attribute's descriptioninputLength
- the input length in characters for text input fieldsminValue
- the absolute minimum allowed valuemaxValue
- the absolute maximum allowed valueminCheckValue
- the logical minimum allowed valuemaxCheckValue
- the logical maximum allowed valuepublic int getMinValue()
public int getMaxValue()
public void visit(@NotNull @NotNull ArchetypeAttributeVisitor visitor)
ArchetypeAttribute
visit()
function appropriate for this instance.visit
in class ArchetypeAttribute
visitor
- the visitor to callpublic int getMinCheckValue()
public int getMaxCheckValue()