-
- All Known Implementing Classes:
ContentListField
,DummyListField
,IsSetField
,NoExtendedContentField
,SingleField
,SinglePrimitiveAccessField
,UnboxedField
,UntypedListField
public interface FieldOutline
Representation of a field ofClassOutline
.- Author:
- Kohsuke Kawaguchi ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldAccessor
create(JExpression targetObject)
Creates a newFieldAccessor
of this field for the specified object.CPropertyInfo
getPropertyInfo()
Gets the corresponding model object.JType
getRawType()
Gets the type of the "raw value".ClassOutline
parent()
Gets the enclosingClassOutline
.
-
-
-
Method Detail
-
parent
ClassOutline parent()
Gets the enclosingClassOutline
.
-
getPropertyInfo
CPropertyInfo getPropertyInfo()
Gets the corresponding model object.
-
getRawType
JType getRawType()
Gets the type of the "raw value".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.
-
create
FieldAccessor create(JExpression targetObject)
Creates a newFieldAccessor
of this field for the specified object.- Parameters:
targetObject
- Evaluates to an object, and the field on this object will be accessed.
-
-