com.sun.tools.xjc.outline
Interface FieldOutline

All Known Implementing Classes:
AbstractField, AbstractFieldWithVar, AbstractListField, ArrayField, ConstField, ElementAdapter, ElementCollectionAdapter, ElementSingleAdapter, IsSetField, SingleField, SinglePrimitiveAccessField, UnboxedField, UntypedListField

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.
 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

parent

ClassOutline parent()
Gets the enclosing ClassOutline.


getPropertyInfo

CPropertyInfo getPropertyInfo()
Gets the corresponding model object.


getRawType

com.sun.codemodel.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(com.sun.codemodel.JExpression targetObject)
Creates a new FieldAccessor of this field for the specified object.

Parameters:
targetObject - Evaluates to an object, and the field on this object will be accessed.