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 BitMask[] |
extraMasks |
protected URI |
key |
protected BitMask |
modificationMask |
protected ModifyLiteral.ModifyTaskLiteral<T,?,?> |
task |
protected Object[] |
with |
| Constructor and Description |
|---|
ModifyLiteral(T target,
With[] with) |
equals, hashCodeprotected ModifyLiteral.ModifyTaskLiteral<T,?,?> task
protected BitMask modificationMask
protected URI key
protected Object[] with
protected 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 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(InternalKnowledgeBase knowledgeBase)
protected void computeModificationMasks(InternalKnowledgeBase knowledgeBase)
protected List<String> getSettableProperties(Object o, InternalKnowledgeBase knowledgeBase)
public BitMask getModificationMask()
getModificationMask in interface Modify<T>public abstract Class getModificationClass()
getModificationClass in interface Modify<T>protected <R,C> void addTask(org.drools.core.metadata.MetaProperty<?,R,C> p,
C val)
protected <R,C> void addTask(org.drools.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–2016 JBoss by Red Hat. All rights reserved.