Class ArchetypeAttributeBoolSpec
- java.lang.Object
-
- net.sf.gridarta.model.archetypetype.ArchetypeAttribute
-
- net.sf.gridarta.model.archetypetype.ArchetypeAttributeBoolSpec
-
public class ArchetypeAttributeBoolSpec extends ArchetypeAttribute
AnArchetypeAttributefor selecting boolean values having specific "true" and "false" values.
-
-
Field Summary
-
Fields inherited from class net.sf.gridarta.model.archetypetype.ArchetypeAttribute
TEXTFIELD_COLUMNS
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull java.lang.StringgetFalseValue()Returns the false value.@NotNull java.lang.StringgetTrueValue()Returns the true value.voidvisit(@NotNull ArchetypeAttributeVisitor visitor)Calls thevisit()function appropriate for this instance.-
Methods inherited from class net.sf.gridarta.model.archetypetype.ArchetypeAttribute
getArchetypeAttributeName, getAttributeName, getDescription, getInputLength, toString
-
-
-
-
Constructor Detail
-
ArchetypeAttributeBoolSpec
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)Creates a new instance.- Parameters:
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
-
-
Method Detail
-
getTrueValue
@NotNull public @NotNull java.lang.String getTrueValue()
Returns the true value.- Returns:
- the true value
-
getFalseValue
@NotNull public @NotNull java.lang.String getFalseValue()
Returns the false value.- Returns:
- the false value
-
visit
public void visit(@NotNull @NotNull ArchetypeAttributeVisitor visitor)Description copied from class:ArchetypeAttributeCalls thevisit()function appropriate for this instance.- Specified by:
visitin classArchetypeAttribute- Parameters:
visitor- the visitor to call
-
-