Package org.openl.rules.calc.element
Class SpreadsheetCellField
- java.lang.Object
-
- org.openl.types.impl.AOpenField
-
- org.openl.types.impl.DynamicObjectField
-
- org.openl.rules.calc.ASpreadsheetField
-
- org.openl.rules.calc.element.SpreadsheetCellField
-
- All Implemented Interfaces:
INamedThing,NodeDescriptionHolder,IOpenField,IOpenMember
- Direct Known Subclasses:
SpreadsheetCellField.ConstSpreadsheetCellField
public class SpreadsheetCellField extends ASpreadsheetField implements NodeDescriptionHolder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSpreadsheetCellField.ConstSpreadsheetCellField
-
Field Summary
Fields Modifier and Type Field Description protected SpreadsheetCellcell-
Fields inherited from interface org.openl.base.INamedThing
EMPTY, LONG, REGULAR, SHORT
-
-
Constructor Summary
Constructors Constructor Description SpreadsheetCellField(SpreadsheetStructureBuilderHolder structureBuilderContainer, IOpenClass declaringClass, String name, SpreadsheetCell cell, SpreadsheetCellRefType refType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget(Object target, IRuntimeEnv env)SpreadsheetCellgetCell()StringgetDescription()IOpenClassgetType()booleanisLastColumnRef()booleanisLastRowRef()booleanisWritable()voidset(Object target, Object value, IRuntimeEnv env)-
Methods inherited from class org.openl.types.impl.DynamicObjectField
getDeclaringClass, setDeclaringClass
-
Methods inherited from class org.openl.types.impl.AOpenField
getDisplayName, getInfo, getName, isConst, isReadable, isStatic, setType, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.openl.types.IOpenField
getContextProperty, isContextProperty, isTransient
-
-
-
-
Field Detail
-
cell
protected final SpreadsheetCell cell
-
-
Constructor Detail
-
SpreadsheetCellField
public SpreadsheetCellField(SpreadsheetStructureBuilderHolder structureBuilderContainer, IOpenClass declaringClass, String name, SpreadsheetCell cell, SpreadsheetCellRefType refType)
-
-
Method Detail
-
isLastRowRef
public boolean isLastRowRef()
-
isLastColumnRef
public boolean isLastColumnRef()
-
get
public Object get(Object target, IRuntimeEnv env)
- Specified by:
getin interfaceIOpenField- Overrides:
getin classDynamicObjectField
-
getCell
public SpreadsheetCell getCell()
-
getType
public IOpenClass getType()
- Specified by:
getTypein interfaceIOpenMember- Overrides:
getTypein classAOpenField
-
isWritable
public boolean isWritable()
- Specified by:
isWritablein interfaceIOpenField- Overrides:
isWritablein classDynamicObjectField
-
set
public void set(Object target, Object value, IRuntimeEnv env)
- Specified by:
setin interfaceIOpenField- Overrides:
setin classDynamicObjectField
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceNodeDescriptionHolder
-
-