public class ArchetypeAttributeText extends ArchetypeAttribute
ArchetypeAttribute
for selecting text fields.TEXTFIELD_COLUMNS
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
@Nullable java.lang.String |
getFileExtension()
Returns the file extension.
|
void |
visit(@NotNull ArchetypeAttributeVisitor visitor)
Calls the
visit() function appropriate for this instance. |
getArchetypeAttributeName, getAttributeName, getDescription, getInputLength, toString
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)
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 extensionpublic void visit(@NotNull @NotNull ArchetypeAttributeVisitor visitor)
ArchetypeAttribute
visit()
function appropriate for this instance.visit
in class ArchetypeAttribute
visitor
- the visitor to call@Nullable public @Nullable java.lang.String getFileExtension()