public class AllEnumSet extends Object
| Constructor and Description |
|---|
AllEnumSet(EnumSet eset,
String name)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int value)
Add value to set.
|
void |
fromString(String text,
ValidationContext vctx,
Object obj)
Deserializer method for input as value list.
|
boolean |
isAll()
Check '#all' value.
|
boolean |
isPresent()
Check if present.
|
boolean |
isSet(int value)
Check if value in set.
|
void |
remove(int value)
Remove value from set.
|
void |
setAll(boolean all)
Set '#all' value.
|
void |
setPresent(boolean present)
Set present.
|
String |
toString()
Serializer method for output as value list.
|
public boolean isPresent()
public void setPresent(boolean present)
present - public boolean isAll()
public void setAll(boolean all)
all - public void add(int value)
value - ShortBitSet.add(int)public boolean isSet(int value)
value - true if value in setShortBitSet.isSet(int)public void remove(int value)
value - ShortBitSet.remove(int)public String toString()
public void fromString(String text, ValidationContext vctx, Object obj)
text - string value, or null if not presentvctx - obj - object being validatedCopyright © 2005-2013 jibx.org. All Rights Reserved.