com.sun.tools.xjc.generator.bean.field
Class AbstractField.Accessor

java.lang.Object
  extended by com.sun.tools.xjc.generator.bean.field.AbstractField.Accessor
All Implemented Interfaces:
FieldAccessor
Direct Known Subclasses:
AbstractFieldWithVar.Accessor, AbstractListField.Accessor
Enclosing class:
AbstractField

protected abstract class AbstractField.Accessor
extends Object
implements FieldAccessor

Useful base class for implementing FieldAccessor.


Field Summary
protected  com.sun.codemodel.JExpression $target
          Evaluates to the target object this accessor should access.
 
Constructor Summary
protected AbstractField.Accessor(com.sun.codemodel.JExpression $target)
           
 
Method Summary
 CPropertyInfo getPropertyInfo()
          Short for owner().getPropertyInfo()
 FieldOutline owner()
          Gets the FieldOutline from which this object is created.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.tools.xjc.outline.FieldAccessor
fromRawValue, hasSetValue, toRawValue, unsetValues
 

Field Detail

$target

protected final com.sun.codemodel.JExpression $target
Evaluates to the target object this accessor should access.

Constructor Detail

AbstractField.Accessor

protected AbstractField.Accessor(com.sun.codemodel.JExpression $target)
Method Detail

owner

public final FieldOutline owner()
Description copied from interface: FieldAccessor
Gets the FieldOutline from which this object is created.

Specified by:
owner in interface FieldAccessor

getPropertyInfo

public final CPropertyInfo getPropertyInfo()
Description copied from interface: FieldAccessor
Short for owner().getPropertyInfo()

Specified by:
getPropertyInfo in interface FieldAccessor