|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object texsoft.java.object.XsObjectWithReflection texsoft.java.object.XsObjectSerializable texsoft.java.object.XsObjectWithKey texsoft.java.object.XsObject
This is the full functional base class for objects with services for reflection, ordering, key, serialization.
At the moment it adds nothing to its base class. The pourpose of the class is to shield existing code that uses the package from changes in the layered structure of the various XsObject... classes. Moreover if a new features has to be added another class can be created over XsObjectWithKey, and XsObject can derive from it, without impacting existing code.
XsObjectWithKey
Constructor Summary | |
XsObject()
Creates a new XsObject instance. |
|
XsObject(java.lang.Class iface)
Creates new XsObject with given interface filter. |
|
XsObject(java.lang.String ser)
Creates a new XsObject object and initializes it with the serialized string passed as argument. |
Methods inherited from class texsoft.java.object.XsObjectWithKey |
compareTo, createKey, queryKeyClass, readKey, writeKey |
Methods inherited from class texsoft.java.object.XsObjectSerializable |
deserialize, serialize |
Methods inherited from class texsoft.java.object.XsObjectWithReflection |
applyInterfaceFilter, applyInterfaceFilter, doGet, doNew, doSet, doSet, doSet, doSet, doSet, doSet, doSet, doSet, doSet, inspect, removeInterfaceFilter, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public XsObject() throws XsObjectException
XsObjectException
- thrown if a problem occurs while obtaining the inspector for the class.XsObjectWithReflection.XsObjectWithReflection()
public XsObject(java.lang.Class iface) throws XsObjectException
iface
- class corresponding to an interface implemented by this class used as a filter
for properties accessible with inspection methods.
XsObjectException
- thrown if a problem occurs while obtaining the inspector for the class.XsObjectWithReflection.XsObjectWithReflection(Class)
public XsObject(java.lang.String ser) throws XsObjectException
The passed String is supposed to be created by a XsObjectSerializable.serialize()
method called on a object of the same type of the this.
ser
- serialized rapresentation of an object of this class.
XsObjectException
- thrown if an error occurs during deserialization of the string.XsObjectSerializable.XsObjectSerializable(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |