|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.data.AbstractExtension
com.google.gdata.data.ValueConstruct
com.google.gdata.data.EnumConstruct
public abstract class EnumConstruct
The EnumConstruct class defines a special type of ValueConstruct
where the attribute values are constrained to a discrete set of valid
values.
Method Summary | |
---|---|
void |
setValue(java.lang.String v)
Sets the value. |
Methods inherited from class com.google.gdata.data.ValueConstruct |
---|
equals, generate, getHandler, getValue, hashCode, hasValue, isRequired, putAttributes |
Methods inherited from class com.google.gdata.data.AbstractExtension |
---|
disableStrictValidation, enableStrictValidation, getExtensionLocalName, getExtensionNamespace, isImmutable, isStrictValidation, setImmutable |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setValue(java.lang.String v) throws java.lang.IllegalArgumentException
ValueConstruct
setValue
in class ValueConstruct
v
- new value for the value construct or null
to reset.
java.lang.IllegalArgumentException
- if the value is invalid for the construct.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |