org.jvnet.hyperjaxb3.xjc.generator.bean.field
Class SingleElementField
java.lang.Object
org.jvnet.hyperjaxb3.xjc.generator.bean.field.AbstractField
org.jvnet.hyperjaxb3.xjc.generator.bean.field.SingleElementField
- All Implemented Interfaces:
- com.sun.tools.xjc.outline.FieldOutline
public class SingleElementField
- extends AbstractField
|
Field Summary |
protected com.sun.codemodel.JFieldRef |
field
|
protected com.sun.codemodel.JMethod |
getter
|
protected com.sun.codemodel.JFieldRef |
nameField
|
protected com.sun.tools.xjc.model.CPropertyInfo |
nameProperty
|
protected com.sun.codemodel.JMethod |
setter
|
protected com.sun.codemodel.JFieldRef |
valueField
|
protected com.sun.tools.xjc.model.CPropertyInfo |
valueProperty
|
|
Constructor Summary |
SingleElementField(com.sun.tools.xjc.generator.bean.ClassOutlineImpl outline,
com.sun.tools.xjc.model.CPropertyInfo property,
com.sun.tools.xjc.model.CPropertyInfo nameProperty,
com.sun.tools.xjc.model.CPropertyInfo valueProperty)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
field
protected final com.sun.codemodel.JFieldRef field
getter
protected final com.sun.codemodel.JMethod getter
setter
protected final com.sun.codemodel.JMethod setter
nameProperty
protected final com.sun.tools.xjc.model.CPropertyInfo nameProperty
nameField
protected final com.sun.codemodel.JFieldRef nameField
valueProperty
protected final com.sun.tools.xjc.model.CPropertyInfo valueProperty
valueField
protected final com.sun.codemodel.JFieldRef valueField
SingleElementField
public SingleElementField(com.sun.tools.xjc.generator.bean.ClassOutlineImpl outline,
com.sun.tools.xjc.model.CPropertyInfo property,
com.sun.tools.xjc.model.CPropertyInfo nameProperty,
com.sun.tools.xjc.model.CPropertyInfo valueProperty)
createSetter
protected com.sun.codemodel.JMethod createSetter()
createGetter
protected com.sun.codemodel.JMethod createGetter()
getSetterName
protected String getSetterName()
getGetterName
protected String getGetterName()
create
public com.sun.tools.xjc.outline.FieldAccessor create(com.sun.codemodel.JExpression targetObject)
getRawType
public com.sun.codemodel.JType getRawType()
Copyright © 2005-2014. All Rights Reserved.