|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.collab.CollabEnum
public class CollabEnum
This class is the superclass of all enumerations in the API. Enumerations
are a list of EnumElement
s. Enumerations in the Collaboration
Services API have the following features:
int
values for switching
readResolve
Field Summary | |
---|---|
protected EnumElement[] |
m_elements
|
Constructor Summary | |
---|---|
protected |
CollabEnum()
Constructor (for de-serialization); |
|
CollabEnum(Class elementClass,
int iSize,
com.compoze.collab.resource.ResourceBundleWrapper rbWrapper,
EnumElement defaultElement,
String sInternalName,
boolean bMaskable)
Constructor. |
Method Summary | |
---|---|
void |
addElement(EnumElement element)
Adds an element to the enumeration (called from classes outside package during construction). |
EnumElement |
getDefaultElement()
Gets the default enum element. |
EnumElement |
getElement(int iValue)
Gets an enum element. |
EnumElement[] |
getElements()
Gets a copy of the enumeration's elements sorted in their natural order. |
String |
getInternalName()
Gets the internal name of the enumeration. |
EnumElement[] |
getRawElements()
Gets the enumeration's elements. |
com.compoze.collab.resource.ResourceBundleWrapper |
getResourceBundle()
Gets the resource bundle that enum keys are kept in. |
boolean |
isDefaultElement(EnumElement element)
Determines if the specified element is the default for this enumeration. |
protected void |
setDefaultElement(EnumElement element)
Sets the default enum element. |
void |
updateDigest(MessageDigest digest)
Updates the specified MessageDigest with the object's internal state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected EnumElement[] m_elements
Constructor Detail |
---|
protected CollabEnum()
public CollabEnum(Class elementClass, int iSize, com.compoze.collab.resource.ResourceBundleWrapper rbWrapper, EnumElement defaultElement, String sInternalName, boolean bMaskable)
Method Detail |
---|
public void addElement(EnumElement element)
public EnumElement getElement(int iValue)
public EnumElement getDefaultElement()
protected void setDefaultElement(EnumElement element)
public boolean isDefaultElement(EnumElement element)
public EnumElement[] getElements()
null
)public EnumElement[] getRawElements()
null
)public com.compoze.collab.resource.ResourceBundleWrapper getResourceBundle()
public String getInternalName()
public void updateDigest(MessageDigest digest)
IDigestSupport
updateDigest
in interface IDigestSupport
digest
- the digest to update (not null
)
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |