TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.tptp.symptom.eventwrappers
Class CommonBaseEventImpl

java.lang.Object
  extended byorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended byorg.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended byorg.eclipse.emf.ecore.impl.EObjectImpl
              extended byorg.eclipse.hyades.logging.events.cbe.impl.SerializableImpl
                  extended byorg.eclipse.hyades.logging.events.cbe.impl.CommonBaseEventImpl
                      extended byorg.eclipse.tptp.symptom.eventwrappers.CommonBaseEventImpl
All Implemented Interfaces:
java.lang.Cloneable, CommonBaseEvent, org.eclipse.emf.ecore.EObject, ICommonBaseEvent, IExternalizableToXml, IInternalizableFromXml, org.eclipse.emf.ecore.InternalEObject, ISerializableAsXml, org.eclipse.emf.common.notify.Notifier, java.io.Serializable

public class CommonBaseEventImpl
extends CommonBaseEventImpl

See Also:
Serialized Form

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.EPropertiesHolderBaseImpl, 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  CBECommonBaseEvent event
           
 
Fields inherited from class org.eclipse.hyades.logging.events.cbe.impl.CommonBaseEventImpl
any, associatedEvents, contextDataElements, CREATION_TIME_EDEFAULT, creationTime, creationTimeESet, ELAPSED_TIME_EDEFAULT, elapsedTime, elapsedTimeESet, extendedDataElements, EXTENSION_NAME_EDEFAULT, extensionName, GLOBAL_INSTANCE_ID_EDEFAULT, globalInstanceId, LOCAL_INSTANCE_ID_EDEFAULT, localInstanceId, msg, MSG_EDEFAULT, msgDataElement, priority, PRIORITY_EDEFAULT, priorityESet, REPEAT_COUNT_EDEFAULT, repeatCount, repeatCountESet, reporterComponentId, SEQUENCE_NUMBER_EDEFAULT, sequenceNumber, sequenceNumberESet, severity, SEVERITY_EDEFAULT, severityESet, situation, sourceComponentId, version, VERSION_EDEFAULT
 
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 class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
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
CommonBaseEventImpl()
           
CommonBaseEventImpl(CBECommonBaseEvent event)
           
 
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.
 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
 void complete()
          Invokes the content handler associated, if any, with this event instance.
 org.eclipse.emf.common.util.EList eAdapters()
           
 org.eclipse.emf.common.util.TreeIterator eAllContents()
           
 org.eclipse.emf.ecore.EObject eContainer()
           
 org.eclipse.emf.ecore.EStructuralFeature eContainingFeature()
           
 org.eclipse.emf.ecore.EReference eContainmentFeature()
           
 org.eclipse.emf.common.util.EList eContents()
           
 org.eclipse.emf.common.util.EList eCrossReferences()
           
 boolean eDeliver()
           
 boolean eIsProxy()
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eNotify(org.eclipse.emf.common.notify.Notification notification)
           
 org.eclipse.emf.ecore.resource.Resource eResource()
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature feature, java.lang.Object newValue)
           
 void eSetDeliver(boolean deliver)
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature feature)
           
 TRCAgent getAgent()
           
 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 creation time in milliseconds
 long getElapsedTime()
           
 CBECommonBaseEvent getEvent()
           
 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.
 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 value)
           
 void setCreationTimeAsLong(long creationTime)
          Sets the XSD dateTime 'Creation Time' attribute as a long (milliseconds) time stamp.
 void setElapsedTime(long value)
           
 void setEvent(CBECommonBaseEvent event)
           
 void setExtensionName(java.lang.String value)
           
 void setGlobalInstanceId(java.lang.String value)
           
 void setLocalInstanceId(java.lang.String value)
           
 void setMsg(java.lang.String value)
           
 void setMsgDataElement(MsgDataElement value)
           
 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 value)
           
 void setRepeatCount(short value)
           
 void setReporterComponentId(ComponentIdentification value)
           
 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 value)
           
 void setSeverity(short value)
           
 void setSituation(Situation value)
           
 void setSourceComponentId(ComponentIdentification value)
           
 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 value)
           
 void unsetCreationTime()
           
 void unsetElapsedTime()
           
 void unsetPriority()
           
 void unsetRepeatCount()
           
 void unsetSequenceNumber()
           
 void unsetSeverity()
           
 void validate()
          Checks whether the contents of the instance conform to the Common Base Event specification as described in "Canonical Situation Data Format: The Common Base Event V1.0.1".
 
