public class Enumeration extends AbstractImplementation implements ExecutableIF
<text><!-[CDATA][
<application_enumeration>
<name>testenum</name>
<item>
<name>Banana</name>
<value>1</value>
</item>
</application_enumeration>
]</text>
| Argument Keyword | Datatype | Default | Description |
|---|---|---|---|
| Operation | String | none | The Operation to be done. Can be ADD or REMOVE. |
| Data | String | none | The Enumeration Data. Must be in ODS-XATF form and enveloped by a <!-[CDATA[]]> tag |
| TargetRef | String | target | The reference name to the session. |
arguments, ctx, descriptor, NEW_LINE| Constructor and Description |
|---|
Enumeration() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
enumExists(java.lang.String enumname)
Checks if the given enumeration exists in the Server.
|
void |
execute()
Do the work.
|
protected AoSession |
getSession()
Get the session.
|
void |
init()
Initialize the work.
|
void |
terminate()
Terminate the execution.
|
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, setDescriptorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContext, getDescriptor, setArguments, setContext, setDescriptorprotected AoSession getSession()
public void init()
throws InitializationFailedException
AbstractImplementationinit in interface ImplementationIFinit in class AbstractImplementationInitializationFailedException - if the initialization fails.public void execute()
throws ExecutableException
execute in interface ExecutableIFExecutableException - if execution fails.public void terminate()
throws TerminationException
ExecutableIFterminate in interface ExecutableIFTerminationException - if termination fails.protected boolean enumExists(java.lang.String enumname)
enumname - the Enumeration Name