|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IObjectManager
This is the generic interface for an Object Manager.
| Field Summary | |
|---|---|
static java.lang.String |
LIST_SUPPORTED_TYPES
This object can be passed to the listObjects method to return a Vector containing the full class names of ObjectTypes which are supported by the createObject method. |
static java.lang.String |
LIST_TYPES
This object can be passed to the listObjects method to return a Vector containing the ObjectTypes which currently exist in the object manager. |
| Method Summary | |
|---|---|
boolean |
changeObjectID(ObjectID oldID,
ObjectID newID)
This method changes an object's ObjectID. |
ObjectID |
createObject(ObjectType type)
Creates a new object in the object manager of the specified object type. |
java.lang.Object |
getObject(ObjectID id)
Retrieves the object corresponding to an object ID. |
java.util.Vector |
listObjects(java.lang.Object objectQuery)
Returns a Vector of objects designated by the objectQuery parameter. |
boolean |
removeObject(ObjectID id)
Deletes the object corresponding to an object ID from the object manager. |
| Field Detail |
|---|
static final java.lang.String LIST_TYPES
static final java.lang.String LIST_SUPPORTED_TYPES
| Method Detail |
|---|
ObjectID createObject(ObjectType type)
Note: Currently, only the PropsType is supported.
type - a reference to an ObjectType representing the type of object to create.
java.lang.Object getObject(ObjectID id)
id - a reference to an ObjectID representing a valid object in the object manager.
java.util.Vector listObjects(java.lang.Object objectQuery)
| IObjectManager.LIST_TYPES | Lists object types that already exist. |
| IObjectManager.LIST_SUPPORTED_TYPES | Lists objects which can be passed to createObject. |
| ObjectType | Lists all existing objects of the same ObjectType. |
| PropsQuery | Lists Props based on data from the PropsQuery object. |
objectQuery - any valid object from the list above.
boolean removeObject(ObjectID id)
id - a reference to an ObjectID representing a valid object in the object manager.
boolean changeObjectID(ObjectID oldID,
ObjectID newID)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||