IBM Tivoli Directory Integrator
The Entry object is used by AssemblyLines.
The Entry object is a Java™ object
that holds attributes and properties. Attributes in turn contain any
number of values. Properties contain a single value. For more information, see the Javadocs material included in the installation package (com.ibm.di.entry.Entry).
- conn
- The local storage object in Connectors in an AssemblyLine. It
only exists during the Attribute Mapping phase of the Connector's
life. See "Attribute Mapping" in IBM TDI V7.1 Users Guide.
- work
- The data container object of the AssemblyLine. It is therefore
accessible in every Connector from the AssemblyLine.
- current
- Available only in Connectors in Update and Delta mode. Stores
the Entry that the Connector read from the data source to determine
whether this is an Add or Modify operation.
- error
- An Entry object that holds error status information
in the following attributes:
- status (java.lang.String)
- ok if there is no exception thrown (in
this case, this is the error's only attribute). fail if
an exception is thrown, when the following attributes are also available:
- exception (java.lang.Exception)
- The java.lang.Exception (or some its successor
class) object that is thrown
- class (java.lang.String)
- The name of the exception class (java.lang.Exception or
some of its successors)
- message (java.lang.String)
- The error message of the exception
- operation (java.lang.String)
- The operation type of the Connector (for example, AddOnly, Update, Lookup, Iterator and so forth)
- connectorname (java.lang.String)
- The name of the Connector whose Hook is being called
- thisScriptObject
- An Entry object with the following Attributes:
- AssemblyLine
- Name of the executing AssemblyLine, or null if not available.
- Component
- Name of the executing Component, or null if not applicable.
- HookName
- Translated name of the Hook that is being executed, or null
if not executing a Hook.
- InternalHookName
- Internal name of the Hook that is being executed, or null if
not executing a Hook.
- Attribute
- The name of the Attribute being mapped, or null if not mapping
an Attribute.
- Map
- The String "Input" or "Output", if mapping an Attribute, null
otherwise.
- Function
- The name of the function being called in a ScriptConnector, scriptParser or Scripted FC, otherwise null.
The simplest way to use this in a script would be for example,
task.logmsg("We are now executing " + thisScriptObject)
This
will just print all available Attributes in the Entry.
The attribute object.