public class UserPref extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
UserPref.DataType
Possible values for UserPref@datatype
|
static class |
UserPref.EnumValuePair
Simple data structure representing a value/displayValue pair
for UserPref enums.
|
| Modifier and Type | Method and Description |
|---|---|
UserPref.DataType |
getDataType() |
String |
getDefaultValue() |
String |
getDisplayName() |
Map<String,String> |
getEnumValues() |
String |
getName() |
List<UserPref.EnumValuePair> |
getOrderedEnumValues() |
boolean |
getRequired() |
UserPref |
substitute(Substitutions substituter)
Performs substitutions on the pref.
|
String |
toString() |
public UserPref(Element element) throws SpecParserException
element - SpecParserExceptionpublic String getName()
public String getDisplayName()
public String getDefaultValue()
public boolean getRequired()
public UserPref.DataType getDataType()
public List<UserPref.EnumValuePair> getOrderedEnumValues()
public UserPref substitute(Substitutions substituter)
substituter - Copyright © 2007-2012. All Rights Reserved.