public class ArchetypeAttributeBoolSpec extends ArchetypeAttribute
ArchetypeAttribute
for selecting boolean values having specific
"true" and "false" values.TEXTFIELD_COLUMNS
Constructor and Description |
---|
ArchetypeAttributeBoolSpec(@NotNull java.lang.String archetypeAttributeName,
@NotNull java.lang.String attributeName,
@NotNull java.lang.String description,
int inputLength,
@NotNull java.lang.String trueValue,
@NotNull java.lang.String falseValue)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
@NotNull java.lang.String |
getFalseValue()
Returns the false value.
|
@NotNull java.lang.String |
getTrueValue()
Returns the true value.
|
void |
visit(@NotNull ArchetypeAttributeVisitor visitor)
Calls the
visit() function appropriate for this instance. |
getArchetypeAttributeName, getAttributeName, getDescription, getInputLength, toString
public ArchetypeAttributeBoolSpec(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength, @NotNull @NotNull java.lang.String trueValue, @NotNull @NotNull java.lang.String falseValue)
archetypeAttributeName
- the archetype attribute nameattributeName
- the user interface attribute namedescription
- the attribute's descriptioninputLength
- the input length in characters for text input fieldstrueValue
- the true valuefalseValue
- the false value@NotNull public @NotNull java.lang.String getTrueValue()
@NotNull public @NotNull java.lang.String getFalseValue()
public void visit(@NotNull @NotNull ArchetypeAttributeVisitor visitor)
ArchetypeAttribute
visit()
function appropriate for this instance.visit
in class ArchetypeAttribute
visitor
- the visitor to call