public class MDefinedAccessor extends AbstractPropertyCheckAccessor
MAccessorWrapperCondition
.IReadAccessor.Standalone
Modifier and Type | Field and Description |
---|---|
static String |
DEFINED_ID |
Constructor and Description |
---|
MDefinedAccessor() |
MDefinedAccessor(String property) |
Modifier and Type | Method and Description |
---|---|
MDefinedAccessor |
clone()
Clones the Addon.
|
String |
getImplementationId()
Unique addon implementation ID.
|
protected void |
internalCompileValue(ICompilationContext ctxt,
IProperty2 compiledProperty)
Final compilation steps should be implemented here.
|
protected Boolean |
internalGet(IExecutionContext ctxt,
IProperty2 compiledProperty)
The final implementation should check the property here.
|
boolean |
isCacheUsed()
Returns false by default.
|
compileCollection, compileValue, equals, getEstimatedReadCost, getGenericCollectionType, getProperty, getType, hashCode, internalGet, isShouldIterate, setProperty, toString
castToExpected, compileRead, compileRead, compileRead, compileRead, get, getGenericTypes, isConstantValue, isShouldBeWrappedToConstantValue, 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 DEFINED_ID
public MDefinedAccessor()
public MDefinedAccessor(String property)
protected void internalCompileValue(ICompilationContext ctxt, IProperty2 compiledProperty) throws MRuleValidationException, UtilsException
AbstractPropertyCheckAccessor
internalCompileValue
in class AbstractPropertyCheckAccessor
MRuleValidationException
UtilsException
protected Boolean internalGet(IExecutionContext ctxt, IProperty2 compiledProperty) throws MAccessorException, UtilsException
AbstractPropertyCheckAccessor
internalGet
in class AbstractPropertyCheckAccessor
MAccessorException
UtilsException
public String getImplementationId()
IAddon
public MDefinedAccessor clone()
IAddon
clone
in interface IAccessor
clone
in interface IReadAccessor
clone
in interface IAddon
clone
in interface IMRulesObject
clone
in class AbstractPropertyCheckAccessor
public boolean isCacheUsed()
AbstractAddon
isCacheUsed
in interface IAddon
isCacheUsed
in class AbstractAddon