|
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.ItemOperation
public class ItemOperation
Defines an operation that can be performed on an item.
Constructor Summary | |
---|---|
ItemOperation(int iID,
Class[] operandTypes,
String sInternalName)
Construct an ItemOperation that takes operands. |
|
ItemOperation(int iID,
String sInternalName)
Construct an ItemOperation that takes no operands. |
Method Summary | |
---|---|
void |
checkOperandTypes(com.compoze.collab.spi.Context context,
Object[] params)
Check whether parameters are compatible with the specified parameter types for this ItemOperation. |
String |
getInternalName()
Gets the internal name of the item operation (used for debugging purposes). |
int |
getIntValue()
Gets the integer value of the operation so it can be switched on. |
Class[] |
getOperandTypes()
Get the operand types. |
String |
toString()
|
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, wait, wait, wait |
Constructor Detail |
---|
public ItemOperation(int iID, String sInternalName)
iID
- the int IDpublic ItemOperation(int iID, Class[] operandTypes, String sInternalName)
iID
- the int IDoperandTypes
- the type for each elements of params[]Method Detail |
---|
public String getInternalName()
null
)public int getIntValue()
public Class[] getOperandTypes()
public final void checkOperandTypes(com.compoze.collab.spi.Context context, Object[] params) throws CollaborationRuntimeException
context
- params
-
CollaborationRuntimeException
public String toString()
toString
in class Object
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 |