org.jvnet.jaxb2_commons.xjc.outline.concrete
Class CMPropertyAccessor
java.lang.Object
org.jvnet.jaxb2_commons.xjc.outline.concrete.CMPropertyAccessor
- All Implemented Interfaces:
- MPropertyAccessor
public class CMPropertyAccessor
- extends Object
- implements MPropertyAccessor
Method Summary |
void |
get(com.sun.codemodel.JBlock block,
com.sun.codemodel.JVar variable)
|
com.sun.codemodel.JType |
getType()
|
boolean |
isConstant()
|
com.sun.codemodel.JExpression |
isSet()
|
boolean |
isVirtual()
|
void |
set(com.sun.codemodel.JBlock block,
String uniqueName,
com.sun.codemodel.JExpression value)
|
void |
unset(com.sun.codemodel.JBlock body)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CMPropertyAccessor
public CMPropertyAccessor(FieldAccessorEx fieldAccessor)
get
public void get(com.sun.codemodel.JBlock block,
com.sun.codemodel.JVar variable)
- Specified by:
get
in interface MPropertyAccessor
set
public void set(com.sun.codemodel.JBlock block,
String uniqueName,
com.sun.codemodel.JExpression value)
- Specified by:
set
in interface MPropertyAccessor
unset
public void unset(com.sun.codemodel.JBlock body)
- Specified by:
unset
in interface MPropertyAccessor
isSet
public com.sun.codemodel.JExpression isSet()
- Specified by:
isSet
in interface MPropertyAccessor
getType
public com.sun.codemodel.JType getType()
- Specified by:
getType
in interface MPropertyAccessor
isConstant
public boolean isConstant()
- Specified by:
isConstant
in interface MPropertyAccessor
isVirtual
public boolean isVirtual()
- Specified by:
isVirtual
in interface MPropertyAccessor
Copyright © 2005-2012. All Rights Reserved.