|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.events.access.UpdateExtendedDataElementValues
A change request that updates the value of an existing extended data element. If the specified extended data element does not exist then it will be created.
To locate he extended data element that is to be updated, the name and type of the passed extended data element is used in conjunction with the parent location path.
The parent location path should be of the form
CommonBaseEvent/extendedDataElements[@name=’myElement’]
If the update is for a top level element then the parent location path
should be CommonBaseEvent
.
If you only wish to update an extended data element called 'myElement' and
never create it then the parent location path would be of the form.
CommonBaseEvent[extendedDataElements[@name='myElement']]
Field Summary |
---|
Constructor Summary | |
---|---|
UpdateExtendedDataElementValues(java.lang.String globalInstanceId,
java.lang.String parentLocationPath,
org.eclipse.hyades.logging.events.cbe.ExtendedDataElement extendedDataElement)
Creates a new UpdateExtendedDataElementValues object. |
Method Summary | |
---|---|
int |
getChangeRequestType()
Get the type of change request this object represents. |
org.eclipse.hyades.logging.events.cbe.ExtendedDataElement |
getExtendedDataElement()
Get the extended data element that this change request is representing. |
java.lang.String |
getGlobalInstanceId()
Get the global instance ID of the event that this change request is modifying. |
java.lang.String |
getParentLocationPath()
Get the parent element XPath location. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public UpdateExtendedDataElementValues(java.lang.String globalInstanceId, java.lang.String parentLocationPath, org.eclipse.hyades.logging.events.cbe.ExtendedDataElement extendedDataElement)
globalInstanceId
- The global instance ID of the event whose
attributes will be updated.parentLocationPath
- XPath location of the parent element for the
new extended data element.extendedDataElement
- The extended data element to be updated.
java.lang.IllegalArgumentException
- If one of the following conditions
occur Method Detail |
public int getChangeRequestType()
EventChangeRequest
getChangeRequestType
in interface EventChangeRequest
EventChangeRequest.getChangeRequestType()
public org.eclipse.hyades.logging.events.cbe.ExtendedDataElement getExtendedDataElement()
public java.lang.String getGlobalInstanceId()
EventChangeRequest
getGlobalInstanceId
in interface EventChangeRequest
EventChangeRequest.getGlobalInstanceId()
public java.lang.String getParentLocationPath()
public java.lang.String toString()
Object.toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |