|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xins.common.types.Type org.xins.common.types.List org.xins.common.types.standard.Set
Standard type _set.
Nested Class Summary | |
static class |
Set.Value
Inner class that represents a set of String. |
Field Summary | |
static Set |
SINGLETON
The only instance of this class. |
Method Summary | |
ItemList |
createList()
Creates a new ItemList . |
static Set.Value |
fromStringForOptional(String string)
Constructs a Set.Value from the specified string. |
static Set.Value |
fromStringForRequired(String string)
Constructs a Set.Value from the specified string
which is guaranteed to be non-null . |
String |
getDescription()
Retrieves the description of this type. |
static String |
toString(Set.Value value)
Converts the specified Set.Value to a string. |
Methods inherited from class org.xins.common.types.List |
fromStringImpl, isValidValueImpl, toString, toString |
Methods inherited from class org.xins.common.types.Type |
checkValue, fromString, getName, getValueClass, isValidValue, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final Set SINGLETON
null
.
Method Detail |
public ItemList createList()
List
ItemList
.
createList
in class List
null
.public static Set.Value fromStringForRequired(String string) throws IllegalArgumentException, TypeValueException
Set.Value
from the specified string
which is guaranteed to be non-null
.
string
- the string to convert, cannot be null
.
Set.Value
object, never null
.
IllegalArgumentException
- if string == null
.
TypeValueException
- if the specified string does not represent a valid value for this
type.public static Set.Value fromStringForOptional(String string) throws TypeValueException
Set.Value
from the specified string.
string
- the string to convert, can be null
.
Set.Value
, or null
if
string == null
.
TypeValueException
- if the specified string does not represent a valid value for this
type.public static String toString(Set.Value value)
Set.Value
to a string.
value
- the value to convert, can be null
.
null
if and
only if value == null
.public String getDescription()
Type
getDescription
in class Type
null
.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |