|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.hyades.logging.events.cbe.impl.SerializableImpl
org.eclipse.hyades.logging.events.cbe.impl.CommonBaseEventImpl
An implementation of the model object 'Common Base Event'.
| Nested Class Summary |
|---|
| Nested classes inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl |
| Nested classes inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList |
| Nested classes inherited from class org.eclipse.emf.ecore.InternalEObject |
|---|
org.eclipse.emf.ecore.InternalEObject.EStore |
| Field Summary | |
|---|---|
protected org.eclipse.emf.common.util.EList |
any
The cached value of the ' Any' attribute list. |
protected org.eclipse.emf.common.util.EList |
associatedEvents
The cached value of the ' Associated Events' containment reference list. |
protected org.eclipse.emf.common.util.EList |
contextDataElements
The cached value of the ' Context Data Elements' containment reference list. |
protected static java.lang.String |
CREATION_TIME_EDEFAULT
The default value of the ' Creation Time' attribute. |
protected java.lang.String |
creationTime
The cached value of the ' Creation Time' attribute. |
protected boolean |
creationTimeESet
This is true if the Creation Time attribute has been set. |
protected static long |
ELAPSED_TIME_EDEFAULT
The default value of the ' Elapsed Time' attribute. |
protected long |
elapsedTime
The cached value of the ' Elapsed Time' attribute. |
protected boolean |
elapsedTimeESet
This is true if the Elapsed Time attribute has been set. |
protected org.eclipse.emf.common.util.EList |
extendedDataElements
The cached value of the ' Extended Data Elements' containment reference list. |
protected static java.lang.String |
EXTENSION_NAME_EDEFAULT
The default value of the ' Extension Name' attribute. |
protected java.lang.String |
extensionName
The cached value of the ' Extension Name' attribute. |
protected static java.lang.String |
GLOBAL_INSTANCE_ID_EDEFAULT
The default value of the ' Global Instance Id' attribute. |
protected java.lang.String |
globalInstanceId
The cached value of the ' Global Instance Id' attribute. |
protected static java.lang.String |
LOCAL_INSTANCE_ID_EDEFAULT
The default value of the ' Local Instance Id' attribute. |
protected java.lang.String |
localInstanceId
The cached value of the ' Local Instance Id' attribute. |
protected java.lang.String |
msg
The cached value of the ' Msg' attribute. |
protected static java.lang.String |
MSG_EDEFAULT
The default value of the ' Msg' attribute. |
protected MsgDataElement |
msgDataElement
The cached value of the ' Msg Data Element' containment reference. |
protected short |
priority
The cached value of the ' Priority' attribute. |
protected static short |
PRIORITY_EDEFAULT
The default value of the ' Priority' attribute. |
protected boolean |
priorityESet
This is true if the Priority attribute has been set. |
protected static short |
REPEAT_COUNT_EDEFAULT
The default value of the ' Repeat Count' attribute. |
protected short |
repeatCount
The cached value of the ' Repeat Count' attribute. |
protected boolean |
repeatCountESet
This is true if the Repeat Count attribute has been set. |
protected ComponentIdentification |
reporterComponentId
The cached value of the ' Reporter Component Id' containment reference. |
protected static long |
SEQUENCE_NUMBER_EDEFAULT
The default value of the ' Sequence Number' attribute. |
protected long |
sequenceNumber
The cached value of the ' Sequence Number' attribute. |
protected boolean |
sequenceNumberESet
This is true if the Sequence Number attribute has been set. |
protected short |
severity
The cached value of the ' Severity' attribute. |
protected static short |
SEVERITY_EDEFAULT
The default value of the ' Severity' attribute. |
protected boolean |
severityESet
This is true if the Severity attribute has been set. |
protected Situation |
situation
The cached value of the ' Situation' containment reference. |
protected ComponentIdentification |
sourceComponentId
The cached value of the ' Source Component Id' containment reference. |
protected java.lang.String |
version
The cached value of the ' Version' attribute. |
protected static java.lang.String |
VERSION_EDEFAULT
The default value of the ' Version' attribute. |
| Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY |
| Fields inherited from interface org.eclipse.hyades.logging.events.cbe.CommonBaseEvent |
|---|
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM, SEVERITY_CRITICAL, SEVERITY_FATAL, SEVERITY_HARMLESS, SEVERITY_INFORMATION, SEVERITY_MINOR, SEVERITY_UNKNOWN, SEVERITY_WARNING |
| Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
EOPPOSITE_FEATURE_BASE |
| Constructor Summary | |
|---|---|
protected |
CommonBaseEventImpl()
|
| Method Summary | |
|---|---|
void |
addAny(java.lang.String any)
Helper method for creating and setting an any element for this object. |
AssociatedEvent |
addAssociatedEvent(AssociatedEvent associatedEvent)
Adds a new AssociatedEvent to this object. |
AssociatedEvent |
addAssociatedEvent(java.lang.String associationEngineName,
java.lang.String associationEngineType,
java.lang.String associationEngineId,
java.lang.String[] resolvedEvents)
Helper method for creating and setting the associated events for this object. |
ContextDataElement |
addContextDataElement(ContextDataElement contextDataElement)
Adds a new ContextDataElement to this object. |
ContextDataElement |
addContextDataElementWithId(java.lang.String contextType,
java.lang.String contextName,
java.lang.String contextId)
Adds a new context data element to this object. |
ContextDataElement |
addContextDataElementWithValue(java.lang.String contextType,
java.lang.String contextName,
java.lang.String contextValue)
Adds a new context data element to this object. |
ExtendedDataElement |
addExtendedDataElement(ExtendedDataElement extendedDataElement)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElement(java.lang.String name)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElement(java.lang.String name,
int type,
java.lang.String value)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElement(java.lang.String name,
int type,
java.lang.String[] values)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElement(java.lang.String name,
java.lang.String value)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElement(java.lang.String name,
java.lang.String[] values)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithBooleanArrayValue(java.lang.String name,
boolean[] values)
An array of product specific extensions for extensibility where you can provide any other attributes not accounted for in the CommonBaseEventImpl. |
ExtendedDataElement |
addExtendedDataElementWithBooleanValue(java.lang.String name,
boolean value)
An array of product specific extensions for extensibility where you can provide any other attributes not accounted for in the CommonBaseEventImpl. |
ExtendedDataElement |
addExtendedDataElementWithByteArrayValue(java.lang.String name,
byte[] values)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithByteValue(java.lang.String name,
byte value)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithDateArrayValue(java.lang.String name,
java.lang.String[] values)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithDateAsLongValue(java.lang.String name,
long value)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithDatesAsLongValue(java.lang.String name,
long[] values)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithDateValue(java.lang.String name,
java.lang.String value)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithDoubleArrayValue(java.lang.String name,
double[] values)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithDoubleValue(java.lang.String name,
double value)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithFloatArrayValue(java.lang.String name,
float[] values)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithFloatValue(java.lang.String name,
float value)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithHexValue(java.lang.String name,
byte[] hexValue)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithHexValue(java.lang.String name,
java.lang.String hexValue)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithIntArrayValue(java.lang.String name,
int[] values)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithIntValue(java.lang.String name,
int value)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithLongArrayValue(java.lang.String name,
long[] values)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithLongValue(java.lang.String name,
long value)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithNoValue(java.lang.String name)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithShortArrayValue(java.lang.String name,
short[] values)
Adds a new ExtendedDataElement to this object. |
ExtendedDataElement |
addExtendedDataElementWithShortValue(java.lang.String name,
short value)
Adds a new ExtendedDataElement to this object. |
org.eclipse.emf.common.notify.NotificationChain |
basicSetMsgDataElement(MsgDataElement newMsgDataElement,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetReporterComponentId(ComponentIdentification newReporterComponentId,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetSituation(Situation newSituation,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
org.eclipse.emf.common.notify.NotificationChain |
basicSetSourceComponentId(ComponentIdentification newSourceComponentId,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
void |
clearAny()
Removes all any strings that this event is referencing |
void |
clearAssociatedEvents()
Removes all ExtenedDataElements that this event is referencing |
void |
clearContextDataElements()
Removes all ExtenedDataElements that this event is referencing |
void |
clearExtendedDataElements()
Removes all ExtenedDataElements that this event is referencing |
java.lang.Object |
clone()
return a cloned (copy by value) object. |
void |
complete()
Invokes the content handler associated, if any, with this event instance. |
java.lang.Object |
eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
|
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
|
boolean |
eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
boolean |
equals(java.lang.Object arg0)
|
void |
eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
|
protected org.eclipse.emf.ecore.EClass |
eStaticClass()
|
void |
eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
|
java.lang.String |
externalizeCanonicalXmlDocString()
|
java.lang.String |
externalizeCanonicalXmlString()
|
org.eclipse.emf.common.util.EList |
getAny()
|
org.eclipse.emf.common.util.EList |
getAssociatedEvents()
|
org.eclipse.emf.common.util.EList |
getContextDataElements()
|
org.eclipse.emf.common.util.EList |
getContextDataElements(java.lang.String name)
Get a named a context that this event is referencing. |
java.lang.String |
getCreationTime()
|
long |
getCreationTimeAsLong()
Returns the value of the 'Creation Time' attribute. |
long |
getElapsedTime()
|
org.eclipse.emf.common.util.EList |
getExtendedDataElements()
|
org.eclipse.emf.common.util.EList |
getExtendedDataElements(java.lang.String name)
Returns a named ExtendedDataElement from
the list of ExtendedDataElement objects. |
java.lang.String |
getExtensionName()
|
java.lang.String |
getGlobalInstanceId()
|
java.lang.String |
getLocalInstanceId()
|
java.lang.String |
getMsg()
|
MsgDataElement |
getMsgDataElement()
|
short |
getPriority()
|
short |
getRepeatCount()
|
ComponentIdentification |
getReporterComponentId()
|
long |
getSequenceNumber()
|
short |
getSeverity()
|
Situation |
getSituation()
|
ComponentIdentification |
getSourceComponentId()
|
java.lang.String |
getVersion()
|
void |
init()
Resets the object's properties to their initial (e.g. |
void |
internalizeCanonicalXmlDocString(java.lang.String value)
|
void |
internalizeCanonicalXmlString(java.lang.String value)
|
boolean |
isComplete()
Determines if the ContentHandler associated with this
event instance, if any, has been previously been invoked. |
boolean |
isSetCreationTime()
|
boolean |
isSetElapsedTime()
|
boolean |
isSetPriority()
|
boolean |
isSetRepeatCount()
|
boolean |
isSetSequenceNumber()
|
boolean |
isSetSeverity()
|
void |
removeContextDataElements(java.lang.String name)
Remove a named context data element that this event is referencing |
void |
removeExtendedDataElements(java.lang.String name)
Remove a named extended data element that this event is referencing |
void |
setContentHandler(ContentHandler contentHandler)
Sets the ContentHandler associated with this
event instance. |
void |
setCreationTime(java.lang.String newCreationTime)
|
void |
setCreationTimeAsLong(long inDateTime)
Sets the value of the 'Creation Time' attribute. |
void |
setElapsedTime(long newElapsedTime)
|
void |
setExtensionName(java.lang.String newExtensionName)
|
void |
setGlobalInstanceId(java.lang.String newGlobalInstanceId)
|
void |
setLocalInstanceId(java.lang.String newLocalInstanceId)
|
void |
setMsg(java.lang.String newMsg)
|
void |
setMsgDataElement(MsgDataElement newMsgDataElement)
|
MsgDataElement |
setMsgDataElement(java.lang.String msgCatalog,
java.lang.String msgCatalogId,
MsgCatalogToken[] tokens,
java.lang.String msgCatalogType,
java.lang.String msgId,
java.lang.String msgIdType,
java.lang.String msgCatalogLocale)
Adds a new MsgDataElement to this object. |
MsgDataElement |
setMsgDataElement(java.lang.String msgCatalog,
java.lang.String msgCatalogId,
java.lang.String[] tokens,
java.lang.String msgCatalogType,
java.lang.String msgId,
java.lang.String msgIdType,
java.lang.String msgCatalogLocale)
Adds a new MsgDataElement to this object. |
void |
setPriority(short newPriority)
|
void |
setRepeatCount(short newRepeatCount)
|
void |
setReporterComponentId(ComponentIdentification newReporterComponentId)
|
void |
setReporterComponentId(java.lang.String application,
java.lang.String component,
java.lang.String subComponent,
java.lang.String componentType,
java.lang.String componentIdType,
java.lang.String location,
java.lang.String locationType)
Sets the reporter component identifier for this event. |
void |
setReporterComponentId(java.lang.String application,
java.lang.String component,
java.lang.String subComponent,
java.lang.String componentType,
java.lang.String componentIdType,
java.lang.String executionEnvironment,
java.lang.String instanceId,
java.lang.String location,
java.lang.String locationType,
java.lang.String processId,
java.lang.String threadId)
Helper method for creating and setting the reporter component ID for this object. |
void |
setSequenceNumber(long newSequenceNumber)
|
void |
setSeverity(short newSeverity)
|
void |
setSituation(Situation newSituation)
|
void |
setSourceComponentId(ComponentIdentification newSourceComponentId)
|
void |
setSourceComponentId(java.lang.String application,
java.lang.String component,
java.lang.String subComponent,
java.lang.String componentType,
java.lang.String componentIdType,
java.lang.String location,
java.lang.String locationType)
Sets the source component identifier for this event. |
void |
setSourceComponentId(java.lang.String application,
java.lang.String component,
java.lang.String subComponent,
java.lang.String componentType,
java.lang.String componentIdType,
java.lang.String executionEnvironment,
java.lang.String instanceId,
java.lang.String location,
java.lang.String locationType,
java.lang.String processId,
java.lang.String threadId)
Sets the source component identifier for this event. |
void |
setVersion(java.lang.String newVersion)
|
java.lang.String |
toString()
|
void |
unsetCreationTime()
|
void |
unsetElapsedTime()
|
void |
unsetPriority()
|
void |
unsetRepeatCount()
|
void |
unsetSequenceNumber()
|
void |
unsetSeverity()
|
void |
validate()
Checks whether the contents of the instance conform to the CBE specification. |
| Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
|---|
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI |
| Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
|---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment |
| Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
|---|
eNotificationRequired, eNotify |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
|---|
eNotificationRequired |
| Field Detail |
protected static final java.lang.String CREATION_TIME_EDEFAULT
Creation Time' attribute.
getCreationTime()protected java.lang.String creationTime
Creation Time' attribute.
getCreationTime()protected boolean creationTimeESet
protected static final java.lang.String GLOBAL_INSTANCE_ID_EDEFAULT
Global Instance Id' attribute.
getGlobalInstanceId()protected java.lang.String globalInstanceId
Global Instance Id' attribute.
getGlobalInstanceId()protected static final long ELAPSED_TIME_EDEFAULT
Elapsed Time' attribute.
getElapsedTime(),
Constant Field Valuesprotected long elapsedTime
Elapsed Time' attribute.
getElapsedTime()protected boolean elapsedTimeESet
protected static final java.lang.String EXTENSION_NAME_EDEFAULT
Extension Name' attribute.
getExtensionName()protected java.lang.String extensionName
Extension Name' attribute.
getExtensionName()protected static final java.lang.String LOCAL_INSTANCE_ID_EDEFAULT
Local Instance Id' attribute.
getLocalInstanceId()protected java.lang.String localInstanceId
Local Instance Id' attribute.
getLocalInstanceId()protected static final java.lang.String MSG_EDEFAULT
Msg' attribute.
getMsg()protected java.lang.String msg
Msg' attribute.
getMsg()protected static final short PRIORITY_EDEFAULT
Priority' attribute.
getPriority(),
Constant Field Valuesprotected short priority
Priority' attribute.
getPriority()protected boolean priorityESet
protected static final short REPEAT_COUNT_EDEFAULT
Repeat Count' attribute.
getRepeatCount(),
Constant Field Valuesprotected short repeatCount
Repeat Count' attribute.
getRepeatCount()protected boolean repeatCountESet
protected static final long SEQUENCE_NUMBER_EDEFAULT
Sequence Number' attribute.
getSequenceNumber(),
Constant Field Valuesprotected long sequenceNumber
Sequence Number' attribute.
getSequenceNumber()protected boolean sequenceNumberESet
protected static final short SEVERITY_EDEFAULT
Severity' attribute.
getSeverity(),
Constant Field Valuesprotected short severity
Severity' attribute.
getSeverity()protected boolean severityESet
protected static final java.lang.String VERSION_EDEFAULT
Version' attribute.
getVersion(),
Constant Field Valuesprotected java.lang.String version
Version' attribute.
getVersion()protected org.eclipse.emf.common.util.EList any
Any' attribute list.
getAny()protected Situation situation
Situation' containment reference.
getSituation()protected org.eclipse.emf.common.util.EList associatedEvents
Associated Events' containment reference list.
getAssociatedEvents()protected org.eclipse.emf.common.util.EList contextDataElements
Context Data Elements' containment reference list.
getContextDataElements()protected org.eclipse.emf.common.util.EList extendedDataElements
Extended Data Elements' containment reference list.
getExtendedDataElements()protected MsgDataElement msgDataElement
Msg Data Element' containment reference.
getMsgDataElement()protected ComponentIdentification reporterComponentId
Reporter Component Id' containment reference.
getReporterComponentId()protected ComponentIdentification sourceComponentId
Source Component Id' containment reference.
getSourceComponentId()| Constructor Detail |
protected CommonBaseEventImpl()
| Method Detail |
public org.eclipse.emf.common.util.EList getAny()
getAny in interface CommonBaseEventEventPackage.getCommonBaseEvent_Any()public org.eclipse.emf.common.util.EList getAssociatedEvents()
getAssociatedEvents in interface CommonBaseEventEventPackage.getCommonBaseEvent_AssociatedEvents()public void setContentHandler(ContentHandler contentHandler)
CommonBaseEventContentHandler associated with this
event instance.
Invocations of this method cause the flag denoting if ContentHandler
associated with this event instance has been previously been invoked to be false.
setContentHandler in interface CommonBaseEventcontentHandler - The new ContentHandler associated with this event instance.CommonBaseEvent.setContentHandler(org.eclipse.hyades.logging.events.cbe.ContentHandler)public org.eclipse.emf.common.util.EList getContextDataElements()
getContextDataElements in interface CommonBaseEventEventPackage.getCommonBaseEvent_ContextDataElements()public org.eclipse.emf.common.util.EList getContextDataElements(java.lang.String name)
CommonBaseEvent
getContextDataElements in interface CommonBaseEventname - the name of the element to be found
CommonBaseEvent.getContextDataElements(String)public void setCreationTime(java.lang.String newCreationTime)
setCreationTime in interface CommonBaseEventnewCreationTime - the new value of the 'Creation Time' attribute.CommonBaseEvent.isSetCreationTime(),
CommonBaseEvent.unsetCreationTime(),
CommonBaseEvent.getCreationTime()public java.lang.String getCreationTime()
getCreationTime in interface CommonBaseEventCommonBaseEvent.isSetCreationTime(),
CommonBaseEvent.unsetCreationTime(),
CommonBaseEvent.setCreationTime(String),
EventPackage.getCommonBaseEvent_CreationTime()public void setCreationTimeAsLong(long inDateTime)
CommonBaseEventSets the value of the 'Creation Time' attribute.
setCreationTimeAsLong in interface CommonBaseEventinDateTime - The date in milliseconds since 1970-01-01T00:00:00ZConverts a long representing UTC in milliseconds to the XML Schema
datetime format (CCYY-MM-DDThh:mm:ssZ)public long getCreationTimeAsLong()
CommonBaseEventReturns the value of the 'Creation Time' attribute.
getCreationTimeAsLong in interface CommonBaseEventConverts the creationTime from a string in XML Schema datetime
format (CCYY-MM-DDThh:mm:ss) to a long representing the
milliseconds since 1970-01-01T00:00:00public void setElapsedTime(long newElapsedTime)
setElapsedTime in interface CommonBaseEventnewElapsedTime - the new value of the 'Elapsed Time' attribute.CommonBaseEvent.isSetElapsedTime(),
CommonBaseEvent.unsetElapsedTime(),
CommonBaseEvent.getElapsedTime()public long getElapsedTime()
getElapsedTime in interface CommonBaseEventCommonBaseEvent.isSetElapsedTime(),
CommonBaseEvent.unsetElapsedTime(),
CommonBaseEvent.setElapsedTime(long),
EventPackage.getCommonBaseEvent_ElapsedTime()public org.eclipse.emf.common.util.EList getExtendedDataElements()
getExtendedDataElements in interface CommonBaseEventEventPackage.getCommonBaseEvent_ExtendedDataElements()public org.eclipse.emf.common.util.EList getExtendedDataElements(java.lang.String name)
CommonBaseEvent
Returns a named ExtendedDataElement from
the list of ExtendedDataElement objects.
getExtendedDataElements in interface CommonBaseEventname - the name of the ExtendedDataElement
ExtendedDataElement
objects.CommonBaseEvent.getExtendedDataElements(String)public void setExtensionName(java.lang.String newExtensionName)
setExtensionName in interface CommonBaseEventnewExtensionName - the new value of the 'Extension Name' attribute.CommonBaseEvent.getExtensionName()public java.lang.String getExtensionName()
getExtensionName in interface CommonBaseEventCommonBaseEvent.setExtensionName(String),
EventPackage.getCommonBaseEvent_ExtensionName()public void setGlobalInstanceId(java.lang.String newGlobalInstanceId)
setGlobalInstanceId in interface CommonBaseEventnewGlobalInstanceId - the new value of the 'Global Instance ID' attribute.CommonBaseEvent.getGlobalInstanceId()public java.lang.String getGlobalInstanceId()
getGlobalInstanceId in interface CommonBaseEventCommonBaseEvent.setGlobalInstanceId(String),
EventPackage.getCommonBaseEvent_GlobalInstanceId()public void setLocalInstanceId(java.lang.String newLocalInstanceId)
setLocalInstanceId in interface CommonBaseEventnewLocalInstanceId - the new value of the 'Local Instance ID' attribute.CommonBaseEvent.getLocalInstanceId()public java.lang.String getLocalInstanceId()
getLocalInstanceId in interface CommonBaseEventCommonBaseEvent.setLocalInstanceId(String),
EventPackage.getCommonBaseEvent_LocalInstanceId()public void setMsg(java.lang.String newMsg)
setMsg in interface CommonBaseEventnewMsg - the new value of the 'Msg' attribute.CommonBaseEvent.getMsg()public java.lang.String getMsg()
getMsg in interface CommonBaseEventCommonBaseEvent.setMsg(String),
EventPackage.getCommonBaseEvent_Msg()public void setMsgDataElement(MsgDataElement newMsgDataElement)
setMsgDataElement in interface CommonBaseEventnewMsgDataElement - the new value of the 'Msg Data Element' containment reference.CommonBaseEvent.getMsgDataElement()
public MsgDataElement setMsgDataElement(java.lang.String msgCatalog,
java.lang.String msgCatalogId,
MsgCatalogToken[] tokens,
java.lang.String msgCatalogType,
java.lang.String msgId,
java.lang.String msgIdType,
java.lang.String msgCatalogLocale)
CommonBaseEventMsgDataElement to this object.
It creates a MsgDataElement object and sets it in the
respective field of this object.
setMsgDataElement in interface CommonBaseEventmsgCatalog - the message catalog for this
MsgDataElementmsgCatalogId - the message catalog ID for this
MsgDataElementtokens - the message catalog tokens for this
MsgDataElementmsgCatalogType - the message catalog type for this
MsgDataElementmsgId - the message ID for this MsgDataElementmsgIdType - the message ID type for this
MsgDataElementmsgCatalogLocale - the locale for this MsgDataElement
CommonBaseEvent.setMsgDataElement(String, String, MsgCatalogToken[], String, String, String, String)
public MsgDataElement setMsgDataElement(java.lang.String msgCatalog,
java.lang.String msgCatalogId,
java.lang.String[] tokens,
java.lang.String msgCatalogType,
java.lang.String msgId,
java.lang.String msgIdType,
java.lang.String msgCatalogLocale)
CommonBaseEventMsgDataElement to this object.
It creates a MsgDataElement object and sets it in the
respective field of this object.
setMsgDataElement in interface CommonBaseEventmsgCatalog - the message catalog for this
MsgDataElementmsgCatalogId - the message catalog ID for this
MsgDataElementtokens - the message catalog tokens for this
MsgDataElementmsgCatalogType - the message catalog type for this
MsgDataElementmsgId - the message ID for this MsgDataElementmsgIdType - the message ID type for this
MsgDataElementmsgCatalogLocale - the locale for this MsgDataElement
CommonBaseEvent.setMsgDataElement(String, String, String[], String, String, String, String)public MsgDataElement getMsgDataElement()
getMsgDataElement in interface CommonBaseEventCommonBaseEvent.setMsgDataElement(MsgDataElement),
EventPackage.getCommonBaseEvent_MsgDataElement()public void setPriority(short newPriority)
setPriority in interface CommonBaseEventnewPriority - the new value of the 'Priority' attribute.CommonBaseEvent.isSetPriority(),
CommonBaseEvent.unsetPriority(),
CommonBaseEvent.getPriority()public short getPriority()
getPriority in interface CommonBaseEventCommonBaseEvent.isSetPriority(),
CommonBaseEvent.unsetPriority(),
CommonBaseEvent.setPriority(short),
EventPackage.getCommonBaseEvent_Priority()public void setRepeatCount(short newRepeatCount)
setRepeatCount in interface CommonBaseEventnewRepeatCount - the new value of the 'Repeat Count' attribute.CommonBaseEvent.isSetRepeatCount(),
CommonBaseEvent.unsetRepeatCount(),
CommonBaseEvent.getRepeatCount()public short getRepeatCount()
getRepeatCount in interface CommonBaseEventCommonBaseEvent.isSetRepeatCount(),
CommonBaseEvent.unsetRepeatCount(),
CommonBaseEvent.setRepeatCount(short),
EventPackage.getCommonBaseEvent_RepeatCount()public void setReporterComponentId(ComponentIdentification newReporterComponentId)
setReporterComponentId in interface CommonBaseEventnewReporterComponentId - the new value of the 'Reporter Component ID' containment reference.CommonBaseEvent.getReporterComponentId()
public void setReporterComponentId(java.lang.String application,
java.lang.String component,
java.lang.String subComponent,
java.lang.String componentType,
java.lang.String componentIdType,
java.lang.String executionEnvironment,
java.lang.String instanceId,
java.lang.String location,
java.lang.String locationType,
java.lang.String processId,
java.lang.String threadId)
CommonBaseEventHelper method for creating and setting the reporter component ID for this object.
It creates a ComponentIdentification object and sets it in
the respective field of this object.
setReporterComponentId in interface CommonBaseEventapplication - the name of the application for the reporting
componentcomponent - the name of the component for the reporting componentcomponentType - the component type for the reporting componentcomponentIdType - the component ID type for the reporting componentexecutionEnvironment - the name of the execution environment for
the reporting componentinstanceId - the instance ID for the reporting componentlocation - the location for the reporting componentlocationType - the location type for the reporting componentprocessId - the process ID for the reporting componentsubComponent - the name of the subcomponent for the reporting
componentthreadId - the thread ID for the reporting componentCommonBaseEvent.setReporterComponentId(String, String, String, String, String, String, String, String, String, String,String)
public void setReporterComponentId(java.lang.String application,
java.lang.String component,
java.lang.String subComponent,
java.lang.String componentType,
java.lang.String componentIdType,
java.lang.String location,
java.lang.String locationType)
CommonBaseEvent
It creates a ComponentIdentification object and sets it in
the respective field of this object.
setReporterComponentId in interface CommonBaseEventapplication - the name of the application for the source componentcomponent - the name of the component for the source componentsubComponent - the name of the subcomponent for the source
componentcomponentType - the component type for the source componentcomponentIdType - the component ID type for the source componentlocation - the location for the source componentlocationType - the location type for the source componentCommonBaseEvent.setReporterComponentId(String, String, String, String, String, String, String)public ComponentIdentification getReporterComponentId()
getReporterComponentId in interface CommonBaseEventCommonBaseEvent.setReporterComponentId(ComponentIdentification),
EventPackage.getCommonBaseEvent_ReporterComponentId()public void setSequenceNumber(long newSequenceNumber)
setSequenceNumber in interface CommonBaseEventnewSequenceNumber - the new value of the 'Sequence Number' attribute.CommonBaseEvent.isSetSequenceNumber(),
CommonBaseEvent.unsetSequenceNumber(),
CommonBaseEvent.getSequenceNumber()public long getSequenceNumber()
getSequenceNumber in interface CommonBaseEventCommonBaseEvent.isSetSequenceNumber(),
CommonBaseEvent.unsetSequenceNumber(),
CommonBaseEvent.setSequenceNumber(long),
EventPackage.getCommonBaseEvent_SequenceNumber()public boolean isSetCreationTime()
isSetCreationTime in interface CommonBaseEventCommonBaseEvent.unsetCreationTime(),
CommonBaseEvent.getCreationTime(),
CommonBaseEvent.setCreationTime(String)public boolean isSetElapsedTime()
isSetElapsedTime in interface CommonBaseEventCommonBaseEvent.unsetElapsedTime(),
CommonBaseEvent.getElapsedTime(),
CommonBaseEvent.setElapsedTime(long)public boolean isSetPriority()
isSetPriority in interface CommonBaseEventCommonBaseEvent.unsetPriority(),
CommonBaseEvent.getPriority(),
CommonBaseEvent.setPriority(short)public boolean isSetRepeatCount()
isSetRepeatCount in interface CommonBaseEventCommonBaseEvent.unsetRepeatCount(),
CommonBaseEvent.getRepeatCount(),
CommonBaseEvent.setRepeatCount(short)public boolean isSetSequenceNumber()
isSetSequenceNumber in interface CommonBaseEventCommonBaseEvent.unsetSequenceNumber(),
CommonBaseEvent.getSequenceNumber(),
CommonBaseEvent.setSequenceNumber(long)public boolean isSetSeverity()
isSetSeverity in interface CommonBaseEventCommonBaseEvent.unsetSeverity(),
CommonBaseEvent.getSeverity(),
CommonBaseEvent.setSeverity(short)public void setSeverity(short newSeverity)
setSeverity in interface CommonBaseEventnewSeverity - the new value of the 'Severity' attribute.CommonBaseEvent.isSetSeverity(),
CommonBaseEvent.unsetSeverity(),
CommonBaseEvent.getSeverity()public short getSeverity()
getSeverity in interface CommonBaseEventCommonBaseEvent.isSetSeverity(),
CommonBaseEvent.unsetSeverity(),
CommonBaseEvent.setSeverity(short),
EventPackage.getCommonBaseEvent_Severity()public void setSituation(Situation newSituation)
setSituation in interface CommonBaseEventnewSituation - the new value of the 'Situation' containment reference.CommonBaseEvent.getSituation()public Situation getSituation()
getSituation in interface CommonBaseEventCommonBaseEvent.setSituation(Situation),
EventPackage.getCommonBaseEvent_Situation()public void setSourceComponentId(ComponentIdentification newSourceComponentId)
setSourceComponentId in interface CommonBaseEventnewSourceComponentId - the new value of the 'Source Component ID' containment reference.CommonBaseEvent.getSourceComponentId()
public void setSourceComponentId(java.lang.String application,
java.lang.String component,
java.lang.String subComponent,
java.lang.String componentType,
java.lang.String componentIdType,
java.lang.String executionEnvironment,
java.lang.String instanceId,
java.lang.String location,
java.lang.String locationType,
java.lang.String processId,
java.lang.String threadId)
CommonBaseEvent
It creates a ComponentIdentification object and sets it in
the respective field of this object.
setSourceComponentId in interface CommonBaseEventapplication - the name of the application for the source componentcomponent - the name of the component for the source componentcomponentType - the component type for the source componentcomponentIdType - the component ID type for the source componentexecutionEnvironment - the name of the execution environment for
the source componentinstanceId - the instance ID for the source componentlocation - the location for the source componentlocationType - the location type for the source componentprocessId - the process ID for the source componentsubComponent - the name of the subcomponent for the source
componentthreadId - the thread ID for the source componentCommonBaseEvent.setSourceComponentId(String, String, String, String, String, String, String, String, String, String,String)
public void setSourceComponentId(java.lang.String application,
java.lang.String component,
java.lang.String subComponent,
java.lang.String componentType,
java.lang.String componentIdType,
java.lang.String location,
java.lang.String locationType)
CommonBaseEvent
It creates a ComponentIdentification object and sets it in
the respective field of this object.
setSourceComponentId in interface CommonBaseEventapplication - the name of the application for the source componentcomponent - the name of the component for the source componentsubComponent - the name of the subcomponent for the source
componentcomponentType - the component type for the source componentcomponentIdType - the component ID type for the source componentlocation - the location for the source componentlocationType - the location type for the source componentCommonBaseEvent.setSourceComponentId(String, String, String, String, String, String,String)public ComponentIdentification getSourceComponentId()
getSourceComponentId in interface CommonBaseEventCommonBaseEvent.setSourceComponentId(ComponentIdentification),
EventPackage.getCommonBaseEvent_SourceComponentId()public void setVersion(java.lang.String newVersion)
setVersion in interface CommonBaseEventnewVersion - the new value of the 'Version' attribute.CommonBaseEvent.getVersion()public java.lang.String getVersion()
getVersion in interface CommonBaseEventCommonBaseEvent.setVersion(String),
EventPackage.getCommonBaseEvent_Version()public void addAny(java.lang.String any)
CommonBaseEventIt creates an object and sets it in the respective field of this object.
addAny in interface CommonBaseEventany - A string representing an XML element.CommonBaseEvent.addAny(String)public void clearAny()
clearAny in interface CommonBaseEvent
public AssociatedEvent addAssociatedEvent(java.lang.String associationEngineName,
java.lang.String associationEngineType,
java.lang.String associationEngineId,
java.lang.String[] resolvedEvents)
CommonBaseEvent
It creates an AssociatedEvent object and sets it in
the respective field of this object.
addAssociatedEvent in interface CommonBaseEventassociationEngineName - name for the association engineassociationEngineType - type for the association engineassociationEngineId - identifier for the association engine.resolvedEvents - an array of globalInstanceIds that are associated
to this event
CommonBaseEvent.addAssociatedEvent(String, String, String, String[])
public ContextDataElement addContextDataElementWithValue(java.lang.String contextType,
java.lang.String contextName,
java.lang.String contextValue)
CommonBaseEvent
It creates a ContextDataElement object and sets it in
the respective field of this object.
addContextDataElementWithValue in interface CommonBaseEventcontextType - type of the contextcontextName - name of the contextcontextValue - contextValue of the context
CommonBaseEvent.addContextDataElementWithValue(String, String, String)
public ContextDataElement addContextDataElementWithId(java.lang.String contextType,
java.lang.String contextName,
java.lang.String contextId)
CommonBaseEvent
It creates a ContextDataElement object and sets it in
the respective field of this object.
addContextDataElementWithId in interface CommonBaseEventcontextType - type of the contextcontextName - name of the contextcontextId - contextId of the context
CommonBaseEvent.addContextDataElementWithId(String, String,String)
public ExtendedDataElement addExtendedDataElement(java.lang.String name,
int type,
java.lang.String value)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing the
value passed as parameter and adds it to the list of extended data
elements for this object.
addExtendedDataElement in interface CommonBaseEventname - the name for the new extended data element.type - represents the data type for the new
extended data element. Refer to the
ExtendedDataElement.TYPE_<type>_VALUE
constants for valid types.value - the value for the new extended data element.
CommonBaseEvent.addExtendedDataElement(String, int, String)
public ExtendedDataElement addExtendedDataElement(java.lang.String name,
int type,
java.lang.String[] values)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addExtendedDataElement in interface CommonBaseEventname - the name for the new extended data element.type - represents the data type for the new
extended data element. Refer to the
ExtendedDataElement.TYPE_<type>_VALUE
constants for valid types.values - the array of values for the new extended data
element.
CommonBaseEvent.addExtendedDataElement(String, int, String[])
public ExtendedDataElement addExtendedDataElement(java.lang.String name,
java.lang.String value)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing the
value passed as parameter and adds it to the list of extended data
elements for this object.
addExtendedDataElement in interface CommonBaseEventname - the name for the new extended data element.value - the value for the new extended data element.
CommonBaseEvent.addExtendedDataElement(String, String)
public ExtendedDataElement addExtendedDataElement(java.lang.String name,
java.lang.String[] values)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addExtendedDataElement in interface CommonBaseEventname - the name for the new extended data element.values - the array of String values for the
new extended data element.
CommonBaseEvent.addExtendedDataElement(String, String[])public ExtendedDataElement addExtendedDataElement(ExtendedDataElement extendedDataElement)
ExtendedDataElement to this object.
addExtendedDataElement in interface CommonBaseEventextendedDataElement - the new extended data element.
getExtendedDataElements()public ExtendedDataElement addExtendedDataElement(java.lang.String name)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object without
any values adds it to the list of extended data elements for this
object.
addExtendedDataElement in interface CommonBaseEventname - the name for the new extended data element.
CommonBaseEvent.addExtendedDataElement(String)
public ExtendedDataElement addExtendedDataElementWithByteArrayValue(java.lang.String name,
byte[] values)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addExtendedDataElementWithByteArrayValue in interface CommonBaseEventname - the name for the new extended data element.values - the array of byte values for the new
extended data element.
CommonBaseEvent.addExtendedDataElementWithByteArrayValue(String, byte[])
public ExtendedDataElement addExtendedDataElementWithByteValue(java.lang.String name,
byte value)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing the
value passed as parameter and adds it to the list of extended data
elements for this object.
addExtendedDataElementWithByteValue in interface CommonBaseEventname - the name for the new extended data element.value - the value for the new extended data element.
CommonBaseEvent.addExtendedDataElementWithByteValue(String, byte)public ExtendedDataElement addExtendedDataElementWithNoValue(java.lang.String name)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing no
value and adds it to the list of extended data elements for this
object.
addExtendedDataElementWithNoValue in interface CommonBaseEventname - the name for the new extended data element.
CommonBaseEvent.addExtendedDataElementWithNoValue(String)
public ExtendedDataElement addExtendedDataElementWithBooleanArrayValue(java.lang.String name,
boolean[] values)
CommonBaseEvent
addExtendedDataElementWithBooleanArrayValue in interface CommonBaseEventCommonBaseEvent.addExtendedDataElementWithBooleanArrayValue(java.lang.String, boolean[])
public ExtendedDataElement addExtendedDataElementWithBooleanValue(java.lang.String name,
boolean value)
CommonBaseEvent
addExtendedDataElementWithBooleanValue in interface CommonBaseEventCommonBaseEvent.addExtendedDataElementWithBooleanValue(java.lang.String, boolean)
public ExtendedDataElement addExtendedDataElementWithDateArrayValue(java.lang.String name,
java.lang.String[] values)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
The values correspond to a date time string according to the XML schema dateTime definition.
addExtendedDataElementWithDateArrayValue in interface CommonBaseEventname - the name for the new extended data element.values - the array of String instances
representing the date time values for the new
extended data element.
CommonBaseEvent.addExtendedDataElementWithDateArrayValue(String, String[])
public ExtendedDataElement addExtendedDataElementWithDateAsLongValue(java.lang.String name,
long value)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing the
value passed as parameter and adds it to the list of extended data
elements for this object.
addExtendedDataElementWithDateAsLongValue in interface CommonBaseEventname - the name for the new extended data element.value - number of milliseconds since January 1, 1970 UTC;
representing the date time value for the new
extended data element.
CommonBaseEvent.addExtendedDataElementWithDateAsLongValue(String, long)
public ExtendedDataElement addExtendedDataElementWithDateValue(java.lang.String name,
java.lang.String value)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing the
value passed as parameter and adds it to the list of extended data
elements for this object.
The value corresponds to a date time string according to the XML schema dateTime definition.
addExtendedDataElementWithDateValue in interface CommonBaseEventname - the name for the new extended data element.value - representation of the date time value for the new
extended data element.
CommonBaseEvent.addExtendedDataElementWithDateValue(String, String)
public ExtendedDataElement addExtendedDataElementWithDatesAsLongValue(java.lang.String name,
long[] values)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addExtendedDataElementWithDatesAsLongValue in interface CommonBaseEventname - the name for the new extended data element.values - the array of long values for the new
extended data element. Each value corresponds to
the number of milliseconds since January 1, 1970 UTC.
CommonBaseEvent.addExtendedDataElementWithDatesAsLongValue(String, long[])
public ExtendedDataElement addExtendedDataElementWithDoubleArrayValue(java.lang.String name,
double[] values)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addExtendedDataElementWithDoubleArrayValue in interface CommonBaseEventname - the name for the new extended data element.values - the array of double values for the new
extended data element.
CommonBaseEvent.addExtendedDataElementWithDoubleArrayValue(String, double[])
public ExtendedDataElement addExtendedDataElementWithDoubleValue(java.lang.String name,
double value)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing the
value passed as parameter and adds it to the list of extended data
elements for this object.
addExtendedDataElementWithDoubleValue in interface CommonBaseEventname - the name for the new extended data element.value - the double value that the new
ExtendedDataElement will contain.
CommonBaseEvent.addExtendedDataElementWithDoubleValue(String, double)
public ExtendedDataElement addExtendedDataElementWithFloatArrayValue(java.lang.String name,
float[] values)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addExtendedDataElementWithFloatArrayValue in interface CommonBaseEventname - the name for the new extended data element.values - the array of float/code> values for the new
extended data element.
- Returns:
- a reference to the extended data element added
to this object.
- See Also:
CommonBaseEvent.addExtendedDataElementWithFloatArrayValue(String, float[])
public ExtendedDataElement addExtendedDataElementWithFloatValue(java.lang.String name,
float value)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing the
value passed as parameter and adds it to the list of extended data
elements for this object.
addExtendedDataElementWithFloatValue in interface CommonBaseEventname - the name for the new extended data element.value - the value for the new extended data element.
CommonBaseEvent.addExtendedDataElementWithFloatValue(String, float)
public ExtendedDataElement addExtendedDataElementWithIntArrayValue(java.lang.String name,
int[] values)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addExtendedDataElementWithIntArrayValue in interface CommonBaseEventname - the name for the new extended data element.values - the array of int values for the new
extended data element.
CommonBaseEvent.addExtendedDataElementWithIntArrayValue(String, int[])
public ExtendedDataElement addExtendedDataElementWithIntValue(java.lang.String name,
int value)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing the
value passed as parameter and adds it to the list of extended data
elements for this object.
addExtendedDataElementWithIntValue in interface CommonBaseEventname - the name for the new extended data element.value - the value for the new extended data element.
CommonBaseEvent.addExtendedDataElementWithIntValue(String, int)
public ExtendedDataElement addExtendedDataElementWithLongArrayValue(java.lang.String name,
long[] values)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addExtendedDataElementWithLongArrayValue in interface CommonBaseEventname - the name for the new extended data element.values - the array of long values for the new
extended data element.
CommonBaseEvent.addExtendedDataElementWithLongArrayValue(String, long[])
public ExtendedDataElement addExtendedDataElementWithLongValue(java.lang.String name,
long value)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing the
value passed as parameter and adds it to the list of extended data
elements for this object.
addExtendedDataElementWithLongValue in interface CommonBaseEventname - the name for the new extended data element.value - the value for the new extended data element.
CommonBaseEvent.addExtendedDataElementWithLongValue(String, long)
public ExtendedDataElement addExtendedDataElementWithShortArrayValue(java.lang.String name,
short[] values)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the values
passed as parameters and adds it to the list of extended data elements
for this object.
addExtendedDataElementWithShortArrayValue in interface CommonBaseEventname - the name for the new extended data element.values - the array of short values for the new
extended data element.
CommonBaseEvent.addExtendedDataElementWithShortArrayValue(String, short[])
public ExtendedDataElement addExtendedDataElementWithShortValue(java.lang.String name,
short value)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object containing the
value passed as parameter and adds it to the list of extended data
elements for this object.
addExtendedDataElementWithShortValue in interface CommonBaseEventname - the name for the new extended data element.value - the value for the new extended data element.
CommonBaseEvent.addExtendedDataElementWithShortValue(String, short)
public ExtendedDataElement addExtendedDataElementWithHexValue(java.lang.String name,
byte[] hexValue)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the hexValue
passed as parameter and adds it to the list of extended data elements
for this object.
addExtendedDataElementWithHexValue in interface CommonBaseEventname - the name for the new extended data element.hexValue - the array of bytes for the hexValue
field of the new extended data element.
CommonBaseEvent.getExtendedDataElements()
public ExtendedDataElement addExtendedDataElementWithHexValue(java.lang.String name,
java.lang.String hexValue)
CommonBaseEventExtendedDataElement to this object.
It creates an ExtendedDataElement object with the hexValue
passed as parameter and adds it to the list of extended data elements
for this object.
addExtendedDataElementWithHexValue in interface CommonBaseEventname - the name for the new extended data element.hexValue - the hexadecimal string for the
hexValue field of the new
extended data element.
CommonBaseEvent.getExtendedDataElements()public void clearExtendedDataElements()
clearExtendedDataElements in interface CommonBaseEventpublic void removeExtendedDataElements(java.lang.String name)
removeExtendedDataElements in interface CommonBaseEventname - the name of the element to be removedpublic ContextDataElement addContextDataElement(ContextDataElement contextDataElement)
ContextDataElement to this object.
addContextDataElement in interface CommonBaseEventcontextDataElement - the new context data element.
getContextDataElements()public void clearContextDataElements()
clearContextDataElements in interface CommonBaseEventpublic void removeContextDataElements(java.lang.String name)
removeContextDataElements in interface CommonBaseEventname - the name of the element to be removedpublic AssociatedEvent addAssociatedEvent(AssociatedEvent associatedEvent)
AssociatedEvent to this object.
addAssociatedEvent in interface CommonBaseEventgetAssociatedEvents()public void clearAssociatedEvents()
clearAssociatedEvents in interface CommonBaseEvent
public org.eclipse.emf.common.notify.NotificationChain basicSetMsgDataElement(MsgDataElement newMsgDataElement,
org.eclipse.emf.common.notify.NotificationChain msgs)
public org.eclipse.emf.common.notify.NotificationChain basicSetReporterComponentId(ComponentIdentification newReporterComponentId,
org.eclipse.emf.common.notify.NotificationChain msgs)
public org.eclipse.emf.common.notify.NotificationChain basicSetSituation(Situation newSituation,
org.eclipse.emf.common.notify.NotificationChain msgs)
public org.eclipse.emf.common.notify.NotificationChain basicSetSourceComponentId(ComponentIdentification newSourceComponentId,
org.eclipse.emf.common.notify.NotificationChain msgs)
public void complete()
throws CompletionException
CommonBaseEvent
Invocations of this method cause the flag denoting if ContentHandler
associated with this event instance has been previously been invoked to be true.
complete in interface CommonBaseEventCompletionException - if the event content cannot be completed for
whatever reason.CommonBaseEvent.complete()public boolean isComplete()
CommonBaseEventContentHandler associated with this
event instance, if any, has been previously been invoked.
isComplete in interface CommonBaseEventContentHandler has been previously been invoked, otherwise false.
public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
boolean resolve)
eGet in interface org.eclipse.emf.ecore.EObject
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
java.lang.Class baseClass,
org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObjectpublic boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eIsSet in interface org.eclipse.emf.ecore.EObject
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
java.lang.Object newValue)
eSet in interface org.eclipse.emf.ecore.EObjectpublic void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eUnset in interface org.eclipse.emf.ecore.EObjectpublic boolean equals(java.lang.Object arg0)
public java.lang.String toString()
public void unsetCreationTime()
unsetCreationTime in interface CommonBaseEventCommonBaseEvent.isSetCreationTime(),
CommonBaseEvent.getCreationTime(),
CommonBaseEvent.setCreationTime(String)public void unsetElapsedTime()
unsetElapsedTime in interface CommonBaseEventCommonBaseEvent.isSetElapsedTime(),
CommonBaseEvent.getElapsedTime(),
CommonBaseEvent.setElapsedTime(long)public void unsetPriority()
unsetPriority in interface CommonBaseEventCommonBaseEvent.isSetPriority(),
CommonBaseEvent.getPriority(),
CommonBaseEvent.setPriority(short)public void unsetRepeatCount()
unsetRepeatCount in interface CommonBaseEventCommonBaseEvent.isSetRepeatCount(),
CommonBaseEvent.getRepeatCount(),
CommonBaseEvent.setRepeatCount(short)public void unsetSequenceNumber()
unsetSequenceNumber in interface CommonBaseEventCommonBaseEvent.isSetSequenceNumber(),
CommonBaseEvent.getSequenceNumber(),
CommonBaseEvent.setSequenceNumber(long)public void unsetSeverity()
unsetSeverity in interface CommonBaseEventCommonBaseEvent.isSetSeverity(),
CommonBaseEvent.getSeverity(),
CommonBaseEvent.setSeverity(short)
public void validate()
throws ValidationException
validate in interface CommonBaseEventValidationException - if the event instance does not follow the
CBE specification.protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class SerializableImplpublic java.lang.String externalizeCanonicalXmlString()
externalizeCanonicalXmlString in interface org.eclipse.hyades.logging.core.IExternalizableToXmlIExternalizableToXml.externalizeCanonicalXmlString()public java.lang.String externalizeCanonicalXmlDocString()
externalizeCanonicalXmlDocString in interface org.eclipse.hyades.logging.core.IExternalizableToXmlIExternalizableToXml.externalizeCanonicalXmlDocString()public void internalizeCanonicalXmlString(java.lang.String value)
internalizeCanonicalXmlString in interface org.eclipse.hyades.logging.core.IInternalizableFromXmlIInternalizableFromXml.internalizeCanonicalXmlString(java.lang.String)public void internalizeCanonicalXmlDocString(java.lang.String value)
internalizeCanonicalXmlDocString in interface org.eclipse.hyades.logging.core.IInternalizableFromXmlIInternalizableFromXml.internalizeCanonicalXmlDocString(java.lang.String)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedExceptionpublic void init()
init in interface CommonBaseEvent
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||