org.eclipse.higgins.rpps.core.tobj
Class BaseTransferObject
java.lang.Object
org.eclipse.higgins.rpps.core.tobj.BaseTransferObject
- All Implemented Interfaces:
- Serializable
public class BaseTransferObject
- extends Object
- implements Serializable
A transfer object is a serializable class that groups related attributes, forming a composite value.
Please refer to section 5.3.5 of the spec. If your classes are conformant to the javabean design pattern and also
follow the rules as given in this particular section, then JAXRPC runtime will take care of serializing/deserializing
your own class. FYI, following are the requirements by JAXRPC:
JavaBeans class must be serializable to and from the corresponding XML representation at runtime. This means that a
JavaBeans class must contain properties that are of the JAX-RPC supported Java types. If one or more properties do
not have the JAX-RPC supported types, then the JavaBeans class is not mapped. JavaBeans class must have a default
constructor. The Java type of a property must be a JAX-RPC 1.0 supported Java type and be mappable to the
corresponding XML type.
The standard rules of mapping from a javabean are as well given in the spec in the same section. It should be
relatively straight forward to conform your class to javabean design pattern.
Created on 18 Jan 2007, 15:21
- Author:
- Sergei Yakovlev
- See Also:
- Serialized Form
BaseTransferObject
public BaseTransferObject()
- Creates a new instance of UserInterfaceResponse