|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CBECommonBaseEvent
A representation of the model object 'Common Base Event'. This class provides the the basic level of common properties for all problem artifacts.
The following features are supported:
Local Instance IdGlobal Instance IdCreation TimeTime ZoneSeverityPriorityMsgRepeat CountElapsed TimeSequence NumberVersionOther DataContext Data ElementsReporter Component IdSource Component IdMsg Data ElementSituationAdjusted Creation Time
CBEPackage.getCBECommonBaseEvent()| Field Summary | |
|---|---|
static java.lang.String |
copyright
|
| Method Summary | |
|---|---|
double |
getAdjustedCreationTime()
Returns the value of the 'Adjusted Creation Time' attribute |
org.eclipse.emf.common.util.EList |
getContextDataElements()
Returns the value of the 'Context Data Elements' containment reference list. |
double |
getCreationTime()
Returns the value of the 'Creation Time' attribute |
long |
getElapsedTime()
Returns the value of the 'Elapsed Time' attribute |
java.lang.String |
getGlobalInstanceId()
Returns the value of the 'Global Instance Id' attribute |
java.lang.String |
getLocalInstanceId()
Returns the value of the 'Local Instance Id' attribute |
java.lang.String |
getMsg()
Returns the value of the 'Msg' attribute |
CBEMsgDataElement |
getMsgDataElement()
Returns the value of the 'Msg Data Element' containment reference |
org.eclipse.emf.common.util.EList |
getOtherData()
Returns the value of the 'Other Data' attribute list. |
short |
getPriority()
Returns the value of the 'Priority' attribute |
short |
getRepeatCount()
Returns the value of the 'Repeat Count' attribute |
CBEComponentIdentification |
getReporterComponentId()
Returns the value of the 'Reporter Component Id' containment reference |
long |
getSequenceNumber()
Returns the value of the 'Sequence Number' attribute |
short |
getSeverity()
Returns the value of the 'Severity' attribute. |
CBESituation |
getSituation()
Returns the value of the 'Situation' containment reference |
CBEComponentIdentification |
getSourceComponentId()
Returns the value of the 'Source Component Id' containment reference |
short |
getTimeZone()
Returns the value of the 'Time Zone' attribute |
java.lang.String |
getVersion()
Returns the value of the 'Version' attribute. |
void |
setCreationTime(double value)
Sets the value of the ' Creation Time' attribute |
void |
setElapsedTime(long value)
Sets the value of the ' Elapsed Time' attribute |
void |
setGlobalInstanceId(java.lang.String value)
Sets the value of the ' Global Instance Id' attribute |
void |
setLocalInstanceId(java.lang.String value)
Sets the value of the ' Local Instance Id' attribute |
void |
setMsg(java.lang.String value)
Sets the value of the ' Msg' attribute |
void |
setMsgDataElement(CBEMsgDataElement value)
Sets the value of the ' Msg Data Element' containment reference |
void |
setPriority(short value)
Sets the value of the ' Priority' attribute |
void |
setRepeatCount(short value)
Sets the value of the ' Repeat Count' attribute |
void |
setReporterComponentId(CBEComponentIdentification value)
Sets the value of the ' Reporter Component Id' containment reference |
void |
setSequenceNumber(long value)
Sets the value of the ' Sequence Number' attribute |
void |
setSeverity(short value)
Sets the value of the ' Severity' attribute |
void |
setSituation(CBESituation value)
Sets the value of the ' Situation' containment reference |
void |
setSourceComponentId(CBEComponentIdentification value)
Sets the value of the ' Source Component Id' containment reference |
void |
setTimeZone(short value)
Sets the value of the ' Time Zone' attribute |
void |
setVersion(java.lang.String value)
Sets the value of the ' Version' attribute |
| Methods inherited from interface org.eclipse.hyades.models.cbe.CBEDefaultEvent |
|---|
getExtendedProperties, getExtensionName, getSymptoms, isAnalyzed, setAnalyzed, setExtensionName |
| Methods inherited from interface org.eclipse.hyades.models.hierarchy.AbstractDefaultEvent |
|---|
getAgent, setAgent |
| Methods inherited from interface org.eclipse.emf.ecore.EObject |
|---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
| Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
|---|
eAdapters, eDeliver, eNotify, eSetDeliver |
| Field Detail |
|---|
static final java.lang.String copyright
| Method Detail |
|---|
java.lang.String getLocalInstanceId()
If the meaning of the 'Local Instance Id' attribute isn't clear, there really should be more of a description here...
Source supplied event identifier. There is no guarantee that this value is globally unique and stays constant for the life of the event.
setLocalInstanceId(String),
CBEPackage.getCBECommonBaseEvent_LocalInstanceId()void setLocalInstanceId(java.lang.String value)
Local Instance Id' attribute.
value - the new value of the 'Local Instance Id' attribute.getLocalInstanceId()java.lang.String getGlobalInstanceId()
If the meaning of the 'Global Instance Id' attribute isn't clear, there really should be more of a description here...
A globally unique identifier for this specific Event instance.
setGlobalInstanceId(String),
CBEPackage.getCBECommonBaseEvent_GlobalInstanceId()void setGlobalInstanceId(java.lang.String value)
Global Instance Id' attribute.
value - the new value of the 'Global Instance Id' attribute.getGlobalInstanceId()double getCreationTime()
If the meaning of the 'Creation Time' attribute isn't clear, there really should be more of a description here...
The time the artifact was created as defined by CIM datetime data type. If not defined then the event receiver must timestamp it. Following is excerpt regarding format is from the standard: yyyymmddhhmmss.mmmmmmsutc (Must always be 25 characters - zero-padded if necessary) yyyy is a 4 digit year mm is the month dd is the day hh is the hour mm is the minutes ss is the second mmmmmm is the number of microseconds s is a "+" or "-" indicating the sign of UTC (Universal Coordinate Time - same as Greenwich Mean Time) or simply a ":" indicating a time interval (in case of using : yymm are interpreted as days) utc is the offset from UTC in minutes and ignored for the time interval For example 19980525145013.0000000-300 is Monday, May 25, 1998 at 2:50:13 PM EST.
setCreationTime(double),
CBEPackage.getCBECommonBaseEvent_CreationTime()void setCreationTime(double value)
Creation Time' attribute.
value - the new value of the 'Creation Time' attribute.getCreationTime()short getTimeZone()
If the meaning of the 'Time Zone' attribute isn't clear, there really should be more of a description here...
The time zone part from the original XML fragment (eg. -240), see creationTime.
setTimeZone(short),
CBEPackage.getCBECommonBaseEvent_TimeZone()void setTimeZone(short value)
Time Zone' attribute.
value - the new value of the 'Time Zone' attribute.getTimeZone()short getSeverity()
"10".
If the meaning of the 'Severity' attribute isn't clear, there really should be more of a description here...
Events can be classified with different severity levels. This enables administrators to focus on the most severe problems currently occurring in the enterprise. The event adapter can optionally assign the value for this attribute. If the event adapter does not assign a severity level, the default severity level in the event class definition is assigned by the event server. This attribute is extensible; you can add a new severity level by appending to the severities list defined in the event class definition files. The predefined severity levels, in order of increasing severity, are as follows: Information " Unknown " Harmless error that has no effect on the resource " Warning should be used when it's appropriate to let the user decide if action is needed. " Minor should be used to indicate action is needed, but the situation is not serious at this time. " Critical should be used to indicate action is needed NOW and the scope is broad (perhaps an imminent outage to a critical resource will result). " Fatal should be used to indicate an error occurred, but it's too late to take remedial action. Enumeration values start at 0 and go to 60. Default is unknown (10) Default value is Unknown.
setSeverity(short),
CBEPackage.getCBECommonBaseEvent_Severity()void setSeverity(short value)
Severity' attribute.
value - the new value of the 'Severity' attribute.getSeverity()short getPriority()
If the meaning of the 'Priority' attribute isn't clear, there really should be more of a description here...
Defines the importance of the event " Unknown " Ignore " Low " Medium " High " Critical Default value is Unknown.
setPriority(short),
CBEPackage.getCBECommonBaseEvent_Priority()void setPriority(short value)
Priority' attribute.
value - the new value of the 'Priority' attribute.getPriority()java.lang.String getMsg()
If the meaning of the 'Msg' attribute isn't clear, there really should be more of a description here...
The content of this optional string is determined by the event creator. A typical usage would be the fully resolved and human readable message associated with this event.
setMsg(String),
CBEPackage.getCBECommonBaseEvent_Msg()void setMsg(java.lang.String value)
Msg' attribute.
value - the new value of the 'Msg' attribute.getMsg()short getRepeatCount()
If the meaning of the 'Repeat Count' attribute isn't clear, there really should be more of a description here...
This optional property is the number of occurrences of a given message artifact for a specific time interval. The Time interval is indicated by the ElapsedTime property described below.
setRepeatCount(short),
CBEPackage.getCBECommonBaseEvent_RepeatCount()void setRepeatCount(short value)
Repeat Count' attribute.
value - the new value of the 'Repeat Count' attribute.getRepeatCount()long getElapsedTime()
If the meaning of the 'Elapsed Time' attribute isn't clear, there really should be more of a description here...
This optional property is the time interval or the elapsed time for the number occurrences of message artifact provided by the MessageCount property. This property is expressed in microseconds.
setElapsedTime(long),
CBEPackage.getCBECommonBaseEvent_ElapsedTime()void setElapsedTime(long value)
Elapsed Time' attribute.
value - the new value of the 'Elapsed Time' attribute.getElapsedTime()long getSequenceNumber()
If the meaning of the 'Sequence Number' attribute isn't clear, there really should be more of a description here...
Optional sequnce numbers are used to provide order at a greater granularity than the time stamps.
setSequenceNumber(long),
CBEPackage.getCBECommonBaseEvent_SequenceNumber()void setSequenceNumber(long value)
Sequence Number' attribute.
value - the new value of the 'Sequence Number' attribute.getSequenceNumber()java.lang.String getVersion()
"1.0.1".
If the meaning of the 'Version' attribute isn't clear, there really should be more of a description here...
setVersion(String),
CBEPackage.getCBECommonBaseEvent_Version()void setVersion(java.lang.String value)
Version' attribute.
value - the new value of the 'Version' attribute.getVersion()org.eclipse.emf.common.util.EList getOtherData()
String.
If the meaning of the 'Other Data' attribute list isn't clear, there really should be more of a description here...
CBEPackage.getCBECommonBaseEvent_OtherData()org.eclipse.emf.common.util.EList getContextDataElements()
CBEContextDataElement.
If the meaning of the 'Context Data Elements' containment reference list isn't clear, there really should be more of a description here...
CBEPackage.getCBECommonBaseEvent_ContextDataElements()CBEComponentIdentification getReporterComponentId()
If the meaning of the 'Reporter Component Id' containment reference isn't clear, there really should be more of a description here...
setReporterComponentId(CBEComponentIdentification),
CBEPackage.getCBECommonBaseEvent_ReporterComponentId()void setReporterComponentId(CBEComponentIdentification value)
Reporter Component Id' containment reference.
value - the new value of the 'Reporter Component Id' containment reference.getReporterComponentId()CBEComponentIdentification getSourceComponentId()
If the meaning of the 'Source Component Id' containment reference isn't clear, there really should be more of a description here...
setSourceComponentId(CBEComponentIdentification),
CBEPackage.getCBECommonBaseEvent_SourceComponentId()void setSourceComponentId(CBEComponentIdentification value)
Source Component Id' containment reference.
value - the new value of the 'Source Component Id' containment reference.getSourceComponentId()CBEMsgDataElement getMsgDataElement()
If the meaning of the 'Msg Data Element' containment reference isn't clear, there really should be more of a description here...
setMsgDataElement(CBEMsgDataElement),
CBEPackage.getCBECommonBaseEvent_MsgDataElement()void setMsgDataElement(CBEMsgDataElement value)
Msg Data Element' containment reference.
value - the new value of the 'Msg Data Element' containment reference.getMsgDataElement()CBESituation getSituation()
If the meaning of the 'Situation' reference isn't clear, there really should be more of a description here...
setSituation(CBESituation),
CBEPackage.getCBECommonBaseEvent_Situation()void setSituation(CBESituation value)
Situation' containment reference.
value - the new value of the 'Situation' containment reference.getSituation()double getAdjustedCreationTime()
If the meaning of the 'Adjusted Creation Time' attribute isn't clear, there really should be more of a description here...
CBEPackage.getCBECommonBaseEvent_AdjustedCreationTime()
|
TPTP 4.6.0 Platform Project Public API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||