public class ArchetypeAttributeList2 extends AbstractArchetypeAttributeList
ArchetypeAttribute
for selecting a value from two lists.TEXTFIELD_COLUMNS
Constructor and Description |
---|
ArchetypeAttributeList2(java.lang.String archetypeAttributeName,
java.lang.String attributeName,
java.lang.String description,
int inputLength,
java.lang.String listName1,
java.lang.String listName2)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getListName1()
Returns the list name for bits 0-3.
|
java.lang.String |
getListName2()
Returns the list name for bits 4+.
|
void |
visit(ArchetypeAttributeVisitor visitor)
Calls the
visit() function appropriate for this instance. |
getArchetypeAttributeName, getAttributeName, getDescription, getInputLength, toString
public ArchetypeAttributeList2(@NotNull java.lang.String archetypeAttributeName, @NotNull java.lang.String attributeName, @NotNull java.lang.String description, int inputLength, @NotNull java.lang.String listName1, @NotNull java.lang.String listName2)
archetypeAttributeName
- the archetype attribute nameattributeName
- the user interface attribute namedescription
- the attribute's descriptioninputLength
- the input length in characters for text input fieldslistName1
- the list name for bits 0-3listName2
- the list name for bits 4+@NotNull public java.lang.String getListName1()
@NotNull public java.lang.String getListName2()
public void visit(@NotNull ArchetypeAttributeVisitor visitor)
visit()
function appropriate for this instance.visit
in class ArchetypeAttribute
visitor
- the visitor to call