com.compoze.collab
Class RootContainerClass
java.lang.Object
com.compoze.collab.ItemClass
com.compoze.collab.ContainerClass
com.compoze.collab.RootContainerClass
- All Implemented Interfaces:
- java.io.Serializable
public class RootContainerClass
- extends ContainerClass
- implements java.io.Serializable
Defines how to create a class of RootContainer
instance.
- See Also:
- Serialized Form
Method Summary |
static ContainerClass |
create(com.compoze.collab.spi.Context context,
java.lang.String sInternalName,
Key[] defaultKeys,
java.lang.Class javaClass,
ItemClass defaultItemClass)
|
static RootContainerClass |
createRootContainerClass(java.lang.String sInternalName,
Key[] defaultKeys,
java.lang.Class javaClass,
ItemClass defaultItemClass,
java.lang.String sItemClassParent)
Creates an RootContainerClass, given its name and properties, or returns an existing
RootContainerClass if one has already been created with the same name and properties. |
Key[] |
getMinimumKeys()
Gets the minimum set of keys for this class. |
Methods inherited from class com.compoze.collab.ItemClass |
checkForDuplicates, create, equals, getContainingItemClass, getDefaultKeys, getInternalName, getItemClassParent, getJavaClass, hashCode, isDefaultKey, isInstanceOf, lookupItemClass |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
createRootContainerClass
public static RootContainerClass createRootContainerClass(java.lang.String sInternalName,
Key[] defaultKeys,
java.lang.Class javaClass,
ItemClass defaultItemClass,
java.lang.String sItemClassParent)
throws CollaborationException
- Creates an RootContainerClass, given its name and properties, or returns an existing
RootContainerClass if one has already been created with the same name and properties.
- Parameters:
sInternalName
- unique internal name for this class (not null
)defaultKeys
- array of class specific default keys;
null
means nonejavaClass
- Java class representing this class; must implement
IContainer
(not null
)
- Throws:
CollaborationException
create
public static ContainerClass create(com.compoze.collab.spi.Context context,
java.lang.String sInternalName,
Key[] defaultKeys,
java.lang.Class javaClass,
ItemClass defaultItemClass)
throws CollaborationException
- Throws:
CollaborationException
getMinimumKeys
public Key[] getMinimumKeys()
- Gets the minimum set of keys for this class.
- Overrides:
getMinimumKeys
in class ContainerClass
- Returns:
- an array containing the minimum keys
Copyright ©1999-2008 Oracle All rights reserved.