Methods inherited from class org.eclipse.hyades.logging.events.cbe.impl.CommonBaseEventImpl
basicSetMsgDataElement, basicSetReporterComponentId, basicSetSituation, basicSetSourceComponentId, clone, eGet, eInverseRemove, equals, eStaticClass, externalizeCanonicalXmlDocString, externalizeCanonicalXmlString, internalizeCanonicalXmlDocString, internalizeCanonicalXmlString, toString
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eInternalContainer, eProperties, eSetClass, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStore, eUnset, eURIFragmentSegment, eVirtualBitCount, eVirtualGet, eVirtualGet, eVirtualIndex, eVirtualIndexBits, eVirtualIsSet, eVirtualSet, eVirtualUnset, eVirtualValue, eVirtualValues
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eClass, eGet
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

event

protected CBECommonBaseEvent event
Constructor Detail

CommonBaseEventImpl

public CommonBaseEventImpl(CBECommonBaseEvent event)

CommonBaseEventImpl

public CommonBaseEventImpl()
Method Detail

getEvent

public CBECommonBaseEvent getEvent()

setEvent

public void setEvent(CBECommonBaseEvent event)

getAgent

public TRCAgent getAgent()

getAny

public org.eclipse.emf.common.util.EList getAny()
Description copied from class: CommonBaseEventImpl

Specified by:
getAny in interface CommonBaseEvent
Overrides:
getAny in class CommonBaseEventImpl

getAssociatedEvents

public org.eclipse.emf.common.util.EList getAssociatedEvents()
Description copied from class: CommonBaseEventImpl

Specified by:
getAssociatedEvents in interface CommonBaseEvent
Overrides:
getAssociatedEvents in class CommonBaseEventImpl

getContextDataElements

public org.eclipse.emf.common.util.EList getContextDataElements()
Description copied from class: CommonBaseEventImpl

Specified by:
getContextDataElements in interface CommonBaseEvent
Overrides:
getContextDataElements in class CommonBaseEventImpl

getContextDataElements

public org.eclipse.emf.common.util.EList getContextDataElements(java.lang.String name)
Description copied from interface: CommonBaseEvent
Get a named a context that this event is referencing. See the ContextDataElement definition (described on page 28) for details.

Specified by:
getContextDataElements in interface CommonBaseEvent
Overrides:
getContextDataElements in class CommonBaseEventImpl
See Also:
CommonBaseEvent.getContextDataElements(String)

setCreationTime

public void setCreationTime(java.lang.String value)
Description copied from class: CommonBaseEventImpl

Specified by:
setCreationTime in interface CommonBaseEvent
Overrides:
setCreationTime in class CommonBaseEventImpl

unsetCreationTime

public void unsetCreationTime()
Description copied from class: CommonBaseEventImpl

Specified by:
unsetCreationTime in interface CommonBaseEvent
Overrides:
unsetCreationTime in class CommonBaseEventImpl

isSetCreationTime

public boolean isSetCreationTime()
Description copied from class: CommonBaseEventImpl

Specified by:
isSetCreationTime in interface CommonBaseEvent
Overrides:
isSetCreationTime in class CommonBaseEventImpl

getCreationTime

public java.lang.String getCreationTime()
Description copied from class: CommonBaseEventImpl

Specified by:
getCreationTime in interface CommonBaseEvent
Overrides:
getCreationTime in class CommonBaseEventImpl

setCreationTimeAsLong

public void setCreationTimeAsLong(long creationTime)
Description copied from class: CommonBaseEventImpl
Sets the XSD dateTime 'Creation Time' attribute as a long (milliseconds) time stamp.

See EventHelpers.dateToLong(String) for more information on the long (milliseconds) and XSD dateTime time stamp formats and the conversion from a long time stamp to an XSD dateTime time stamp.

Specified by:
setCreationTimeAsLong in interface CommonBaseEvent
Overrides:
setCreationTimeAsLong in class CommonBaseEventImpl
Parameters:
creationTime - The long (milliseconds) time stamp to be converted to the XSD dateTime 'Creation Time' attribute.
See Also:
CommonBaseEvent.setCreationTimeAsLong(long), EventHelpers.dateToLong(String)

getCreationTimeAsLong

public long getCreationTimeAsLong()
returns creation time in milliseconds

Specified by:
getCreationTimeAsLong in interface CommonBaseEvent
Overrides:
getCreationTimeAsLong in class CommonBaseEventImpl
Returns:
The long (milliseconds) time stamp representation of the XSD dateTime 'Creation Time' attribute.
See Also:
CommonBaseEvent.getCreationTimeAsLong(), EventHelpers.dateToLong(String)

getElapsedTime

public long getElapsedTime()
Description copied from class: CommonBaseEventImpl

Specified by:
getElapsedTime in interface CommonBaseEvent
Overrides:
getElapsedTime in class CommonBaseEventImpl

