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

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

public class SinglePropertyOutline
extends AbstractSinglePropertyOutline


Nested Class Summary
protected  class SinglePropertyOutline.PropertyAccessor
           
 
Field Summary
 
Fields inherited from class org.jvnet.jaxb2_commons.xjc.outline.artificial.AbstractSinglePropertyOutline
field, getter, setter
 
Fields inherited from class org.jvnet.jaxb2_commons.xjc.outline.artificial.AbstractPropertyOutline
classOutline, codeModel, implementationClass, implementationReferenceClass, modelOutline, outline, propertyInfo, referenceClass, type
 
Constructor Summary
SinglePropertyOutline(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
 MPropertyAccessor createPropertyAccessor(com.sun.codemodel.JExpression target)
           
protected  com.sun.codemodel.JMethod generateGetter()
           
protected  com.sun.codemodel.JMethod generateSetter()
           
 
Methods inherited from class org.jvnet.jaxb2_commons.xjc.outline.artificial.AbstractSinglePropertyOutline
generateField, getGetterMethodName, 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
 

Constructor Detail

SinglePropertyOutline

public SinglePropertyOutline(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

generateGetter

protected com.sun.codemodel.JMethod generateGetter()
Specified by:
generateGetter in class AbstractSinglePropertyOutline

generateSetter

protected com.sun.codemodel.JMethod generateSetter()
Specified by:
generateSetter in class AbstractSinglePropertyOutline

createPropertyAccessor

public MPropertyAccessor createPropertyAccessor(com.sun.codemodel.JExpression target)


Copyright © 2005-2012. All Rights Reserved.