org.jvnet.hyperjaxb3.xjc.generator.bean.field
Class AbstractWrapCollectionField

java.lang.Object
  extended by org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractField
      extended by org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractWrapCollectionField
All Implemented Interfaces:
com.sun.tools.xjc.outline.FieldOutline
Direct Known Subclasses:
AdaptingWrappingCollectionField, WrappedCollectionField, WrappingCollectionField

public abstract class AbstractWrapCollectionField
extends AbstractField


Nested Class Summary
protected  class AbstractWrapCollectionField.Accessor
           
 
Field Summary
protected  com.sun.codemodel.JMethod getter
           
protected  com.sun.tools.xjc.model.CPropertyInfo property
           
protected  com.sun.codemodel.JType propertyExposedType
           
protected  com.sun.codemodel.JFieldRef propertyField
           
protected  com.sun.codemodel.JClass propertyListType
           
protected  com.sun.codemodel.JMethod setter
           
protected  com.sun.tools.xjc.model.CPropertyInfo wrappedProperty
           
protected  com.sun.codemodel.JType wrappedPropertyExposedType
           
protected  com.sun.codemodel.JFieldRef wrappedPropertyField
           
protected  com.sun.tools.xjc.model.CPropertyInfo wrappingProperty
           
protected  com.sun.codemodel.JType wrappingPropertyExposedType
           
protected  com.sun.codemodel.JFieldRef wrappingPropertyField
           
 
Fields inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractField
codeModel, exposedType, implType, outline, prop
 
Constructor Summary
AbstractWrapCollectionField(com.sun.tools.xjc.generator.bean.ClassOutlineImpl context, com.sun.tools.xjc.model.CPropertyInfo property, com.sun.tools.xjc.model.CPropertyInfo wrappedProperty, com.sun.tools.xjc.model.CPropertyInfo wrappingProperty)
           
 
Method Summary
 com.sun.tools.xjc.outline.FieldAccessor create(com.sun.codemodel.JExpression targetObject)
           
protected abstract  com.sun.codemodel.JFieldRef createField()
           
protected  com.sun.codemodel.JMethod createGetter()
           
protected  com.sun.codemodel.JMethod createSetter()
           
protected  void fix(com.sun.codemodel.JBlock body)
           
 com.sun.codemodel.JType getFieldType()
           
protected  String getGetterName()
           
 com.sun.codemodel.JType getRawType()
           
protected  String getSetterName()
           
 
Methods inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractField
annotate, castToImplType, generateField, getPropertyInfo, getType, getType, listPossibleTypes, parent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertyField

protected final com.sun.codemodel.JFieldRef propertyField

wrappedPropertyField

protected final com.sun.codemodel.JFieldRef wrappedPropertyField

wrappingPropertyField

protected final com.sun.codemodel.JFieldRef wrappingPropertyField

getter

protected final com.sun.codemodel.JMethod getter

setter

protected final com.sun.codemodel.JMethod setter

property

protected final com.sun.tools.xjc.model.CPropertyInfo property

propertyListType

protected final com.sun.codemodel.JClass propertyListType

propertyExposedType

protected final com.sun.codemodel.JType propertyExposedType

wrappedProperty

protected final com.sun.tools.xjc.model.CPropertyInfo wrappedProperty

wrappingProperty

protected final com.sun.tools.xjc.model.CPropertyInfo wrappingProperty

wrappedPropertyExposedType

protected final com.sun.codemodel.JType wrappedPropertyExposedType

wrappingPropertyExposedType

protected final com.sun.codemodel.JType wrappingPropertyExposedType
Constructor Detail

AbstractWrapCollectionField

public AbstractWrapCollectionField(com.sun.tools.xjc.generator.bean.ClassOutlineImpl context,
                                   com.sun.tools.xjc.model.CPropertyInfo property,
                                   com.sun.tools.xjc.model.CPropertyInfo wrappedProperty,
                                   com.sun.tools.xjc.model.CPropertyInfo wrappingProperty)
Method Detail

createField

protected abstract com.sun.codemodel.JFieldRef createField()

createSetter

protected com.sun.codemodel.JMethod createSetter()

getSetterName

protected String getSetterName()

createGetter

protected com.sun.codemodel.JMethod createGetter()

fix

protected void fix(com.sun.codemodel.JBlock body)

getGetterName

protected String getGetterName()

getFieldType

public final com.sun.codemodel.JType getFieldType()

create

public com.sun.tools.xjc.outline.FieldAccessor create(com.sun.codemodel.JExpression targetObject)

getRawType

public final com.sun.codemodel.JType getRawType()


Copyright © 2005-2014. All Rights Reserved.