setElapsedTime

public void setElapsedTime(long value)
Description copied from class: CommonBaseEventImpl

Specified by:
setElapsedTime in interface CommonBaseEvent
Overrides:
setElapsedTime in class CommonBaseEventImpl

unsetElapsedTime

public void unsetElapsedTime()
Description copied from class: CommonBaseEventImpl

Specified by:
unsetElapsedTime in interface CommonBaseEvent
Overrides:
unsetElapsedTime in class CommonBaseEventImpl

isSetElapsedTime

public boolean isSetElapsedTime()
Description copied from class: CommonBaseEventImpl

Specified by:
isSetElapsedTime in interface CommonBaseEvent
Overrides:
isSetElapsedTime in class CommonBaseEventImpl

getExtendedDataElements

public org.eclipse.emf.common.util.EList getExtendedDataElements(java.lang.String name)
Description copied from interface: CommonBaseEvent

Returns a named ExtendedDataElement from the list of ExtendedDataElement objects.

Specified by:
getExtendedDataElements in interface CommonBaseEvent
Overrides:
getExtendedDataElements in class CommonBaseEventImpl
See Also:
CommonBaseEvent.getExtendedDataElements(String)

getExtendedDataElements

public org.eclipse.emf.common.util.EList getExtendedDataElements()
Description copied from class: CommonBaseEventImpl

Specified by:
getExtendedDataElements in interface CommonBaseEvent
Overrides:
getExtendedDataElements in class CommonBaseEventImpl

setExtensionName

public void setExtensionName(java.lang.String value)
Description copied from class: CommonBaseEventImpl

Specified by:
setExtensionName in interface CommonBaseEvent
Overrides:
setExtensionName in class CommonBaseEventImpl

getExtensionName

public java.lang.String getExtensionName()
Description copied from class: CommonBaseEventImpl

Specified by:
getExtensionName in interface CommonBaseEvent
Overrides:
getExtensionName in class CommonBaseEventImpl

setGlobalInstanceId

public void setGlobalInstanceId(java.lang.String value)
Description copied from class: CommonBaseEventImpl

Specified by:
setGlobalInstanceId in interface CommonBaseEvent
Overrides:
setGlobalInstanceId in class CommonBaseEventImpl

getGlobalInstanceId

public java.lang.String getGlobalInstanceId()
Description copied from class: CommonBaseEventImpl

Specified by:
getGlobalInstanceId in interface CommonBaseEvent
Overrides:
getGlobalInstanceId in class CommonBaseEventImpl

setLocalInstanceId

public void setLocalInstanceId(java.lang.String value)
Description copied from class: CommonBaseEventImpl

Specified by:
setLocalInstanceId in interface CommonBaseEvent
Overrides:
setLocalInstanceId in class CommonBaseEventImpl

getLocalInstanceId

public java.lang.String getLocalInstanceId()
Description copied from class: CommonBaseEventImpl

Specified by:
getLocalInstanceId in interface CommonBaseEvent
Overrides:
getLocalInstanceId in class CommonBaseEventImpl

setMsg

public void setMsg(java.lang.String value)
Description copied from class: CommonBaseEventImpl

Specified by:
setMsg in interface CommonBaseEvent
Overrides:
setMsg in class CommonBaseEventImpl

getMsg

public java.lang.String getMsg()
Description copied from class: CommonBaseEventImpl

Specified by:
getMsg in interface CommonBaseEvent
Overrides:
getMsg in class CommonBaseEventImpl

setMsgDataElement

public void setMsgDataElement(MsgDataElement value)
Description copied from class: CommonBaseEventImpl

Specified by:
setMsgDataElement in interface CommonBaseEvent
Overrides:
setMsgDataElement in class CommonBaseEventImpl

getMsgDataElement

public MsgDataElement getMsgDataElement()
Description copied from class: CommonBaseEventImpl

Specified by:
getMsgDataElement in interface CommonBaseEvent
Overrides:
getMsgDataElement in class CommonBaseEventImpl

setPriority

public void setPriority(short value)
Description copied from class: CommonBaseEventImpl

Specified by:
setPriority in interface CommonBaseEvent
Overrides:
setPriority in class CommonBaseEventImpl

unsetPriority

public void unsetPriority()
Description copied from class: CommonBaseEventImpl

Specified by:
unsetPriority in interface CommonBaseEvent
Overrides:
unsetPriority in class CommonBaseEventImpl

isSetPriority

public boolean isSetPriority()
Description copied from class: CommonBaseEventImpl

Specified by:
isSetPriority in interface CommonBaseEvent
Overrides:
isSetPriority in class CommonBaseEventImpl

getPriority

