public class AllEnumSet extends Object
| Constructor and Description |
|---|
AllEnumSet(org.jibx.runtime.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 AllEnumSet(org.jibx.runtime.EnumSet eset,
String name)
eset - enumeration value setname - attribute namepublic boolean isPresent()
public void setPresent(boolean present)
present - Presentpublic boolean isAll()
public void setAll(boolean all)
all - valuepublic void add(int value)
value - to setShortBitSet.add(int)public boolean isSet(int value)
value - in settrue if value in setShortBitSet.isSet(int)public void remove(int value)
value - from setShortBitSet.remove(int)public String toString()
public void fromString(String text, ValidationContext vctx, Object obj)
text - string value, or null if not presentvctx - Validation Contextobj - object being validatedCopyright © 2005–2016 jibx.org. All rights reserved.