| |
|
| org.datashare.objects.DSObjectInfoInterface
All known Subclasses: org.datashare.objects.DefaultObjectInfo,
DSObjectInfoInterface | public interface DSObjectInfoInterface (Code) | | This interface is intended to allow for common handling of Sessions, Clients,
Channels, etc. All objects in the Session Tree must implement this interface.
author: Charles Wood version: 1.0 |
CHANNELTYPE | static String CHANNELTYPE(Code) | | should be returned by getOriginalType() if this instance represents a ChannelInfo instance
|
CLIENTTYPE | static String CLIENTTYPE(Code) | | should be returned by getOriginalType() if this instance represents a ClientInfo instance
|
CONSUMERTYPE | static String CONSUMERTYPE(Code) | | should be returned by getOriginalType() if this instance represents a ConsumerInfo instance
|
DEFAULTOBJECTTYPE | static String DEFAULTOBJECTTYPE(Code) | | should be returned by getOriginalType() if this instance represents an unknown instance
|
SESSIONTYPE | static String SESSIONTYPE(Code) | | should be returned by getOriginalType() if this instance represents a SessionInfo instance
|
getActive | boolean getActive()(Code) | | indicates if this object is currently active in a JSDT Registry
true if currently active in a JSDT Registry |
getDatabaseID | String getDatabaseID()(Code) | | used when an EJB for this class is created as a place to store the ADSKey String for
this instance.
the ADSKey String for this instance |
getDate | Date getDate()(Code) | | when this instance was created
time this instance was created |
getImageURL | String getImageURL()(Code) | | returns the URL for the image of a user, probably valid only if this instance refers to a Client/Consumer
|
getInfo | String getInfo()(Code) | | detailed info about object, for display purposes
description for this instance |
getKeyValue | String getKeyValue()(Code) | | used when a Hashtable needs a key for this instance. Should be unique for
all instances of the type.
the recommended key value to use in Hashtables for this instance |
getName | String getName()(Code) | | Retrieves the name of this instance.
the instance's name |
getObject | Object getObject()(Code) | | reference to this object as an Object
the object |
getOriginalType | String getOriginalType()(Code) | | class name of the type this instance is representing. This is typically used
when a parent class is used to represent a sublclass to allow for serialization
of the class.
the type this instance was created to represent |
getOwnerName | String getOwnerName()(Code) | | Retrieves the Creator/Owner name for this instance, used only for Sessions and Channels
this instance's owner/creator name |
getType | String getType()(Code) | | class name of this object, used to do casting of Object returned by getObject
type that was saved for this instance |
setDatabaseID | void setDatabaseID(String databaseID)(Code) | | used when an EJB for this class has been created and we want store the ADSKey String for
this instance.
Parameters: databaseID - the string that could be used to retrieve the EJB for thisinstance |
toString | String toString()(Code) | | name of this object, used to distinguish this instance from other instances
of the same object/type
name of this instance |
|
|
|