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

java.lang.Object
  extended by org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractField
      extended by org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractWrappingField
          extended by org.jvnet.hyperjaxb3.xjc.generator.bean.field.AdaptingWrappingField
              extended by org.jvnet.hyperjaxb3.xjc.generator.bean.field.SingleWrappingReferenceField
All Implemented Interfaces:
com.sun.tools.xjc.outline.FieldOutline
Direct Known Subclasses:
SingleWrappingReferenceElementInfoField

public class SingleWrappingReferenceField
extends AdaptingWrappingField


Field Summary
 
Fields inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AdaptingWrappingField
xmlAdapterClass
 
Fields inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractWrappingField
core, coreField, getter, setter
 
Fields inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractField
codeModel, exposedType, implType, outline, prop
 
Constructor Summary
SingleWrappingReferenceField(com.sun.tools.xjc.generator.bean.ClassOutlineImpl context, com.sun.tools.xjc.model.CPropertyInfo prop, com.sun.tools.xjc.model.CReferencePropertyInfo core)
           
 
Method Summary
protected  com.sun.codemodel.JClass getDeclaredType()
           
protected  com.sun.tools.xjc.model.CElementInfo getElementInfo()
           
protected  QName getName()
           
protected  com.sun.codemodel.JClass getScope()
           
protected  com.sun.tools.xjc.model.CNonElement getType()
           
protected  com.sun.codemodel.JExpression unwrap(com.sun.codemodel.JExpression source)
           
protected  com.sun.codemodel.JExpression wrap(com.sun.codemodel.JExpression target)
           
 
Methods inherited from class org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractWrappingField
create, createGetter, createSetter, generateAccessors, getCore, getFieldType, getGetterName, getRawType, getScope, getSetterName, setCore, unwrapCondifiton, wrapCondifiton
 
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
 

Constructor Detail

SingleWrappingReferenceField

public SingleWrappingReferenceField(com.sun.tools.xjc.generator.bean.ClassOutlineImpl context,
                                    com.sun.tools.xjc.model.CPropertyInfo prop,
                                    com.sun.tools.xjc.model.CReferencePropertyInfo core)
Method Detail

wrap

protected com.sun.codemodel.JExpression wrap(com.sun.codemodel.JExpression target)
Specified by:
wrap in class AbstractWrappingField

getName

protected QName getName()

getScope

protected com.sun.codemodel.JClass getScope()

getDeclaredType

protected com.sun.codemodel.JClass getDeclaredType()

getType

protected com.sun.tools.xjc.model.CNonElement getType()

getElementInfo

protected com.sun.tools.xjc.model.CElementInfo getElementInfo()

unwrap

protected com.sun.codemodel.JExpression unwrap(com.sun.codemodel.JExpression source)
Specified by:
unwrap in class AbstractWrappingField


Copyright © 2005-2014. All Rights Reserved.