com.ca.jcs.converter.meta
Class ContextAwareClassConverter
java.lang.Object
com.ca.jcs.converter.meta.ContextAwareClassConverter
public abstract class ContextAwareClassConverter
- extends Object
Destructively convert all the attributes provided for an operation based
on the metadata associated with a DataModelClass and its
contained properties.
todo When have a real-world usecase will need to deal with the fact that both the MODIFY and "toConnector=false"
cases will most probably require access to all of target object's attribute values via a ValidationLazyAttributesProxy
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ContextAwareClassConverter
public ContextAwareClassConverter(ConverterConfig cfg,
MetaObjectClassMapping classMap)
convertToConnector
public abstract void convertToConnector(AddOpContext ctx)
- Create/add case.
convertToConnector
public abstract void convertToConnector(ConverterModifyOpContext ctx)
- Update/modify case.
convertFromConnector
public abstract void convertFromConnector(Attributes attrs)
Created 2011-07-14 13:27 EST