public abstract class MoMaXAbstractRule extends AbstractRule
| Argument Keyword | Datatype | Default | Description |
|---|---|---|---|
| instanceId | String | none | The Id of the instance element in the ASAM ODS service. |
| sourcesession | String | source | The reference for the AoSession of the Source. |
| targetsession | String | target | The reference for the AoSession of the Target. |
<rule id="getElement" pointto="copyElement">
<procedure name="com.highqsoft.ascoba.AscobaInputRule">
<arguments>
<property name="ElementName" value="${SelectElement}"/>
<property name="InstanceId" value="${InstanceMeaId}"/>
<property name="sourcesession" value="source"/>
</arguments>
</procedure>
</rule>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.logging.Logger |
messenger
The messenger logger of the context
|
protected AoSession |
sourceSess
The source session
|
protected AoSession |
targetSess
The target session
|
loggerName, postMethods, preMethods, sessionRefarguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
MoMaXAbstractRule() |
| Modifier and Type | Method and Description |
|---|---|
abstract NameValueUnit[][] |
getValue()
Get the named value from rule.
|
void |
init()
Sets the source and target session and the messenger.
|
abstract void |
setValue(NameValueUnit[][] nvu)
Set the named values to rule.
|
execute, execute, executePostMethods, executePreMethods, getAoSessionFromContextWithSessionRef, getId, getOdsCache, getPointTo, getSessionRef, getType, isPedantic, setGathermode, setId, setPointTo, setPostMethods, setPreMethods, setSessionRef, setType, terminate, toString, toString, toStringaddAttributesToNameValueUnitArray, 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, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetContext, getDescriptor, setArguments, setContext, setDescriptorprotected java.util.logging.Logger messenger
protected AoSession sourceSess
protected AoSession targetSess
public void init()
throws InitializationFailedException
init in interface ImplementationIFinit in class AbstractImplementationInitializationFailedException - @see ImplementationIF.init()public abstract NameValueUnit[][] getValue() throws RuleException
RuleExceptionRuleIF.setValue(NameValueUnit[][] nvu)public abstract void setValue(NameValueUnit[][] nvu) throws RuleException
nvu - The name value of the rule.RuleException