public short getPriority()
Description copied from class: CommonBaseEventImpl

Specified by:
getPriority in interface CommonBaseEvent
Overrides:
getPriority in class CommonBaseEventImpl

setRepeatCount

public void setRepeatCount(short value)
Description copied from class: CommonBaseEventImpl

Specified by:
setRepeatCount in interface CommonBaseEvent
Overrides:
setRepeatCount in class CommonBaseEventImpl

unsetRepeatCount

public void unsetRepeatCount()
Description copied from class: CommonBaseEventImpl

Specified by:
unsetRepeatCount in interface CommonBaseEvent
Overrides:
unsetRepeatCount in class CommonBaseEventImpl

isSetRepeatCount

public boolean isSetRepeatCount()
Description copied from class: CommonBaseEventImpl

Specified by:
isSetRepeatCount in interface CommonBaseEvent
Overrides:
isSetRepeatCount in class CommonBaseEventImpl

getRepeatCount

public short getRepeatCount()
Description copied from class: CommonBaseEventImpl

Specified by:
getRepeatCount in interface CommonBaseEvent
Overrides:
getRepeatCount in class CommonBaseEventImpl

setReporterComponentId

public void setReporterComponentId(ComponentIdentification value)
Description copied from class: CommonBaseEventImpl

Specified by:
setReporterComponentId in interface CommonBaseEvent
Overrides:
setReporterComponentId in class CommonBaseEventImpl

setReporterComponentId

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)
Description copied from interface: CommonBaseEvent
Sets the reporter component identifier for this event.

It creates a ComponentIdentification object and sets it in the respective field of this object.

Specified by:
setReporterComponentId in interface CommonBaseEvent
Overrides:
setReporterComponentId in class CommonBaseEventImpl
See Also:
CommonBaseEvent.setReporterComponentId(String, String, String, String, String, String, String)

setReporterComponentId

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)
Description copied from interface: 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.

Specified by:
setReporterComponentId in interface CommonBaseEvent
Overrides:
setReporterComponentId in class CommonBaseEventImpl
See Also:
CommonBaseEvent.setReporterComponentId(String, String, String, String, String, String, String, String, String, String,String)

getReporterComponentId

public ComponentIdentification getReporterComponentId()
Description copied from class: CommonBaseEventImpl

Specified by:
getReporterComponentId in interface CommonBaseEvent
Overrides:
getReporterComponentId in class CommonBaseEventImpl

setSequenceNumber

public void setSequenceNumber(long value)
Description copied from class: CommonBaseEventImpl

Specified by:
setSequenceNumber in interface CommonBaseEvent
Overrides:
setSequenceNumber in class CommonBaseEventImpl

unsetSequenceNumber

public void unsetSequenceNumber()
Description copied from class: CommonBaseEventImpl

Specified by:
unsetSequenceNumber in interface CommonBaseEvent
Overrides:
unsetSequenceNumber in class CommonBaseEventImpl

isSetSequenceNumber

public boolean isSetSequenceNumber()
Description copied from class: CommonBaseEventImpl

Specified by:
isSetSequenceNumber in interface CommonBaseEvent
Overrides:
isSetSequenceNumber in class CommonBaseEventImpl

getSequenceNumber

public long getSequenceNumber()
Description copied from class: CommonBaseEventImpl

Specified by:
getSequenceNumber in interface CommonBaseEvent
Overrides:
getSequenceNumber in class CommonBaseEventImpl

setSeverity

public void setSeverity(short value)
Description copied from class: CommonBaseEventImpl

Specified by:
setSeverity in interface CommonBaseEvent
Overrides:
setSeverity in class CommonBaseEventImpl

unsetSeverity

public void unsetSeverity()
Description copied from class: CommonBaseEventImpl

Specified by:
unsetSeverity in interface CommonBaseEvent
Overrides:
unsetSeverity in class CommonBaseEventImpl

isSetSeverity

public boolean isSetSeverity()
Description copied from class: CommonBaseEventImpl

Specified by:
isSetSeverity in interface CommonBaseEvent
Overrides:
isSetSeverity in class CommonBaseEventImpl

getSeverity

public short getSeverity()
Description copied from class: CommonBaseEventImpl

Specified by:
getSeverity in interface CommonBaseEvent
Overrides:
getSeverity in class CommonBaseEventImpl

setSituation

public void setSituation(Situation value)
Description copied from class: CommonBaseEventImpl

Specified by:
setSituation in interface CommonBaseEvent
Overrides:
setSituation in class CommonBaseEventImpl

getSituation

public Situation getSituation()
Description copied from class: CommonBaseEventImpl

Specified by:
getSituation in interface CommonBaseEvent
Overrides:
getSituation in class CommonBaseEventImpl

