|
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.ComponentIdentificationImpl
Interface representing a ComponentIdentification.
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":
Component identification provides a collection of attributes that are required to uniquely identify a component. The same data is used to identify both the reporter and the affected component.
| Field Summary | |
|---|---|
protected java.lang.String |
application
The cached value of the ' Application'
attribute. |
protected java.lang.String |
component
The cached value of the ' Component'
attribute. |
protected java.lang.String |
componentIdType
The cached value of the ' Component Id Type' attribute. |
protected java.lang.String |
componentType
The cached value of the ' Component Type' attribute. |
protected java.lang.String |
executionEnvironment
The cached value of the ' Execution Environment'
attribute. |
protected java.lang.String |
instanceId
The cached value of the ' Instance Id'
attribute. |
protected java.lang.String |
location
The cached value of the ' Location'
attribute. |
protected java.lang.String |
locationType
The cached value of the ' Location Type' attribute. |
protected java.lang.String |
processId
The cached value of the ' Process Id'
attribute. |
protected java.lang.String |
subComponent
The cached value of the ' Sub Component' attribute. |
protected java.lang.String |
threadId
The cached value of the ' Thread Id'
attribute. |
| Constructor Summary | |
|---|---|
protected |
ComponentIdentificationImpl()
|
| 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 |
getApplication()
|
java.lang.String |
getComponent()
|
java.lang.String |
getComponentIdType()
|
java.lang.String |
getComponentType()
|
java.lang.String |
getExecutionEnvironment()
|
java.lang.String |
getInstanceId()
|
java.lang.String |
getLocation()
|
java.lang.String |
getLocationType()
|
java.lang.String |
getProcessId()
|
java.lang.String |
getSubComponent()
|
java.lang.String |
getThreadId()
|
void |
init()
Resets the object's properties to their initial (e.g. |
void |
setApplication(java.lang.String newApplication)
|
void |
setComponent(java.lang.String newComponent)
|
void |
setComponentIdType(java.lang.String newComponentIdType)
|
void |
setComponentType(java.lang.String newComponentType)
|
void |
setExecutionEnvironment(java.lang.String newExecutionEnvironment)
|
void |
setInstanceId(java.lang.String newInstanceId)
|
void |
setLocation(java.lang.String newLocation)
|
void |
setLocationType(java.lang.String newLocationType)
|
void |
setProcessId(java.lang.String newProcessId)
|
void |
setSubComponent(java.lang.String newSubComponent)
|
void |
setThreadId(java.lang.String newThreadId)
|
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 application
Application'
attribute.
getApplication()protected java.lang.String component
Component'
attribute.
getComponent()protected java.lang.String componentType
Component Type' attribute.
getComponentType()protected java.lang.String componentIdType
Component Id Type' attribute.
getComponentIdType()protected java.lang.String executionEnvironment
Execution Environment'
attribute.
getExecutionEnvironment()protected java.lang.String instanceId
Instance Id'
attribute.
getInstanceId()protected java.lang.String location
Location'
attribute.
getLocation()protected java.lang.String locationType
Location Type' attribute.
getLocationType()protected java.lang.String processId
Process Id'
attribute.
getProcessId()protected java.lang.String subComponent
Sub Component' attribute.
getSubComponent()protected java.lang.String threadId
Thread Id'
attribute.
getThreadId()| Constructor Detail |
protected ComponentIdentificationImpl()
| Method Detail |
public void setApplication(java.lang.String newApplication)
setApplication in interface ComponentIdentificationnewApplication - the new value of the 'Application' attribute.ComponentIdentification.getApplication()public java.lang.String getApplication()
getApplication in interface ComponentIdentificationComponentIdentification.setApplication(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_Application()public void setComponent(java.lang.String newComponent)
setComponent in interface ComponentIdentificationnewComponent - the new value of the 'Component' attribute.ComponentIdentification.getComponent()public java.lang.String getComponent()
getComponent in interface ComponentIdentificationComponentIdentification.setComponent(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_Component()public void setComponentIdType(java.lang.String newComponentIdType)
setComponentIdType in interface ComponentIdentificationnewComponentIdType - the new value of the 'Component Id Type'
attribute.ComponentIdentification.getComponentIdType()public java.lang.String getComponentIdType()
getComponentIdType in interface ComponentIdentificationComponentIdentification.setComponentIdType(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_ComponentIdType()public void setComponentType(java.lang.String newComponentType)
setComponentType in interface ComponentIdentificationnewComponentType - the new value of the 'Component Type' attribute.ComponentIdentification.getComponentType()public java.lang.String getComponentType()
getComponentType in interface ComponentIdentificationComponentIdentification.setComponentType(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_ComponentType()public void setExecutionEnvironment(java.lang.String newExecutionEnvironment)
setExecutionEnvironment in interface ComponentIdentificationnewExecutionEnvironment - the new value of the 'Execution Environment'
attribute.ComponentIdentification.getExecutionEnvironment()public java.lang.String getExecutionEnvironment()
getExecutionEnvironment in interface ComponentIdentificationComponentIdentification.setExecutionEnvironment(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_ExecutionEnvironment()public void setInstanceId(java.lang.String newInstanceId)
setInstanceId in interface ComponentIdentificationnewInstanceId - the new value of the 'Instance Id' attribute.ComponentIdentification.getInstanceId()public java.lang.String getInstanceId()
getInstanceId in interface ComponentIdentificationComponentIdentification.setInstanceId(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_InstanceId()public void setLocation(java.lang.String newLocation)
setLocation in interface ComponentIdentificationnewLocation - the new value of the 'Location' attribute.ComponentIdentification.getLocation()public java.lang.String getLocation()
getLocation in interface ComponentIdentificationComponentIdentification.setLocation(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_Location()public void setLocationType(java.lang.String newLocationType)
setLocationType in interface ComponentIdentificationnewLocationType - the new value of the 'Location Type' attribute.ComponentIdentification.getLocationType()public java.lang.String getLocationType()
getLocationType in interface ComponentIdentificationComponentIdentification.setLocationType(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_LocationType()public void setProcessId(java.lang.String newProcessId)
setProcessId in interface ComponentIdentificationnewProcessId - the new value of the 'Process Id' attribute.ComponentIdentification.getProcessId()public java.lang.String getProcessId()
getProcessId in interface ComponentIdentificationComponentIdentification.setProcessId(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_ProcessId()public void setSubComponent(java.lang.String newSubComponent)
setSubComponent in interface ComponentIdentificationnewSubComponent - the new value of the 'Sub Component' attribute.ComponentIdentification.getSubComponent()public java.lang.String getSubComponent()
getSubComponent in interface ComponentIdentificationComponentIdentification.setSubComponent(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_SubComponent()public void setThreadId(java.lang.String newThreadId)
setThreadId in interface ComponentIdentificationnewThreadId - the new value of the 'Thread Id' attribute.ComponentIdentification.getThreadId()public java.lang.String getThreadId()
getThreadId in interface ComponentIdentificationComponentIdentification.setThreadId(String),
org.eclipse.tptp.logging.events.cbe.EventPackage#getComponentIdentification_ThreadId()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.String toString()
public void validate()
throws ValidationException
validate in interface ComponentIdentificationValidationException - If the event instance does not conform to the Common Base Event specification.
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 ComponentIdentification
|
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 | ||||||||||