|
TPTP 4.1.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.tptp.logging.events.cbe.impl.ContextDataElementImpl
Interface representing a ContextDataElement.
The following description is from the Common Base Event v1.0.1 specification entitled "Canonical Situation Data Format: The Common Base Event V1.0.1":
The ContextDataElement type defines the contexts that this event references. This complex type holds data that is used to assist with problem diagnostics by correlating messages or events generated during execution of a unit of work.
| Field Summary | |
|---|---|
protected java.lang.String |
contextId
The cached value of the ' Context Id'
attribute. |
protected java.lang.String |
contextValue
The cached value of the ' Context Value' attribute. |
protected java.lang.String |
name
The cached value of the ' Name' attribute. |
protected java.lang.String |
type
The cached value of the ' Type' attribute. |
| Constructor Summary | |
|---|---|
protected |
ContextDataElementImpl()
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Return a cloned (copy by value) object of this object. |
boolean |
equals(java.lang.Object object)
Overrides the java.lang.Object's equals() API to
determine if the parameter object is equal to this object. |
java.lang.String |
getContextId()
|
java.lang.String |
getContextValue()
|
java.lang.String |
getName()
|
java.lang.String |
getType()
|
void |
init()
Resets the object's properties to their initial (e.g. |
void |
setContextId(java.lang.String newContextId)
|
void |
setContextValue(java.lang.String newContextValue)
|
void |
setName(java.lang.String newName)
|
void |
setType(java.lang.String newType)
|
java.lang.String |
toString()
|
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 java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.lang.String contextId
Context Id'
attribute.
getContextId()protected java.lang.String contextValue
Context Value' attribute.
getContextValue()protected java.lang.String name
Name' attribute.
getName()protected java.lang.String type
Type' attribute.
getType()| Constructor Detail |
protected ContextDataElementImpl()
| Method Detail |
public java.lang.String getContextId()
getContextId in interface ContextDataElementContextDataElement.setContextId(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getContextDataElement_ContextId()public void setContextId(java.lang.String newContextId)
setContextId in interface ContextDataElementnewContextId - the new value of the 'Context Id' attribute.ContextDataElement.getContextId()public java.lang.String getContextValue()
getContextValue in interface ContextDataElementContextDataElement.setContextValue(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getContextDataElement_ContextValue()public void setContextValue(java.lang.String newContextValue)
setContextValue in interface ContextDataElementnewContextValue - the new value of the 'Context Value' attribute.ContextDataElement.getContextValue()public java.lang.String getName()
getName in interface ContextDataElementContextDataElement.setName(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getContextDataElement_Name()public void setName(java.lang.String newName)
setName in interface ContextDataElementnewName - the new value of the 'Name' attribute.ContextDataElement.getName()public java.lang.String getType()
getType in interface ContextDataElementContextDataElement.setType(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getContextDataElement_Type()public void setType(java.lang.String newType)
setType in interface ContextDataElementnewType - the new value of the 'Type' attribute.ContextDataElement.getType()public java.lang.String toString()
public void validate()
throws ValidationException
validate in interface ContextDataElementValidationException - If the event instance does not conform to the Common Base Event specification.public boolean equals(java.lang.Object object)
java.lang.Object's equals() API to
determine if the parameter object is equal to this object.
object - The java.lang.Object to be compared to this object.
object, otherwise false.Object.equals(java.lang.Object)
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
This is a deep copy version, in which all the objects within this object will be copied by value.
java.lang.CloneNotSupportedException - If a instance variable of this object does not implement the Cloneable interface.public void init()
init in interface ContextDataElement
|
TPTP 4.1.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||