org.histpop.server.objects
Class ServerObject
java.lang.Object
org.histpop.server.objects.ServerObject
- All Implemented Interfaces:
- ServerObj
- Direct Known Subclasses:
- PersistentObject, SessionObject
public class ServerObject
- extends java.lang.Object
- implements ServerObj
Field Summary |
static java.lang.String |
ID
|
protected java.util.Hashtable |
methods
|
static java.lang.String |
OBJECT
|
protected java.util.Hashtable |
properties
|
protected static java.lang.String |
type
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
OBJECT
public static final java.lang.String OBJECT
- See Also:
- Constant Field Values
properties
protected java.util.Hashtable properties
type
protected static java.lang.String type
methods
protected java.util.Hashtable methods
ServerObject
public ServerObject()
ServerObject
public ServerObject(java.lang.String id)
setProperties
public void setProperties(java.util.Hashtable properties)
getProperties
public java.util.Hashtable getProperties()
setType
public void setType(java.lang.String t)
getType
public java.lang.String getType()
setID
public void setID(java.lang.String id)
getID
public java.lang.String getID()
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
getProperty
public java.lang.Object getProperty(java.lang.String name)
getFieldList
public java.util.Vector getFieldList()
isReadOnly
public boolean isReadOnly(java.lang.String property)
init
public void init()
throws ServerException
- Throws:
ServerException
getMethodList
public java.util.Collection getMethodList()
addMethod
public void addMethod(ServerMethod method)
getMethod
public ServerMethod getMethod(java.lang.String method)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object