|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.spi.model.Choice<T>
public class Choice<T>
Indicates an explicit ordered set of single values allowed for the property.
| Constructor Summary | |
|---|---|
Choice()
|
|
Choice(T[] values,
String displayName)
|
|
| Method Summary | |
|---|---|
List<Choice<T>> |
getChoices()
Sub-choices of current choice. |
String |
getDisplayName()
Display name of choice. |
T[] |
getValues()
Values of choice. |
void |
setDisplayName(String displayName)
Set choice display name. |
void |
setValues(T[] values)
Set choice values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Choice()
public Choice(T[] values,
String displayName)
| Method Detail |
|---|
public List<Choice<T>> getChoices()
null or empty list if no
sub-choices providedpublic String getDisplayName()
public T[] getValues()
public void setDisplayName(String displayName)
displayName - display namepublic void setValues(T[] values)
values - choice values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||