org.drools.guvnor.server.util
Class MetaDataMapper
java.lang.Object
org.drools.guvnor.server.util.MetaDataMapper
public class MetaDataMapper
- extends Object
This utility uses reflection to map from the MetaData DTO to
the AssetItem back end class, to adhere to the DRY principle.
AssetItem is not a remotable instance, but MetaData is.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static MetaDataMapper getInstance()
copyFromMetaData
public void copyFromMetaData(MetaData data,
Object target)
copyToMetaData
public void copyToMetaData(MetaData data,
Object source)
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.