setSourceComponentId

public void setSourceComponentId(ComponentIdentification value)
Description copied from class: CommonBaseEventImpl

Specified by:
setSourceComponentId in interface CommonBaseEvent
Overrides:
setSourceComponentId in class CommonBaseEventImpl

setSourceComponentId

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)
Description copied from interface: CommonBaseEvent
Sets the source component identifier for this event.

It creates a ComponentIdentification object and sets it in the respective field of this object.

Specified by:
setSourceComponentId in interface CommonBaseEvent
Overrides:
setSourceComponentId in class CommonBaseEventImpl
See Also:
CommonBaseEvent.setSourceComponentId(String, String, String, String, String, String, String, String, String, String,String)

setSourceComponentId

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)
Description copied from interface: CommonBaseEvent
Sets the source component identifier for this event.

It creates a ComponentIdentification object and sets it in the respective field of this object.

Specified by:
setSourceComponentId in interface CommonBaseEvent
Overrides:
setSourceComponentId in class CommonBaseEventImpl
See Also:
CommonBaseEvent.setSourceComponentId(String, String, String, String, String, String,String)

getSourceComponentId

public ComponentIdentification getSourceComponentId()
Description copied from class: CommonBaseEventImpl

Specified by:
getSourceComponentId in interface CommonBaseEvent
Overrides:
getSourceComponentId in class CommonBaseEventImpl

setVersion

public void setVersion(java.lang.String value)
Description copied from class: CommonBaseEventImpl

Specified by:
setVersion in interface CommonBaseEvent
Overrides:
setVersion in class CommonBaseEventImpl

getVersion

public java.lang.String getVersion()
Description copied from class: CommonBaseEventImpl

Specified by:
getVersion in interface CommonBaseEvent
Overrides:
getVersion in class CommonBaseEventImpl

addAny

public void addAny(java.lang.String any)
Description copied from interface: CommonBaseEvent
Helper method for creating and setting an any element for this object.

It creates an object and sets it in the respective field of this object.

Specified by:
addAny in interface CommonBaseEvent
Overrides:
addAny in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addAny(String)

addAssociatedEvent

public AssociatedEvent addAssociatedEvent(java.lang.String associationEngineName,
                                          java.lang.String associationEngineType,
                                          java.lang.String associationEngineId,
                                          java.lang.String[] resolvedEvents)
Description copied from interface: CommonBaseEvent
Helper method for creating and setting the associated events for this object.

It creates an AssociatedEvent object and sets it in the respective field of this object.

Specified by:
addAssociatedEvent in interface CommonBaseEvent
Overrides:
addAssociatedEvent in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addAssociatedEvent(String, String, String, String[])

addContextDataElementWithValue

public ContextDataElement addContextDataElementWithValue(java.lang.String contextType,
                                                         java.lang.String contextName,
                                                         java.lang.String contextValue)
Description copied from interface: CommonBaseEvent
Adds a new context data element to this object.

It creates a ContextDataElement object and sets it in the respective field of this object.

Specified by:
addContextDataElementWithValue in interface CommonBaseEvent
Overrides:
addContextDataElementWithValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addContextDataElementWithValue(String, String, String)

addContextDataElementWithId

public ContextDataElement addContextDataElementWithId(java.lang.String contextType,
                                                      java.lang.String contextName,
                                                      java.lang.String contextId)
Description copied from interface: CommonBaseEvent
Adds a new context data element to this object.

It creates a ContextDataElement object and sets it in the respective field of this object.

Specified by:
addContextDataElementWithId in interface CommonBaseEvent
Overrides:
addContextDataElementWithId in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addContextDataElementWithId(String, String,String)

addExtendedDataElement

public ExtendedDataElement addExtendedDataElement(java.lang.String name)
Description copied from interface: CommonBaseEvent
Adds a new ExtendedDataElement to this object.

It creates an ExtendedDataElement object without any values adds it to the list of extended data elements for this object.

Specified by:
addExtendedDataElement in interface CommonBaseEvent
Overrides:
addExtendedDataElement in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElement(String)

addExtendedDataElement

public ExtendedDataElement addExtendedDataElement(java.lang.String name,
                                                  java.lang.String value)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElement in interface CommonBaseEvent
Overrides:
addExtendedDataElement in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElement(String, String)

addExtendedDataElement

public ExtendedDataElement addExtendedDataElement(java.lang.String name,
                                                  java.lang.String[] values)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElement in interface CommonBaseEvent
Overrides:
addExtendedDataElement in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElement(String, String[])

addExtendedDataElement

