Package com.ptc.jws.servlet.data
Interface IeElementBasedBean
public interface IeElementBasedBean
An interface beans can implement to streamline Element to bean and bean to
Element translation. Server side beans or JAXB objects may choose to implement
this interface to translate Info*Engine data to/from XML.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionvoidpopulateBeanFromElement(com.infoengine.object.factory.Element e) The bean should populate its members from the supplied Element.com.infoengine.object.factory.ElementThe bean should take its contents and construct a corresponding Element.
-
Method Details
-
populateBeanFromElement
void populateBeanFromElement(com.infoengine.object.factory.Element e) throws com.infoengine.util.IEException The bean should populate its members from the supplied Element.
Supported API: true- Parameters:
e- The Info*Engine Element.- Throws:
com.infoengine.util.IEException
-
populateElementFromBean
com.infoengine.object.factory.Element populateElementFromBean() throws com.infoengine.util.IEExceptionThe bean should take its contents and construct a corresponding Element.
Supported API: true- Returns:
- The Element representing this bean.
- Throws:
com.infoengine.util.IEException
-