public class EntityManager
extends java.lang.Object
Constructor and Description |
---|
EntityManager() |
Modifier and Type | Method and Description |
---|---|
static Entity[] |
getAllEntitiesByNamespace(Namespace namespace)
Return an array containing all the Entity objects registered in
the Namespace.
|
static Entity |
getEntityByNamespace(OID oid,
Namespace namespace)
Get the Entity object for the given OID and namespace
|
static int |
getEntityCount() |
static void |
registerEntityByNamespace(Entity entity,
Namespace namespace)
Register the entity by its OID and the Namespace passed in.
|
static boolean |
removeEntityByNamespace(Entity entity,
Namespace namespace)
Unregister the entity, using its OID and the Namespace
|
static boolean |
removeEntityByNamespace(OID oid,
Namespace namespace)
Look up the Entity by OID and Namespace, and unregister it
|
public static Entity getEntityByNamespace(OID oid, Namespace namespace)
public static void registerEntityByNamespace(Entity entity, Namespace namespace)
public static boolean removeEntityByNamespace(Entity entity, Namespace namespace)
public static boolean removeEntityByNamespace(OID oid, Namespace namespace)
public static Entity[] getAllEntitiesByNamespace(Namespace namespace)
public static int getEntityCount()