public abstract class ModifyLiteral<T> extends AbstractWMTask<T> implements Modify<T>, Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
ModifyLiteral.InverseModifyLiteral |
static class |
ModifyLiteral.ModifyTaskLiteral<T,R,C> |
MetaCallableTask.KIND| Modifier and Type | Field and Description |
|---|---|
protected org.drools.core.util.bitmask.BitMask[] |
extraMasks |
protected URI |
key |
protected org.drools.core.util.bitmask.BitMask |
modificationMask |
protected ModifyLiteral.ModifyTaskLiteral<T,?,?> |
task |
protected Object[] |
with |
| Constructor and Description |
|---|
ModifyLiteral(T target,
With[] with) |
| Modifier and Type | Method and Description |
|---|---|
protected <R,C> void |
addTask(org.drools.traits.core.metadata.MetaProperty<?,R,C> p,
C val) |
protected <R,C> void |
addTask(org.drools.traits.core.metadata.MetaProperty<?,R,C> p,
C val,
Lit mode) |
T |
call() |
T |
call(org.drools.core.impl.InternalKnowledgeBase knowledgeBase) |
T |
call(T object) |
protected void |
computeModificationMasks(org.drools.core.impl.InternalKnowledgeBase knowledgeBase) |
protected URI |
createURI() |
protected List<String> |
getAccessibleProperties(Object o,
org.drools.core.impl.InternalKnowledgeBase knowledgeBase) |
Object[] |
getAdditionalUpdates() |
org.drools.core.util.bitmask.BitMask |
getAdditionalUpdatesModificationMask(int j) |
Object |
getId() |
<S,T> Modify<S> |
getInverse(T value) |
protected abstract MetaClass<T> |
getMetaClassInfo() |
abstract Class |
getModificationClass() |
org.drools.core.util.bitmask.BitMask |
getModificationMask() |
ModifyTask |
getSetterChain() |
ModifyLiteral<T> |
getSetters() |
T |
getTarget() |
Object |
getTargetId() |
URI |
getUri() |
protected boolean |
isAffected(Object value,
Object taskValue) |
MetaCallableTask.KIND |
kind() |
protected void |
mergeWiths(With[] with) |
equals, hashCodeprotected ModifyLiteral.ModifyTaskLiteral<T,?,?> task
protected org.drools.core.util.bitmask.BitMask modificationMask
protected URI key
protected Object[] with
protected org.drools.core.util.bitmask.BitMask[] extraMasks
protected void mergeWiths(With[] with)
public ModifyLiteral<T> getSetters()
getSetters in interface WorkingMemoryTask<T>public T getTarget()
public ModifyTask getSetterChain()
getSetterChain in interface Modify<T>public Object getTargetId()
getTargetId in interface WorkingMemoryTask<T>public Object[] getAdditionalUpdates()
getAdditionalUpdates in interface Modify<T>public org.drools.core.util.bitmask.BitMask getAdditionalUpdatesModificationMask(int j)
getAdditionalUpdatesModificationMask in interface Modify<T>public MetaCallableTask.KIND kind()
kind in interface MetaCallableTask<T>public T call()
call in interface MetaCallableTask<T>public T call(org.drools.core.impl.InternalKnowledgeBase knowledgeBase)
protected void computeModificationMasks(org.drools.core.impl.InternalKnowledgeBase knowledgeBase)
protected List<String> getAccessibleProperties(Object o, org.drools.core.impl.InternalKnowledgeBase knowledgeBase)
public org.drools.core.util.bitmask.BitMask getModificationMask()
getModificationMask in interface Modify<T>public abstract Class getModificationClass()
getModificationClass in interface Modify<T>protected <R,C> void addTask(org.drools.traits.core.metadata.MetaProperty<?,R,C> p,
C val)
protected <R,C> void addTask(org.drools.traits.core.metadata.MetaProperty<?,R,C> p,
C val,
Lit mode)
public URI getUri()
getUri in interface Identifiablepublic Object getId()
getId in interface Identifiableprotected URI createURI()
public <S,T> Modify<S> getInverse(T value)
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.