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

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

public abstract class ConstantPropertyOutline
extends AbstractPropertyOutline


Nested Class Summary
 class ConstantPropertyOutline.PropertyAccessor
           
 
Field Summary
protected  com.sun.codemodel.JFieldVar field
           
protected  com.sun.codemodel.JExpression value
           
 
Fields inherited from class org.jvnet.jaxb2_commons.xjc.outline.artificial.AbstractPropertyOutline
classOutline, codeModel, implementationClass, implementationReferenceClass, modelOutline, outline, propertyInfo, referenceClass, type
 
Constructor Summary
ConstantPropertyOutline(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, com.sun.codemodel.JExpression value)
           
 
Method Summary
 MPropertyAccessor createPropertyAccessor(com.sun.codemodel.JExpression target)
           
protected  com.sun.codemodel.JExpression createValue()
           
protected  com.sun.codemodel.JFieldVar generateField()
           
 
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
 

Field Detail

value

protected final com.sun.codemodel.JExpression value

field

protected final com.sun.codemodel.JFieldVar field
Constructor Detail

ConstantPropertyOutline

public ConstantPropertyOutline(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,
                               com.sun.codemodel.JExpression value)
Method Detail

createValue

protected com.sun.codemodel.JExpression createValue()

generateField

protected com.sun.codemodel.JFieldVar generateField()

createPropertyAccessor

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


Copyright © 2005-2012. All Rights Reserved.