org.histpop.server.objects
Class ServerObject

java.lang.Object
  extended by 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
           
 
Constructor Summary
ServerObject()
           
ServerObject(java.lang.String id)
           
 
Method Summary
 void addMethod(ServerMethod method)
           
 java.util.Vector getFieldList()
           
 java.lang.String getID()
           
 ServerMethod getMethod(java.lang.String method)
           
 java.util.Collection getMethodList()
           
 java.util.Hashtable getProperties()
           
 java.lang.Object getProperty(java.lang.String name)
           
 java.lang.String getType()
           
 void init()
           
 boolean isReadOnly(java.lang.String property)
           
 void setID(java.lang.String id)
           
 void setProperties(java.util.Hashtable properties)
           
 void setProperty(java.lang.String name, java.lang.Object value)
           
 void setType(java.lang.String t)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ServerObject

public ServerObject()

ServerObject

public ServerObject(java.lang.String id)
Method Detail

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