com.ibm.di.server
Class AttributeMapping
java.lang.Object
com.ibm.di.server.AttributeMapping
public class AttributeMapping
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
public Object value
AttributeMapping
public AttributeMapping(String name,
TaskInterface context,
Log log,
ScriptEngine se)
setAutomap
public void setAutomap(boolean automap)
getAutomap
public boolean getAutomap()
declareStaticBean
public void declareStaticBean(String name,
Object bean)
throws Exception
- Throws:
Exception
declareBean
public void declareBean(String name,
Object bean)
throws Exception
- Throws:
Exception
releaseBeans
public void releaseBeans()
undeclareBean
public void undeclareBean(String name)
throws Exception
- Throws:
Exception
undeclareStaticBean
public void undeclareStaticBean(String name)
throws Exception
- Throws:
Exception
pushStackFrame
public void pushStackFrame(AssemblyLineComponent tc)
throws Exception
- Throws:
Exception
popStackFrame
public void popStackFrame()
unload
public void unload()
loadMap
public void loadMap(AttributeMapConfig map)
throws Exception
- Throws:
Exception
loadEventMap
public void loadEventMap(HooksConfig map)
throws Exception
- Throws:
Exception
getName
public String getName()
hasAttribute
public boolean hasAttribute(String attr)
isDebugEnabled
public boolean isDebugEnabled(String attr)
eval
public boolean eval(String attr)
throws Exception
- Throws:
Exception
mapAttribute
public Entry mapAttribute(String attr)
throws Exception
- Throws:
Exception
mapEntry
public Entry mapEntry(Entry source,
Entry newEntry)
throws Exception
- Throws:
Exception
mapEntry
public Entry mapEntry(Entry source,
Entry newEntry,
boolean mergeValues)
throws Exception
- Map one entry into another using the loaded attribute Mapping
- Parameters:
source
- The Entry containing the source attributesnewEntry
- The Entry that will contain the mapped attributesmergeValues
- If true, do not remove values from newEntry
- Throws:
MissingAttributeException
- if an attribute is not present
Exception
isEmpty
public boolean isEmpty()