Enterprise Information Portal APIs

com.ibm.mm.beans.gui
Class CMBEditRequestedEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.ibm.mm.beans.gui.CMBEditRequestedEvent
All Implemented Interfaces:
java.io.Serializable

public class CMBEditRequestedEvent
extends java.util.EventObject

Generated by the CMBItemAttributesEditor when an update is about to be performed. This event allows for a "veto" of the update to be specified, in which case the update will not be performed.

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
CMBEditRequestedEvent(java.lang.Object source, java.lang.String editEntity, java.lang.String[] editAttributes)
          constructs the event.
 
Method Summary
 void denyUpdate()
          Veto the update - if this function is called, the update will be cancelled
 java.lang.String[] getAttributes()
          Get the attibutes
 java.lang.String getEntity()
          Get the name of the entity (index class)
 boolean isUpdateAllowed()
          Determine whether the update should be allowed
 void setAttributes(java.lang.String[] newAttributes)
          Set the attibutes
 void setEntity(java.lang.String newEntity)
          Set the name of the entity (index class)
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CMBEditRequestedEvent

public CMBEditRequestedEvent(java.lang.Object source,
                             java.lang.String editEntity,
                             java.lang.String[] editAttributes)
constructs the event.
Parameters:
source - the source of the event.
editIndex - the new index class
editAttributes - the new attributes
Method Detail

getEntity

public java.lang.String getEntity()
Get the name of the entity (index class)

setEntity

public void setEntity(java.lang.String newEntity)
Set the name of the entity (index class)

getAttributes

public java.lang.String[] getAttributes()
Get the attibutes

setAttributes

public void setAttributes(java.lang.String[] newAttributes)
Set the attibutes

denyUpdate

public void denyUpdate()
Veto the update - if this function is called, the update will be cancelled

isUpdateAllowed

public boolean isUpdateAllowed()
Determine whether the update should be allowed

EIP JavaBeans

(c) Copyright International Business Machines Corporation 1996, 2002. IBM Corp. All rights reserved.