Constructor and Description |
---|
ListChoice(Selector parent,
java.lang.String name,
java.lang.String value,
java.lang.String description)
Construct from fields in XML catalog.
|
Modifier and Type | Method and Description |
---|---|
void |
addNestedSelector(SelectList s) |
boolean |
equals(java.lang.Object o) |
InvDocumentation |
getDescription() |
java.lang.String |
getName() |
java.util.ArrayList |
getNestedSelectors() |
Selector |
getParentSelector() |
java.lang.String |
getTemplate() |
java.lang.String |
getValue() |
int |
hashCode()
Override Object.hashCode() to implement equals.
|
boolean |
hasNestedSelectors() |
void |
setDescription(InvDocumentation desc) |
java.lang.String |
toString() |
public ListChoice(Selector parent, java.lang.String name, java.lang.String value, java.lang.String description)
parent
- parent selectorname
- choice name - display to uservalue
- choice value - send to serverpublic java.lang.String getName()
public Selector getParentSelector()
public java.lang.String getTemplate()
public void addNestedSelector(SelectList s)
public java.util.ArrayList getNestedSelectors()
public boolean hasNestedSelectors()
public void setDescription(InvDocumentation desc)
public InvDocumentation getDescription()
public java.lang.String toString()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object