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, setDescriptor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContext, getDescriptor, setArguments, setContext, setDescriptor
protected AoSession getSession()
public void init() throws InitializationFailedException
AbstractImplementation
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- if the initialization fails.public void execute() throws ExecutableException
execute
in interface ExecutableIF
ExecutableException
- if execution fails.public void terminate() throws TerminationException
ExecutableIF
terminate
in interface ExecutableIF
TerminationException
- if termination fails.protected boolean enumExists(java.lang.String enumname)
enumname
- the Enumeration Name