public static class DefaultVariablesManager.RootWritebase extends DefaultVariablesManager.AbstractVariableAccessor
IReadAccessor.Standalone
Modifier and Type | Field and Description |
---|---|
static String |
IMPLEMENTATION_ID |
Constructor and Description |
---|
RootWritebase() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
getDefaultType(IContext ctxt)
Returns default type for this variable if no directive is provided.
|
String |
getImplementationId()
Unique addon implementation ID.
|
Object |
getVarValue(IExecutionContext ctxt) |
boolean |
isCacheUsed()
Returns false by default.
|
boolean |
isShouldBeWrappedToConstantValue()
Default implementation returns
AbstractReadAccessor.isConstantValue() && ! |
compileCollection, compileValue, equals, getEstimatedReadCost, getGenericCollectionType, getType, hashCode, internalGet, isShouldIterate, toString
castToExpected, clone, compileRead, compileRead, compileRead, compileRead, get, getGenericTypes, isConstantValue, isShouldNotCache
getInternalCacheIdentifier, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, toString, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
finalize, getClass, notify, notifyAll, wait, wait, wait
getInternalCacheIdentifier, isInternalCacheIdentifierNeeded, optimize, resetCachedData, setInternalCacheIdentifier, wasRegistered
getDebugInfo, getDescription, getName, setDebugInfo, setDescription, setName
public static final String IMPLEMENTATION_ID
public Class<?> getDefaultType(IContext ctxt)
DefaultVariablesManager.AbstractVariableAccessor
getDefaultType
in class DefaultVariablesManager.AbstractVariableAccessor
public String getImplementationId()
IAddon
public Object getVarValue(IExecutionContext ctxt) throws MAccessorException
getVarValue
in class DefaultVariablesManager.AbstractVariableAccessor
MAccessorException
public boolean isCacheUsed()
AbstractAddon
isCacheUsed
in interface IAddon
isCacheUsed
in class AbstractAddon
public boolean isShouldBeWrappedToConstantValue()
AbstractReadAccessor
AbstractReadAccessor.isConstantValue()
&& ! IReadAccessor.isShouldIterate()
.isShouldBeWrappedToConstantValue
in interface IReadAccessor
isShouldBeWrappedToConstantValue
in class DefaultVariablesManager.AbstractVariableAccessor