public ExtendedDataElement addExtendedDataElement(java.lang.String name,
                                                  int type,
                                                  java.lang.String value)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElement in interface CommonBaseEvent
Overrides:
addExtendedDataElement in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElement(String, int, String)

addExtendedDataElement

public ExtendedDataElement addExtendedDataElement(java.lang.String name,
                                                  int type,
                                                  java.lang.String[] values)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElement in interface CommonBaseEvent
Overrides:
addExtendedDataElement in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElement(String, int, String[])

addExtendedDataElementWithBooleanArrayValue

public ExtendedDataElement addExtendedDataElementWithBooleanArrayValue(java.lang.String name,
                                                                       boolean[] values)
Description copied from interface: CommonBaseEvent
An array of product specific extensions for extensibility where you can provide any other attributes not accounted for in the CommonBaseEventImpl. Information placed here is assumed to be product specific data. This is an OPTIONAL property.

Specified by:
addExtendedDataElementWithBooleanArrayValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithBooleanArrayValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithBooleanArrayValue(java.lang.String, boolean[])

addExtendedDataElementWithBooleanValue

public ExtendedDataElement addExtendedDataElementWithBooleanValue(java.lang.String name,
                                                                  boolean value)
Description copied from interface: CommonBaseEvent
An array of product specific extensions for extensibility where you can provide any other attributes not accounted for in the CommonBaseEventImpl. Information placed here is assumed to be product specific data. This is an OPTIONAL property.

Specified by:
addExtendedDataElementWithBooleanValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithBooleanValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithBooleanValue(java.lang.String, boolean)

addExtendedDataElementWithByteArrayValue

public ExtendedDataElement addExtendedDataElementWithByteArrayValue(java.lang.String name,
                                                                    byte[] values)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithByteArrayValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithByteArrayValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithByteArrayValue(String, byte[])

addExtendedDataElementWithByteValue

public ExtendedDataElement addExtendedDataElementWithByteValue(java.lang.String name,
                                                               byte value)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithByteValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithByteValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithByteValue(String, byte)

addExtendedDataElementWithDateArrayValue

public ExtendedDataElement addExtendedDataElementWithDateArrayValue(java.lang.String name,
                                                                    java.lang.String[] values)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithDateArrayValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithDateArrayValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithDateArrayValue(String, String[])

addExtendedDataElementWithDateAsLongValue

public ExtendedDataElement addExtendedDataElementWithDateAsLongValue(java.lang.String name,
                                                                     long value)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithDateAsLongValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithDateAsLongValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithDateAsLongValue(String, long)

addExtendedDataElementWithDateValue

public ExtendedDataElement addExtendedDataElementWithDateValue(java.lang.String name,
                                                               java.lang.String value)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithDateValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithDateValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithDateValue(String, String)

addExtendedDataElementWithDatesAsLongValue

public ExtendedDataElement addExtendedDataElementWithDatesAsLongValue(java.lang.String name,
                                                                      long[] values)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithDatesAsLongValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithDatesAsLongValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithDatesAsLongValue(String, long[])

addExtendedDataElementWithDoubleArrayValue

public ExtendedDataElement addExtendedDataElementWithDoubleArrayValue(java.lang.String name,
                                                                      double[] values)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithDoubleArrayValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithDoubleArrayValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithDoubleArrayValue(String, double[])

addExtendedDataElementWithDoubleValue

public ExtendedDataElement addExtendedDataElementWithDoubleValue(java.lang.String name,
                                                                 double value)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithDoubleValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithDoubleValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithDoubleValue(String, double)

addExtendedDataElementWithFloatArrayValue

public ExtendedDataElement addExtendedDataElementWithFloatArrayValue(java.lang.String name,
                                                                     float[] values)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithFloatArrayValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithFloatArrayValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithFloatArrayValue(String, float[])

addExtendedDataElementWithFloatValue

public ExtendedDataElement addExtendedDataElementWithFloatValue(java.lang.String name,
                                                                float value)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithFloatValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithFloatValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithFloatValue(String, float)

addExtendedDataElementWithIntArrayValue

public ExtendedDataElement addExtendedDataElementWithIntArrayValue(java.lang.String name,
                                                                   int[] values)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithIntArrayValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithIntArrayValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithIntArrayValue(String, int[])

addExtendedDataElementWithIntValue

public ExtendedDataElement addExtendedDataElementWithIntValue(java.lang.String name,
                                                              int value)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithIntValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithIntValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithIntValue(String, int)

addExtendedDataElementWithLongArrayValue

