public class DropReferences extends AbstractImplementation implements ExecutableIF
ImplementationIF
arguments, ctx, descriptor, NEW_LINE
Constructor and Description |
---|
DropReferences()
Create the using a context.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the drop type implementation.
|
void |
init()
Initialize the object.
|
protected void |
query(OdsCacheIF cache,
java.lang.String elemName,
T_LONGLONG[] inset)
Query the database.
|
void |
setTargetField(java.lang.String targetField)
Set the target id reference name.
|
void |
terminate()
Terminate the drop type implementation
|
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
public void setTargetField(java.lang.String targetField)
targetField
- the new value.public void init() throws InitializationFailedException
init
in interface ImplementationIF
init
in class AbstractImplementation
InitializationFailedException
- if initialization fails.public void execute() throws ExecutableException
execute
in interface ExecutableIF
ExecutableException
- if execution fails.protected void query(OdsCacheIF cache, java.lang.String elemName, T_LONGLONG[] inset) throws AoException
cache
- the ASAM ODS cache.elemName
- the application element name of the reference.inset
- the array containing the referenced instances.AoException
- if an ASAM ODS call fails.public void terminate() throws TerminationException
terminate
in interface ExecutableIF
TerminationException
- if termination fails.