net.sf.gridarta.model.archetypetype
public class TestArchetypeAttribute extends ArchetypeAttribute
ArchetypeAttribute
suitable for unit tests.Modifier and Type | Field and Description |
---|---|
private String |
type
The attribute's type.
|
TEXTFIELD_COLUMNS
Constructor and Description |
---|
TestArchetypeAttribute(String type,
String archetypeAttributeName,
String attributeName,
String description,
int inputLength)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
void |
visit(ArchetypeAttributeVisitor visitor)
Calls the
visit() function appropriate for this instance. |
getArchetypeAttributeName, getAttributeName, getDescription, getInputLength
public TestArchetypeAttribute(@NotNull String type, @NotNull String archetypeAttributeName, @NotNull String attributeName, @NotNull String description, int inputLength)
type
- the attribute's typearchetypeAttributeName
- the archetype attribute nameattributeName
- the user interface attribute namedescription
- the attribute's descriptioninputLength
- the input length in characters for text input fields@NotNull public String toString()
toString
in class ArchetypeAttribute
public void visit(@NotNull ArchetypeAttributeVisitor visitor)
visit()
function appropriate for this instance.visit
in class ArchetypeAttribute
visitor
- the visitor to callFeedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.