Package org.openl.rules.lang.xls.types
Class DatatypeOpenField
- java.lang.Object
-
- org.openl.types.impl.AOpenField
-
- org.openl.rules.lang.xls.types.DatatypeOpenField
-
- All Implemented Interfaces:
INamedThing,IOpenField,IOpenMember
public class DatatypeOpenField extends AOpenField
Open field for datatypes. Work with generated simple beans.- Author:
- Yury Molchan
-
-
Field Summary
-
Fields inherited from interface org.openl.base.INamedThing
EMPTY, LONG, REGULAR, SHORT
-
-
Constructor Summary
Constructors Constructor Description DatatypeOpenField(IOpenClass declaringClass, String name, IOpenClass type, String contextProperty, boolean isTransient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget(Object target, IRuntimeEnv env)StringgetContextProperty()IOpenClassgetDeclaringClass()MethodgetGetter()MethodgetSetter()booleanisContextProperty()booleanisTransient()booleanisWritable()voidset(Object target, Object value, IRuntimeEnv env)-
Methods inherited from class org.openl.types.impl.AOpenField
getDisplayName, getInfo, getName, getType, isConst, isReadable, isStatic, setType, toString
-
-
-
-
Constructor Detail
-
DatatypeOpenField
public DatatypeOpenField(IOpenClass declaringClass, String name, IOpenClass type, String contextProperty, boolean isTransient)
-
-
Method Detail
-
getDeclaringClass
public IOpenClass getDeclaringClass()
- Specified by:
getDeclaringClassin interfaceIOpenMember- Overrides:
getDeclaringClassin classAOpenField
-
isContextProperty
public boolean isContextProperty()
-
getContextProperty
public String getContextProperty()
-
getGetter
public Method getGetter()
-
getSetter
public Method getSetter()
-
get
public Object get(Object target, IRuntimeEnv env)
-
isTransient
public boolean isTransient()
-
isWritable
public boolean isWritable()
- Specified by:
isWritablein interfaceIOpenField- Overrides:
isWritablein classAOpenField
-
set
public void set(Object target, Object value, IRuntimeEnv env)
-
-