public ExtendedDataElement addExtendedDataElementWithLongArrayValue(java.lang.String name,
                                                                    long[] values)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithLongArrayValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithLongArrayValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithLongArrayValue(String, long[])

addExtendedDataElementWithLongValue

public ExtendedDataElement addExtendedDataElementWithLongValue(java.lang.String name,
                                                               long value)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithLongValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithLongValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithLongValue(String, long)

addExtendedDataElementWithNoValue

public ExtendedDataElement addExtendedDataElementWithNoValue(java.lang.String name)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithNoValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithNoValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithNoValue(String)

addExtendedDataElementWithShortArrayValue

public ExtendedDataElement addExtendedDataElementWithShortArrayValue(java.lang.String name,
                                                                     short[] values)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithShortArrayValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithShortArrayValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithShortArrayValue(String, short[])

addExtendedDataElementWithShortValue

public ExtendedDataElement addExtendedDataElementWithShortValue(java.lang.String name,
                                                                short value)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithShortValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithShortValue in class CommonBaseEventImpl
See Also:
CommonBaseEvent.addExtendedDataElementWithShortValue(String, short)

addExtendedDataElementWithHexValue

public ExtendedDataElement addExtendedDataElementWithHexValue(java.lang.String name,
                                                              java.lang.String hexValue)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithHexValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithHexValue in class CommonBaseEventImpl

addExtendedDataElementWithHexValue

public ExtendedDataElement addExtendedDataElementWithHexValue(java.lang.String name,
                                                              byte[] hexValue)
Description copied from interface: CommonBaseEvent
Adds a new 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.

Specified by:
addExtendedDataElementWithHexValue in interface CommonBaseEvent
Overrides:
addExtendedDataElementWithHexValue in class CommonBaseEventImpl

addExtendedDataElement

public ExtendedDataElement addExtendedDataElement(ExtendedDataElement extendedDataElement)
Description copied from class: CommonBaseEventImpl
Adds a new ExtendedDataElement to this object.

Specified by:
addExtendedDataElement in interface CommonBaseEvent
Overrides:
addExtendedDataElement in class CommonBaseEventImpl
Parameters:
extendedDataElement - the new extended data element.
Returns:
a reference to the extended data element added to this object.
See Also:
CommonBaseEventImpl.getExtendedDataElements()

clearExtendedDataElements

public void clearExtendedDataElements()
Description copied from class: CommonBaseEventImpl
Removes all ExtenedDataElements that this event is referencing

Specified by:
clearExtendedDataElements in interface CommonBaseEvent
Overrides:
clearExtendedDataElements in class CommonBaseEventImpl

removeExtendedDataElements

public void removeExtendedDataElements(java.lang.String name)
Description copied from class: CommonBaseEventImpl
Remove a named extended data element that this event is referencing

Specified by:
removeExtendedDataElements in interface CommonBaseEvent
Overrides:
removeExtendedDataElements in class CommonBaseEventImpl
Parameters:
name - the name of the element to be removed

addContextDataElement

public ContextDataElement addContextDataElement(ContextDataElement contextDataElement)
Description copied from class: CommonBaseEventImpl
Adds a new ContextDataElement to this object.

Specified by:
addContextDataElement in interface CommonBaseEvent
Overrides:
addContextDataElement in class CommonBaseEventImpl
Parameters:
contextDataElement - the new context data element.
Returns:
a reference to the context data element added to this object.
See Also:
CommonBaseEventImpl.getContextDataElements()

clearContextDataElements

public void clearContextDataElements()
Description copied from class: CommonBaseEventImpl
Removes all ExtenedDataElements that this event is referencing

Specified by:
clearContextDataElements in interface CommonBaseEvent
Overrides:
clearContextDataElements in class CommonBaseEventImpl

removeContextDataElements

public void removeContextDataElements(java.lang.String name)
Description copied from class: CommonBaseEventImpl
Remove a named context data element that this event is referencing

Specified by:
removeContextDataElements in interface CommonBaseEvent
Overrides:
removeContextDataElements in class CommonBaseEventImpl
Parameters:
name - the name of the element to be removed

addAssociatedEvent

public AssociatedEvent addAssociatedEvent(AssociatedEvent associatedEvent)
Description copied from class: CommonBaseEventImpl
Adds a new AssociatedEvent to this object.

Specified by:
addAssociatedEvent in interface CommonBaseEvent
Overrides:
addAssociatedEvent in class CommonBaseEventImpl
Parameters:
associatedEvent - the new context data element.
Returns:
a reference to the context data element added to this object.
See Also:
CommonBaseEventImpl.getAssociatedEvents()

clearAssociatedEvents

