org.jvnet.jaxb2_commons.xjc.outline.artificial
Class AbstractSinglePropertyOutline

java.lang.Object
  extended by org.jvnet.jaxb2_commons.xjc.outline.artificial.AbstractPropertyOutline
      extended by org.jvnet.jaxb2_commons.xjc.outline.artificial.AbstractSinglePropertyOutline
All Implemented Interfaces:
MPropertyAccessorFactory, MPropertyOutline, MTargeted<MPropertyInfo<com.sun.tools.xjc.model.nav.NType,com.sun.tools.xjc.model.nav.NClass>>
Direct Known Subclasses:
SinglePropertyOutline

public abstract class AbstractSinglePropertyOutline
extends AbstractPropertyOutline


Nested Class Summary
protected  class AbstractSinglePropertyOutline.PropertyAccessor
           
 
Field Summary
protected  com.sun.codemodel.JFieldVar field
           
protected  com.sun.codemodel.JMethod getter
           
protected  com.sun.codemodel.JMethod setter
           
 
Fields inherited from class org.jvnet.jaxb2_commons.xjc.outline.artificial.AbstractPropertyOutline
classOutline, codeModel, implementationClass, implementationReferenceClass, modelOutline, outline, propertyInfo, referenceClass, type
 
Constructor Summary
AbstractSinglePropertyOutline(com.sun.tools.xjc.outline.Outline outline, MClassOutline classOutline, MPropertyInfo<com.sun.tools.xjc.model.nav.NType,com.sun.tools.xjc.model.nav.NClass> target)
           
 
Method Summary
protected  com.sun.codemodel.JFieldVar generateField()
           
protected abstract  com.sun.codemodel.JMethod generateGetter()
           
protected abstract  com.sun.codemodel.JMethod generateSetter()
           
protected  String getGetterMethodName()
           
protected  String getSetterMethodName()
           
 
Methods inherited from class org.jvnet.jaxb2_commons.xjc.outline.artificial.AbstractPropertyOutline
annotate, generateType, getClassOutline, getTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jvnet.jaxb2_commons.xjc.outline.MPropertyAccessorFactory
createPropertyAccessor
 

Field Detail

field

protected final com.sun.codemodel.JFieldVar field

getter

protected final com.sun.codemodel.JMethod getter

setter

protected final com.sun.codemodel.JMethod setter
Constructor Detail

AbstractSinglePropertyOutline

public AbstractSinglePropertyOutline(com.sun.tools.xjc.outline.Outline outline,
                                     MClassOutline classOutline,
                                     MPropertyInfo<com.sun.tools.xjc.model.nav.NType,com.sun.tools.xjc.model.nav.NClass> target)
Method Detail

generateField

protected com.sun.codemodel.JFieldVar generateField()

generateGetter

protected abstract com.sun.codemodel.JMethod generateGetter()

generateSetter

protected abstract com.sun.codemodel.JMethod generateSetter()

getGetterMethodName

protected String getGetterMethodName()

getSetterMethodName

protected String getSetterMethodName()


Copyright © 2005-2012. All Rights Reserved.