Class RemoteObject
- java.lang.Object
-
- org.neotropic.kuwaiba.northbound.ws.model.business.RemoteObjectLight
-
- org.neotropic.kuwaiba.northbound.ws.model.business.RemoteObject
-
- All Implemented Interfaces:
Serializable
,Comparable<RemoteObjectLight>
- Direct Known Subclasses:
RemoteContact
,RemoteInventoryProxy
public class RemoteObject extends RemoteObjectLight implements Serializable
Instances of this class are proxies that represents the entities in the database. This is a wrapper of the idem class in the Persistence Abstraction API- Author:
- Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.neotropic.kuwaiba.northbound.ws.model.business.RemoteObjectLight
DATA_TYPE, validators
-
-
Constructor Summary
Constructors Constructor Description RemoteObject()
Default constructor.RemoteObject(TemplateObject object)
RemoteObject(BusinessObject object)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(RemoteObjectLight o)
String
getAttribute(String attributeName)
List<StringPair>
getAttributes()
void
setAttributes(List<StringPair> attributes)
static List<RemoteObject>
toRemoteObjectArray(List<BusinessObject> toBeWrapped)
String
toString()
-
Methods inherited from class org.neotropic.kuwaiba.northbound.ws.model.business.RemoteObjectLight
addValidator, equals, getClassName, getId, getName, getValidators, hashCode, setName, toRemoteObjectLightArray
-
-
-
-
Constructor Detail
-
RemoteObject
public RemoteObject()
Default constructor. To be used only by the WS layer provider
-
RemoteObject
public RemoteObject(BusinessObject object)
- Parameters:
object
- The object to be serialized
-
RemoteObject
public RemoteObject(TemplateObject object)
-
-
Method Detail
-
getAttributes
public List<StringPair> getAttributes()
-
setAttributes
public void setAttributes(List<StringPair> attributes)
-
toRemoteObjectArray
public static List<RemoteObject> toRemoteObjectArray(List<BusinessObject> toBeWrapped)
-
toString
public String toString()
- Overrides:
toString
in classRemoteObjectLight
-
compareTo
public int compareTo(RemoteObjectLight o)
- Specified by:
compareTo
in interfaceComparable<RemoteObjectLight>
- Overrides:
compareTo
in classRemoteObjectLight
-
-