|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.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'.
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()
|
ContentHandler |
getContentHandler()
Gets the ContentHandler associated with this
event instance.
|
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. null) state. |
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 CommonBaseEvent
EventPackage.getCommonBaseEvent_Any()
public org.eclipse.emf.common.util.EList getAssociatedEvents()
getAssociatedEvents
in interface CommonBaseEvent
EventPackage.getCommonBaseEvent_AssociatedEvents()
public void setContentHandler(ContentHandler contentHandler)
CommonBaseEvent
ContentHandler
associated with this
event instance.
Invocations of this method cause the flag denoting if the ContentHandler
associated with this event instance has been previously invoked to be false
.
setContentHandler
in interface CommonBaseEvent
contentHandler
- The new ContentHandler
associated with this event instance.CommonBaseEvent.setContentHandler(org.eclipse.hyades.logging.events.cbe.ContentHandler)
public ContentHandler getContentHandler()
CommonBaseEvent
ContentHandler
associated with this
event instance.
getContentHandler
in interface CommonBaseEvent
ContentHandler
associated with this event instance.CommonBaseEvent.getContentHandler()
public org.eclipse.emf.common.util.EList getContextDataElements()
getContextDataElements
in interface CommonBaseEvent
EventPackage.getCommonBaseEvent_ContextDataElements()
public org.eclipse.emf.common.util.EList getContextDataElements(java.lang.String name)
CommonBaseEvent
getContextDataElements
in interface CommonBaseEvent
name
- the name of the element to be found
CommonBaseEvent.getContextDataElements(String)
public void setCreationTime(java.lang.String newCreationTime)
setCreationTime
in interface CommonBaseEvent
newCreationTime
- the new value of the 'Creation Time' attribute.CommonBaseEvent.isSetCreationTime()
,
CommonBaseEvent.unsetCreationTime()
,
CommonBaseEvent.getCreationTime()
public java.lang.String getCreationTime()
getCreationTime
in interface CommonBaseEvent
CommonBaseEvent.isSetCreationTime()
,
CommonBaseEvent.unsetCreationTime()
,
CommonBaseEvent.setCreationTime(String)
,
EventPackage.getCommonBaseEvent_CreationTime()
public void setCreationTimeAsLong(long inDateTime)
CommonBaseEvent
Sets the value of the 'Creation Time' attribute.
setCreationTimeAsLong
in interface CommonBaseEvent
inDateTime
- 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()
CommonBaseEvent
Returns the value of the 'Creation Time' attribute.
getCreationTimeAsLong
in interface CommonBaseEvent
Converts 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:00
public void setElapsedTime(long newElapsedTime)
setElapsedTime
in interface CommonBaseEvent
newElapsedTime
- the new value of the 'Elapsed Time' attribute.CommonBaseEvent.isSetElapsedTime()
,
CommonBaseEvent.unsetElapsedTime()
,
CommonBaseEvent.getElapsedTime()
public long getElapsedTime()
getElapsedTime
in interface CommonBaseEvent
CommonBaseEvent.isSetElapsedTime()
,
CommonBaseEvent.unsetElapsedTime()
,
CommonBaseEvent.setElapsedTime(long)
,
EventPackage.getCommonBaseEvent_ElapsedTime()
public org.eclipse.emf.common.util.EList getExtendedDataElements()
getExtendedDataElements
in interface CommonBaseEvent
EventPackage.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 CommonBaseEvent
name
- the name of the ExtendedDataElement
ExtendedDataElement
objects.CommonBaseEvent.getExtendedDataElements(String)
public void setExtensionName(java.lang.String newExtensionName)
setExtensionName
in interface CommonBaseEvent
newExtensionName
- the new value of the 'Extension Name' attribute.CommonBaseEvent.getExtensionName()
public java.lang.String getExtensionName()
getExtensionName
in interface CommonBaseEvent
CommonBaseEvent.setExtensionName(String)
,
EventPackage.getCommonBaseEvent_ExtensionName()
public void setGlobalInstanceId(java.lang.String newGlobalInstanceId)
setGlobalInstanceId
in interface CommonBaseEvent
newGlobalInstanceId
- the new value of the 'Global Instance ID' attribute.CommonBaseEvent.getGlobalInstanceId()
public java.lang.String getGlobalInstanceId()
getGlobalInstanceId
in interface CommonBaseEvent
CommonBaseEvent.setGlobalInstanceId(String)
,
EventPackage.getCommonBaseEvent_GlobalInstanceId()
public void setLocalInstanceId(java.lang.String newLocalInstanceId)
setLocalInstanceId
in interface CommonBaseEvent
newLocalInstanceId
- the new value of the 'Local Instance ID' attribute.CommonBaseEvent.getLocalInstanceId()
public java.lang.String getLocalInstanceId()
getLocalInstanceId
in interface CommonBaseEvent
CommonBaseEvent.setLocalInstanceId(String)
,
EventPackage.getCommonBaseEvent_LocalInstanceId()
public void setMsg(java.lang.String newMsg)
setMsg
in interface CommonBaseEvent
newMsg
- the new value of the 'Msg' attribute.CommonBaseEvent.getMsg()
public java.lang.String getMsg()
getMsg
in interface CommonBaseEvent
CommonBaseEvent.setMsg(String)
,
EventPackage.getCommonBaseEvent_Msg()
public void setMsgDataElement(MsgDataElement newMsgDataElement)
setMsgDataElement
in interface CommonBaseEvent
newMsgDataElement
- 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)
CommonBaseEvent
MsgDataElement
to this object.
It creates a MsgDataElement
object and sets it in the
respective field of this object.
setMsgDataElement
in interface CommonBaseEvent
msgCatalog
- the message catalog for this
MsgDataElement
msgCatalogId
- the message catalog ID for this
MsgDataElement
tokens
- the message catalog tokens for this
MsgDataElement
msgCatalogType
- the message catalog type for this
MsgDataElement
msgId
- the message ID for this MsgDataElement
msgIdType
- the message ID type for this
MsgDataElement
msgCatalogLocale
- 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)
CommonBaseEvent
MsgDataElement
to this object.
It creates a MsgDataElement
object and sets it in the
respective field of this object.
setMsgDataElement
in interface CommonBaseEvent
msgCatalog
- the message catalog for this
MsgDataElement
msgCatalogId
- the message catalog ID for this
MsgDataElement
tokens
- the message catalog tokens for this
MsgDataElement
msgCatalogType
- the message catalog type for this
MsgDataElement
msgId
- the message ID for this MsgDataElement
msgIdType
- the message ID type for this
MsgDataElement
msgCatalogLocale
- the locale for this MsgDataElement
CommonBaseEvent.setMsgDataElement(String, String, String[], String, String, String, String)
public MsgDataElement getMsgDataElement()
getMsgDataElement
in interface CommonBaseEvent
CommonBaseEvent.setMsgDataElement(MsgDataElement)
,
EventPackage.getCommonBaseEvent_MsgDataElement()
public void setPriority(short newPriority)
setPriority
in interface CommonBaseEvent
newPriority
- the new value of the 'Priority' attribute.CommonBaseEvent.isSetPriority()
,
CommonBaseEvent.unsetPriority()
,
CommonBaseEvent.getPriority()
public short getPriority()
getPriority
in interface CommonBaseEvent
CommonBaseEvent.isSetPriority()
,
CommonBaseEvent.unsetPriority()
,
CommonBaseEvent.setPriority(short)
,
EventPackage.getCommonBaseEvent_Priority()
public void setRepeatCount(short newRepeatCount)
setRepeatCount
in interface CommonBaseEvent
newRepeatCount
- the new value of the 'Repeat Count' attribute.CommonBaseEvent.isSetRepeatCount()
,
CommonBaseEvent.unsetRepeatCount()
,
CommonBaseEvent.getRepeatCount()
public short getRepeatCount()
getRepeatCount
in interface CommonBaseEvent
CommonBaseEvent.isSetRepeatCount()
,
CommonBaseEvent.unsetRepeatCount()
,
CommonBaseEvent.setRepeatCount(short)
,
EventPackage.getCommonBaseEvent_RepeatCount()
public void setReporterComponentId(ComponentIdentification newReporterComponentId)
setReporterComponentId
in interface CommonBaseEvent
newReporterComponentId
- 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)
CommonBaseEvent
Helper 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 CommonBaseEvent
application
- 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 CommonBaseEvent
application
- 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 CommonBaseEvent
CommonBaseEvent.setReporterComponentId(ComponentIdentification)
,
EventPackage.getCommonBaseEvent_ReporterComponentId()
public void setSequenceNumber(long newSequenceNumber)
setSequenceNumber
in interface CommonBaseEvent
newSequenceNumber
- the new value of the 'Sequence Number' attribute.CommonBaseEvent.isSetSequenceNumber()
,
CommonBaseEvent.unsetSequenceNumber()
,
CommonBaseEvent.getSequenceNumber()
public long getSequenceNumber()
getSequenceNumber
in interface CommonBaseEvent
CommonBaseEvent.isSetSequenceNumber()
,
CommonBaseEvent.unsetSequenceNumber()
,
CommonBaseEvent.setSequenceNumber(long)
,
EventPackage.getCommonBaseEvent_SequenceNumber()
public boolean isSetCreationTime()
isSetCreationTime
in interface CommonBaseEvent
CommonBaseEvent.unsetCreationTime()
,
CommonBaseEvent.getCreationTime()
,
CommonBaseEvent.setCreationTime(String)
public boolean isSetElapsedTime()
isSetElapsedTime
in interface CommonBaseEvent
CommonBaseEvent.unsetElapsedTime()
,
CommonBaseEvent.getElapsedTime()
,
CommonBaseEvent.setElapsedTime(long)
public boolean isSetPriority()
isSetPriority
in interface CommonBaseEvent
CommonBaseEvent.unsetPriority()
,
CommonBaseEvent.getPriority()
,
CommonBaseEvent.setPriority(short)
public boolean isSetRepeatCount()
isSetRepeatCount
in interface CommonBaseEvent
CommonBaseEvent.unsetRepeatCount()
,
CommonBaseEvent.getRepeatCount()
,
CommonBaseEvent.setRepeatCount(short)
public boolean isSetSequenceNumber()
isSetSequenceNumber
in interface CommonBaseEvent
CommonBaseEvent.unsetSequenceNumber()
,
CommonBaseEvent.getSequenceNumber()
,
CommonBaseEvent.setSequenceNumber(long)
public boolean isSetSeverity()
isSetSeverity
in interface CommonBaseEvent
CommonBaseEvent.unsetSeverity()
,
CommonBaseEvent.getSeverity()
,
CommonBaseEvent.setSeverity(short)
public void setSeverity(short newSeverity)
setSeverity
in interface CommonBaseEvent
newSeverity
- the new value of the 'Severity' attribute.CommonBaseEvent.isSetSeverity()
,
CommonBaseEvent.unsetSeverity()
,
CommonBaseEvent.getSeverity()
public short getSeverity()
getSeverity
in interface CommonBaseEvent
CommonBaseEvent.isSetSeverity()
,
CommonBaseEvent.unsetSeverity()
,
CommonBaseEvent.setSeverity(short)
,
EventPackage.getCommonBaseEvent_Severity()
public void setSituation(Situation newSituation)
setSituation
in interface CommonBaseEvent
newSituation
- the new value of the 'Situation' containment reference.CommonBaseEvent.getSituation()
public Situation getSituation()
getSituation
in interface CommonBaseEvent
CommonBaseEvent.setSituation(Situation)
,
EventPackage.getCommonBaseEvent_Situation()
public void setSourceComponentId(ComponentIdentification newSourceComponentId)
setSourceComponentId
in interface CommonBaseEvent
newSourceComponentId
- 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 CommonBaseEvent
application
- 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 CommonBaseEvent
application
- 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 CommonBaseEvent
CommonBaseEvent.setSourceComponentId(ComponentIdentification)
,
EventPackage.getCommonBaseEvent_SourceComponentId()
public void setVersion(java.lang.String newVersion)
setVersion
in interface CommonBaseEvent
newVersion
- the new value of the 'Version' attribute.CommonBaseEvent.getVersion()
public java.lang.String getVersion()
getVersion
in interface CommonBaseEvent
CommonBaseEvent.setVersion(String)
,
EventPackage.getCommonBaseEvent_Version()
public void addAny(java.lang.String any)
CommonBaseEvent
It creates an object and sets it in the respective field of this object.
addAny
in interface CommonBaseEvent
any
- 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 CommonBaseEvent
associationEngineName
- 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 CommonBaseEvent
contextType
- 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 CommonBaseEvent
contextType
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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 CommonBaseEvent
extendedDataElement
- the new extended data element.
getExtendedDataElements()
public ExtendedDataElement addExtendedDataElement(java.lang.String name)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- the name for the new extended data element.
CommonBaseEvent.addExtendedDataElement(String)
public ExtendedDataElement addExtendedDataElementWithByteArrayValue(java.lang.String name, byte[] values)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- the name for the new extended data element.
CommonBaseEvent.addExtendedDataElementWithNoValue(String)
public ExtendedDataElement addExtendedDataElementWithBooleanArrayValue(java.lang.String name, boolean[] values)
CommonBaseEvent
addExtendedDataElementWithBooleanArrayValue
in interface CommonBaseEvent
CommonBaseEvent.addExtendedDataElementWithBooleanArrayValue(java.lang.String, boolean[])
public ExtendedDataElement addExtendedDataElementWithBooleanValue(java.lang.String name, boolean value)
CommonBaseEvent
addExtendedDataElementWithBooleanValue
in interface CommonBaseEvent
CommonBaseEvent.addExtendedDataElementWithBooleanValue(java.lang.String, boolean)
public ExtendedDataElement addExtendedDataElementWithDateArrayValue(java.lang.String name, java.lang.String[] values)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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)
CommonBaseEvent
ExtendedDataElement
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 CommonBaseEvent
name
- 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 CommonBaseEvent
public void removeExtendedDataElements(java.lang.String name)
removeExtendedDataElements
in interface CommonBaseEvent
name
- the name of the element to be removedpublic ContextDataElement addContextDataElement(ContextDataElement contextDataElement)
ContextDataElement
to this object.
addContextDataElement
in interface CommonBaseEvent
contextDataElement
- the new context data element.
getContextDataElements()
public void clearContextDataElements()
clearContextDataElements
in interface CommonBaseEvent
public void removeContextDataElements(java.lang.String name)
removeContextDataElements
in interface CommonBaseEvent
name
- the name of the element to be removedpublic AssociatedEvent addAssociatedEvent(AssociatedEvent associatedEvent)
AssociatedEvent
to this object.
addAssociatedEvent
in interface CommonBaseEvent
getAssociatedEvents()
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 CommonBaseEvent
CompletionException
- if the event content cannot be completed for
whatever reason.CommonBaseEvent.complete()
public boolean isComplete()
CommonBaseEvent
ContentHandler
associated with this
event instance, if any, has been previously been invoked.
isComplete
in interface CommonBaseEvent
ContentHandler
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
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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.InternalEObject
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eIsSet
in interface org.eclipse.emf.ecore.EObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.EObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
eUnset
in interface org.eclipse.emf.ecore.EObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean equals(java.lang.Object arg0)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void unsetCreationTime()
unsetCreationTime
in interface CommonBaseEvent
CommonBaseEvent.isSetCreationTime()
,
CommonBaseEvent.getCreationTime()
,
CommonBaseEvent.setCreationTime(String)
public void unsetElapsedTime()
unsetElapsedTime
in interface CommonBaseEvent
CommonBaseEvent.isSetElapsedTime()
,
CommonBaseEvent.getElapsedTime()
,
CommonBaseEvent.setElapsedTime(long)
public void unsetPriority()
unsetPriority
in interface CommonBaseEvent
CommonBaseEvent.isSetPriority()
,
CommonBaseEvent.getPriority()
,
CommonBaseEvent.setPriority(short)
public void unsetRepeatCount()
unsetRepeatCount
in interface CommonBaseEvent
CommonBaseEvent.isSetRepeatCount()
,
CommonBaseEvent.getRepeatCount()
,
CommonBaseEvent.setRepeatCount(short)
public void unsetSequenceNumber()
unsetSequenceNumber
in interface CommonBaseEvent
CommonBaseEvent.isSetSequenceNumber()
,
CommonBaseEvent.getSequenceNumber()
,
CommonBaseEvent.setSequenceNumber(long)
public void unsetSeverity()
unsetSeverity
in interface CommonBaseEvent
CommonBaseEvent.isSetSeverity()
,
CommonBaseEvent.getSeverity()
,
CommonBaseEvent.setSeverity(short)
public void validate() throws ValidationException
validate
in interface CommonBaseEvent
ValidationException
- if the event instance does not follow the
CBE specification.protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class SerializableImpl
public java.lang.String externalizeCanonicalXmlString()
externalizeCanonicalXmlString
in interface org.eclipse.hyades.logging.core.IExternalizableToXml
IExternalizableToXml.externalizeCanonicalXmlString()
public java.lang.String externalizeCanonicalXmlDocString()
externalizeCanonicalXmlDocString
in interface org.eclipse.hyades.logging.core.IExternalizableToXml
IExternalizableToXml.externalizeCanonicalXmlDocString()
public void internalizeCanonicalXmlString(java.lang.String value)
internalizeCanonicalXmlString
in interface org.eclipse.hyades.logging.core.IInternalizableFromXml
IInternalizableFromXml.internalizeCanonicalXmlString(java.lang.String)
public void internalizeCanonicalXmlDocString(java.lang.String value)
internalizeCanonicalXmlDocString
in interface org.eclipse.hyades.logging.core.IInternalizableFromXml
IInternalizableFromXml.internalizeCanonicalXmlDocString(java.lang.String)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void init()
init
in interface CommonBaseEvent
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |