|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FieldOutline
Representation of a field of ClassOutline
.
Method Summary | |
---|---|
FieldAccessor |
create(com.sun.codemodel.JExpression targetObject)
Creates a new FieldAccessor of this field
for the specified object. |
com.sun.codemodel.JBlock |
getOnSetEventHandler()
Get a code block that will be executed when the state of this field changes from a null state to a non-null state. |
CPropertyInfo |
getPropertyInfo()
Gets the corresponding model object. |
com.sun.codemodel.JType |
getRawType()
Gets the type of the "raw value". |
ClassOutline |
parent()
Gets the enclosing ClassOutline . |
Method Detail |
---|
ClassOutline parent()
ClassOutline
.
CPropertyInfo getPropertyInfo()
com.sun.codemodel.JType getRawType()
This type can represent the entire value of this field. For fields that can carry multiple values, this is an array.
This type allows the client of the outline to generate code to set/get values from a property.
FieldAccessor create(com.sun.codemodel.JExpression targetObject)
FieldAccessor
of this field
for the specified object.
targetObject
- Evaluates to an object, and the field on this object
will be accessed.com.sun.codemodel.JBlock getOnSetEventHandler()
This method can be called only after the generate method is called.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |