wt.epm.attributes
Class EPMAttributeDelegateWithWarnings
java.lang.Object
wt.epm.attributes.EPMDefaultAttributeDelegate
wt.epm.attributes.EPMAttributeDelegateWithWarnings
- All Implemented Interfaces:
- EPMAttributeDelegate
- public class EPMAttributeDelegateWithWarnings
- extends EPMDefaultAttributeDelegate
Implementation of EPMAttributeDelegate that does not throw exception on data type mismatch between parameter and IBA.
The mismatch is only recorded as warning message that is displayed in event console.
This delegate only over-rides convertToIBAValue method from EPMDefaultAttributeDelegate.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPMAttributeDelegateWithWarnings
public EPMAttributeDelegateWithWarnings()
convertToIBAValue
public AbstractValueView convertToIBAValue(IBAHolder ibaHolder,
EPMNDAttribute inputParam,
AttributeDefDefaultView attrDefView)
throws WTException
- Given the EPMNDAttribute from CAD Application, return the IBA Value for same.
Return null if the attribute is to be ignored and not added to the IBAHolder.
Adds warning to Event Console if data types do not match or string value
cannot be parsed to date value if mapped to Timestamp IBA.
- Specified by:
convertToIBAValue
in interface EPMAttributeDelegate
- Overrides:
convertToIBAValue
in class EPMDefaultAttributeDelegate
- Throws:
WTException