20 package net.sf.gridarta.model.archetypetype;
22 import org.jetbrains.annotations.NotNull;
65 protected ArchetypeAttribute(@NotNull
final String archetypeAttributeName, @NotNull
final String attributeName, @NotNull
final String description,
final int inputLength) {
110 return "editor=" + archetypeAttributeName +
",arch=" +
attributeName;
This Class contains the data of one archetype attribute.
final String archetypeAttributeName
The archetype attribute name.
String getDescription()
Returns the attribute's description.
ArchetypeAttribute(@NotNull final String archetypeAttributeName, @NotNull final String attributeName, @NotNull final String description, final int inputLength)
Creates a new instance.
String getArchetypeAttributeName()
Returns the archetype attribute name.
final int inputLength
The input length in characters for text input fields.
abstract void visit(@NotNull ArchetypeAttributeVisitor visitor)
Calls the.
Interface for visitors of ArchetypeAttributes.
String getAttributeName()
Returns the user interface attribute name.
static final int TEXTFIELD_COLUMNS
The width (columns) for input fields like textfields or JChooseBoxes.
int getInputLength()
Returns the input length in characters for text input fields.
final String description
The attribute's description.
final String attributeName
The user interface attribute name.