public class RelatedInstancesRule extends AscobaAbstractRule
Modifier and Type | Field and Description |
---|---|
protected T_LONGLONG[] |
ieIds
List with instance element Ids.
|
protected java.lang.String |
relatedElementName
The name of the related element.
|
protected java.lang.String |
relationName
The name of the relation.
|
protected boolean |
useQuery |
elementName, handledMap, messenger, sourceSess, useDestroy
loggerName, postMethods, preMethods, sessionRef
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
RelatedInstancesRule() |
Modifier and Type | Method and Description |
---|---|
NameValueUnit[][] |
getValue()
Get the Ids of the related instances.
|
void |
init()
The initialization of the rule.
|
void |
setValue(NameValueUnit[][] nvu)
Set the values of the Ids of the instances.
|
void |
terminate()
The terminat method, reset the local variables.
|
addCopied, addHandledId, checkHandledId, destroy, destroy, execute, getCopiedTarget, getIds, getIds, getIdValue, getTargetApplicationRelation, init, setValue, stactTraceToString, terminate
execute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, toString, toString, toString
addAttributesToNameValueUnitArray, addAttributeToNameValueUnitArray, addStringValueToNameValueUnitArray, checkDirectoy, checkDirectoy, checkDirectoy, checkFile, checkFile, checkFile, checkIntValue, checkStringValue, compressNvuArray, createMessageFromPropertyFile, createMessageFromPropertyFile, createMessageFromPropertyFile, createTsUnionFromObject, deleteRowWithAttributes, getArguments, getContext, getDescriptor, getListFromProperty, getMandatoryProperty, getMandatoryProperty, getMandatoryPropertyAsInt, getMandatoryPropertyAsList, getMandatoryPropertyWithRuleException, getNvuArrayFromMap, getNvuArrayFromMap, getNvuObjectWithName, getNvuObjectWithName, getNvuObjectWithName, getOdsCacheFromProperty, getOptioanlPropertyAsInt, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalProperty, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsBoolean, getOptionalPropertyAsList, makeUpperCaseKeyword, removeAttributeFromNameValueUnitArray, removeAttributeFromNameValueUnitArray, setArguments, setContext, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
protected java.lang.String relatedElementName
protected java.lang.String relationName
protected T_LONGLONG[] ieIds
protected boolean useQuery
public void setValue(NameValueUnit[][] nvu) throws RuleException
setValue
in interface RuleIF
setValue
in class AscobaAbstractRule
nvu
- - the attribute values of the instances of the element of the rule.RuleException
RuleIF.setValue(org.asam.ods.NameValueUnit[][])
public NameValueUnit[][] getValue() throws RuleException
getValue
in interface RuleIF
getValue
in class AscobaAbstractRule
RuleException
RuleIF.getValue()
public void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- if the initialization fails.AbstractImplementation.init()
public void terminate() throws TerminationException
terminate
in interface ExecutableIF
terminate
in class AbstractRule
TerminationException
- if termination fails.AbstractRule.terminate()