|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.events.access.UpdateEventAttribute
public class UpdateEventAttribute
A change request used for updating base attribute of an event.
Field Summary |
---|
Constructor Summary | |
---|---|
UpdateEventAttribute(java.lang.String globalInstanceId)
Creates a new UpdateEventAttribute object. |
Method Summary | |
---|---|
int |
getChangeRequestType()
Get the type of change request this object represents. |
long |
getElapsedTime()
Get the new value for elapsed time. |
java.lang.String |
getGlobalInstanceId()
Get the global instance ID of the event that this change request is modifying. |
short |
getPriority()
Get the new value for priority. |
short |
getRepeatCount()
Get the new value for repeat count. |
short |
getSeverity()
Get the new value for severity. |
boolean |
isElapsedTimeSet()
Verify if an elapsed time value is set for this change request. |
boolean |
isPrioritySet()
Verify if a priority value is set for this change request. |
boolean |
isRepeatCountSet()
Verify if a repeat count value is set for this change request. |
boolean |
isSeveritySet()
Verify if a severity value is set for this change request. |
void |
setElapsedTime(long elapsedTime)
Set a new elapsed time value for the attribute change change request. |
void |
setPriority(short priority)
Set a new priority value for the attribute change change request. |
void |
setRepeatCount(short repeatCount)
Set a new repeat count value for the attribute change change request. |
void |
setSeverity(short severity)
Set a new severity value for the attribute change change request. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UpdateEventAttribute(java.lang.String globalInstanceId)
globalInstanceId
- The global instance ID of the event whose
attributes will be updated.
java.lang.IllegalArgumentException
- If globalInstanceId is null or not
valid.Method Detail |
---|
public int getChangeRequestType()
EventChangeRequest
getChangeRequestType
in interface EventChangeRequest
EventChangeRequest.getChangeRequestType()
public void setElapsedTime(long elapsedTime)
elapsedTime
- The value to set the elapsed time to.public long getElapsedTime()
public boolean isElapsedTimeSet()
public java.lang.String getGlobalInstanceId()
EventChangeRequest
getGlobalInstanceId
in interface EventChangeRequest
EventChangeRequest.getGlobalInstanceId()
public void setPriority(short priority)
priority
- The value to set the priority to.
java.lang.IllegalArgumentException
- If priority is not a value from 0 to
100.public short getPriority()
public boolean isPrioritySet()
public void setRepeatCount(short repeatCount)
repeatCount
- The value to set the repeat count to.
java.lang.IllegalArgumentException
- DOCUMENT ME!public short getRepeatCount()
public boolean isRepeatCountSet()
public void setSeverity(short severity)
severity
- The value to set the severity to.
java.lang.IllegalArgumentException
- If severity is not a value from 0 to
70.public short getSeverity()
public boolean isSeveritySet()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |