Class ArchetypeAttributeText
- java.lang.Object
-
- net.sf.gridarta.model.archetypetype.ArchetypeAttribute
-
- net.sf.gridarta.model.archetypetype.ArchetypeAttributeText
-
public class ArchetypeAttributeText extends ArchetypeAttribute
AnArchetypeAttributefor selecting text fields.
-
-
Field Summary
-
Fields inherited from class net.sf.gridarta.model.archetypetype.ArchetypeAttribute
TEXTFIELD_COLUMNS
-
-
Constructor Summary
Constructors Constructor Description ArchetypeAttributeText(@NotNull java.lang.String archetypeAttributeName, @NotNull java.lang.String endingOld, @NotNull java.lang.String attributeName, @NotNull java.lang.String description, int inputLength, @Nullable java.lang.String fileExtension)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable java.lang.StringgetFileExtension()Returns the file extension.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
-
ArchetypeAttributeText
public ArchetypeAttributeText(@NotNull @NotNull java.lang.String archetypeAttributeName, @NotNull @NotNull java.lang.String endingOld, @NotNull @NotNull java.lang.String attributeName, @NotNull @NotNull java.lang.String description, int inputLength, @Nullable @Nullable java.lang.String fileExtension)Creates a new instance.- Parameters:
archetypeAttributeName- the archetype attribute nameendingOld- the terminating stringattributeName- the user interface attribute namedescription- the attribute's descriptioninputLength- the input length in characters for text input fieldsfileExtension- the file extension
-
-
Method Detail
-
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
-
getFileExtension
@Nullable public @Nullable java.lang.String getFileExtension()
Returns the file extension.- Returns:
- the file extension
-
-