|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.tools.xjc.generator.bean.field.SingleField.Accessor
protected class SingleField.Accessor
Constructor Summary | |
---|---|
protected |
SingleField.Accessor(com.sun.codemodel.JExpression $target)
|
Method Summary | |
---|---|
com.sun.codemodel.JExpression |
hasSetValue()
Return an expression that evaluates to true only when this field has a set value(s). |
void |
unsetValues(com.sun.codemodel.JBlock body)
Generates a code fragment to remove any "set" value and move this field to the "unset" state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SingleField.Accessor(com.sun.codemodel.JExpression $target)
Method Detail |
---|
public void unsetValues(com.sun.codemodel.JBlock body)
FieldAccessor
body
- The code will be appended at the end of this block.public com.sun.codemodel.JExpression hasSetValue()
FieldAccessor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |