Package ch.cern.eam.wshub.core.tools
Class EAMFieldTools
java.lang.Object
ch.cern.eam.wshub.core.tools.EAMFieldTools
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<I,W> W transformEAMObject(W wshubObject, I eamObject, EAMContext eamContext) Transform EAM Entity (eamObject) to WSHub Entity (wshubObject)<I,W> I transformWSHubObject(I eamObject, W wshubObject, EAMContext context) Transform WSHub Entity (wshubObject) to EAM Entity (eamObject).
-
Constructor Details
-
EAMFieldTools
-
-
Method Details
-
transformWSHubObject
public <I,W> I transformWSHubObject(I eamObject, W wshubObject, EAMContext context) throws EAMException Transform WSHub Entity (wshubObject) to EAM Entity (eamObject). All fields marked as read-only in the WSHub Entity are omitted.- Type Parameters:
I-W-- Parameters:
eamObject-wshubObject-context-- Returns:
- Throws:
EAMException
-
transformEAMObject
Transform EAM Entity (eamObject) to WSHub Entity (wshubObject)- Type Parameters:
I-W-- Parameters:
wshubObject-eamObject-- Returns:
-