Class CMPropertyAccessor
- java.lang.Object
-
- org.jvnet.jaxb.xjc.outline.concrete.CMPropertyAccessor
-
- All Implemented Interfaces:
MPropertyAccessor
public class CMPropertyAccessor extends Object implements MPropertyAccessor
-
-
Constructor Summary
Constructors Constructor Description CMPropertyAccessor(FieldAccessorEx fieldAccessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidget(com.sun.codemodel.JBlock block, com.sun.codemodel.JVar variable)com.sun.codemodel.JTypegetType()booleanisConstant()com.sun.codemodel.JExpressionisSet()booleanisVirtual()voidset(com.sun.codemodel.JBlock block, String uniqueName, com.sun.codemodel.JExpression value)voidunset(com.sun.codemodel.JBlock body)
-
-
-
Constructor Detail
-
CMPropertyAccessor
public CMPropertyAccessor(FieldAccessorEx fieldAccessor)
-
-
Method Detail
-
get
public void get(com.sun.codemodel.JBlock block, com.sun.codemodel.JVar variable)- Specified by:
getin interfaceMPropertyAccessor
-
set
public void set(com.sun.codemodel.JBlock block, String uniqueName, com.sun.codemodel.JExpression value)- Specified by:
setin interfaceMPropertyAccessor
-
unset
public void unset(com.sun.codemodel.JBlock body)
- Specified by:
unsetin interfaceMPropertyAccessor
-
isSet
public com.sun.codemodel.JExpression isSet()
- Specified by:
isSetin interfaceMPropertyAccessor
-
getType
public com.sun.codemodel.JType getType()
- Specified by:
getTypein interfaceMPropertyAccessor
-
isConstant
public boolean isConstant()
- Specified by:
isConstantin interfaceMPropertyAccessor
-
isVirtual
public boolean isVirtual()
- Specified by:
isVirtualin interfaceMPropertyAccessor
-
-