public void clearAssociatedEvents()
Description copied from class: CommonBaseEventImpl
Removes all ExtenedDataElements that this event is referencing

Specified by:
clearAssociatedEvents in interface CommonBaseEvent
Overrides:
clearAssociatedEvents in class CommonBaseEventImpl

clearAny

public void clearAny()
Description copied from class: CommonBaseEventImpl
Removes all any strings that this event is referencing

Specified by:
clearAny in interface CommonBaseEvent
Overrides:
clearAny in class CommonBaseEventImpl

setMsgDataElement

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)
Description copied from interface: CommonBaseEvent
Adds a new MsgDataElement to this object.

It creates a MsgDataElement object and sets it in the respective field of this object.

Specified by:
setMsgDataElement in interface CommonBaseEvent
Overrides:
setMsgDataElement in class CommonBaseEventImpl
See Also:
CommonBaseEvent.setMsgDataElement(String, String, String[], String, String, String, String)

setMsgDataElement

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)
Description copied from interface: CommonBaseEvent
Adds a new MsgDataElement to this object.

It creates a MsgDataElement object and sets it in the respective field of this object.

Specified by:
setMsgDataElement in interface CommonBaseEvent
Overrides:
setMsgDataElement in class CommonBaseEventImpl
See Also:
CommonBaseEvent.setMsgDataElement(String, String, MsgCatalogToken[], String, String, String, String)

complete

public void complete()
              throws CompletionException
Description copied from interface: CommonBaseEvent
Invokes the content handler associated, if any, 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 true.

Specified by:
complete in interface CommonBaseEvent
Overrides:
complete in class CommonBaseEventImpl
Throws:
CompletionException
See Also:
CommonBaseEvent.complete()

isComplete

public boolean isComplete()
Description copied from interface: CommonBaseEvent
Determines if the ContentHandler associated with this event instance, if any, has been previously been invoked.

Specified by:
isComplete in interface CommonBaseEvent
Overrides:
isComplete in class CommonBaseEventImpl

setContentHandler

public void setContentHandler(ContentHandler contentHandler)
Description copied from interface: CommonBaseEvent
Sets the 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.

Specified by:
setContentHandler in interface CommonBaseEvent
Overrides:
setContentHandler in class CommonBaseEventImpl
See Also:
CommonBaseEvent.setContentHandler(org.eclipse.hyades.logging.events.cbe.ContentHandler)

getContentHandler

public ContentHandler getContentHandler()
Description copied from interface: CommonBaseEvent
Gets the ContentHandler associated with this event instance.

Specified by:
getContentHandler in interface CommonBaseEvent
Overrides:
getContentHandler in class CommonBaseEventImpl
See Also:
CommonBaseEvent.getContentHandler()

validate

public void validate()
              throws ValidationException
Description copied from class: CommonBaseEventImpl
Checks whether the contents of the instance conform to the Common Base Event specification as described in "Canonical Situation Data Format: The Common Base Event V1.0.1".

Specified by:
validate in interface CommonBaseEvent
Overrides:
validate in class CommonBaseEventImpl
Throws:
ValidationException - If the event instance does not conform to the Common Base Event specification.

init

public void init()
Description copied from class: CommonBaseEventImpl
Resets the object's properties to their initial (e.g. null) state.

Specified by:
init in interface CommonBaseEvent
Overrides:
init in class CommonBaseEventImpl

eResource

public org.eclipse.emf.ecore.resource.Resource eResource()

eContainer

public org.eclipse.emf.ecore.EObject eContainer()

eContainingFeature

public org.eclipse.emf.ecore.EStructuralFeature eContainingFeature()

eContainmentFeature

public org.eclipse.emf.ecore.EReference eContainmentFeature()

eContents

public org.eclipse.emf.common.util.EList eContents()

eAllContents

public org.eclipse.emf.common.util.TreeIterator eAllContents()

eIsProxy

public boolean eIsProxy()

eCrossReferences

public org.eclipse.emf.common.util.EList eCrossReferences()

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature feature,
                 java.lang.Object newValue)
Description copied from class: CommonBaseEventImpl

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eSet in class CommonBaseEventImpl

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
Description copied from class: CommonBaseEventImpl

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class CommonBaseEventImpl

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature feature)
Description copied from class: CommonBaseEventImpl

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class CommonBaseEventImpl

eAdapters

public org.eclipse.emf.common.util.EList eAdapters()

eDeliver

public boolean eDeliver()

eSetDeliver

public void eSetDeliver(boolean deliver)

eNotify

public void eNotify(org.eclipse.emf.common.notify.Notification notification)

TPTP 4.2.0 Platform Project
Public API Specification