|
TPTP 4.2.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()
Returns the value of the 'Application' attribute. |
java.lang.String |
getComponent()
Returns the value of the 'Component' attribute. |
java.lang.String |
getComponentIdType()
Returns the value of the 'Component Id Type' attribute. |
java.lang.String |
getComponentType()
Returns the value of the 'Component Type' attribute. |
java.lang.String |
getExecutionEnvironment()
Returns the value of the 'Execution Environment' attribute. |
java.lang.String |
getInstanceId()
Returns the value of the 'Instance Id' attribute. |
java.lang.String |
getLocation()
Returns the value of the 'Location' attribute. |
java.lang.String |
getLocationType()
Returns the value of the 'Location Type' attribute. |
java.lang.String |
getProcessId()
Returns the value of the 'Process Id' attribute. |
java.lang.String |
getSubComponent()
Returns the value of the 'Sub Component' attribute. |
java.lang.String |
getThreadId()
Returns the value of the 'Thread Id' attribute. |
void |
init()
Resets the object's properties to their initial (e.g. null) state. |
void |
setApplication(java.lang.String newApplication)
Sets the value of the ' Application'
attribute.
|
void |
setComponent(java.lang.String newComponent)
Sets the value of the ' Component'
attribute.
|
void |
setComponentIdType(java.lang.String newComponentIdType)
Sets the value of the ' Component Id Type'
attribute.
|
void |
setComponentType(java.lang.String newComponentType)
Sets the value of the ' Component Type'
attribute.
|
void |
setExecutionEnvironment(java.lang.String newExecutionEnvironment)
Sets the value of the ' Execution Environment'
attribute.
|
void |
setInstanceId(java.lang.String newInstanceId)
Sets the value of the ' Instance Id'
attribute.
|
void |
setLocation(java.lang.String newLocation)
Sets the value of the ' Location'
attribute.
|
void |
setLocationType(java.lang.String newLocationType)
Sets the value of the ' Location Type'
attribute.
|
void |
setProcessId(java.lang.String newProcessId)
Sets the value of the ' Process Id'
attribute.
|
void |
setSubComponent(java.lang.String newSubComponent)
Sets the value of the ' Sub Component'
attribute.
|
void |
setThreadId(java.lang.String newThreadId)
Sets the value of the ' Thread Id'
attribute.
|
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)
ComponentIdentification
Sets the value of the '
Application'
attribute.
setApplication in interface ComponentIdentificationnewApplication - the new value of the 'Application' attribute.ComponentIdentification.getApplication()public java.lang.String getApplication()
ComponentIdentificationReturns the value of the 'Application' attribute.
getApplication in interface ComponentIdentificationComponentIdentification.setApplication(String)public void setComponent(java.lang.String newComponent)
ComponentIdentification
Sets the value of the '
Component'
attribute.
setComponent in interface ComponentIdentificationnewComponent - the new value of the 'Component' attribute.ComponentIdentification.getComponent()public java.lang.String getComponent()
ComponentIdentificationReturns the value of the 'Component' attribute.
getComponent in interface ComponentIdentificationComponentIdentification.setComponent(String)public void setComponentIdType(java.lang.String newComponentIdType)
ComponentIdentification
Sets the value of the '
Component Id Type'
attribute.
setComponentIdType in interface ComponentIdentificationnewComponentIdType - the new value of the 'Component Id Type'
attribute.ComponentIdentification.getComponentIdType()public java.lang.String getComponentIdType()
ComponentIdentificationReturns the value of the 'Component Id Type' attribute.
getComponentIdType in interface ComponentIdentificationComponentIdentification.setComponentIdType(String)public void setComponentType(java.lang.String newComponentType)
ComponentIdentification
Sets the value of the '
Component Type'
attribute.
setComponentType in interface ComponentIdentificationnewComponentType - the new value of the 'Component Type' attribute.ComponentIdentification.getComponentType()public java.lang.String getComponentType()
ComponentIdentificationIf the meaning of the 'Component Type' attribute isn't clear, there really should be more of a description here...
getComponentType in interface ComponentIdentificationComponentIdentification.setComponentType(String)public void setExecutionEnvironment(java.lang.String newExecutionEnvironment)
ComponentIdentification
Sets the value of the '
Execution Environment'
attribute.
setExecutionEnvironment in interface ComponentIdentificationnewExecutionEnvironment - the new value of the 'Execution Environment'
attribute.ComponentIdentification.getExecutionEnvironment()public java.lang.String getExecutionEnvironment()
ComponentIdentificationReturns the value of the 'Execution Environment' attribute.
getExecutionEnvironment in interface ComponentIdentificationComponentIdentification.setExecutionEnvironment(String)public void setInstanceId(java.lang.String newInstanceId)
ComponentIdentification
Sets the value of the '
Instance Id'
attribute.
setInstanceId in interface ComponentIdentificationnewInstanceId - the new value of the 'Instance Id' attribute.ComponentIdentification.getInstanceId()public java.lang.String getInstanceId()
ComponentIdentificationReturns the value of the 'Instance Id' attribute.
getInstanceId in interface ComponentIdentificationComponentIdentification.setInstanceId(String)public void setLocation(java.lang.String newLocation)
ComponentIdentification
Sets the value of the '
Location'
attribute.
setLocation in interface ComponentIdentificationnewLocation - the new value of the 'Location' attribute.ComponentIdentification.getLocation()public java.lang.String getLocation()
ComponentIdentificationReturns the value of the 'Location' attribute.
getLocation in interface ComponentIdentificationComponentIdentification.setLocation(String)public void setLocationType(java.lang.String newLocationType)
ComponentIdentification
Sets the value of the '
Location Type'
attribute.
setLocationType in interface ComponentIdentificationnewLocationType - the new value of the 'Location Type' attribute.ComponentIdentification.getLocationType()public java.lang.String getLocationType()
ComponentIdentificationReturns the value of the 'Location Type' attribute.
getLocationType in interface ComponentIdentificationComponentIdentification.setLocationType(String)public void setProcessId(java.lang.String newProcessId)
ComponentIdentification
Sets the value of the '
Process Id'
attribute.
setProcessId in interface ComponentIdentificationnewProcessId - the new value of the 'Process Id' attribute.ComponentIdentification.getProcessId()public java.lang.String getProcessId()
ComponentIdentificationReturns the value of the 'Process Id' attribute.
getProcessId in interface ComponentIdentificationComponentIdentification.setProcessId(String)public void setSubComponent(java.lang.String newSubComponent)
ComponentIdentification
Sets the value of the '
Sub Component'
attribute.
setSubComponent in interface ComponentIdentificationnewSubComponent - the new value of the 'Sub Component' attribute.ComponentIdentification.getSubComponent()public java.lang.String getSubComponent()
ComponentIdentificationReturns the value of the 'Sub Component' attribute.
getSubComponent in interface ComponentIdentificationComponentIdentification.setSubComponent(String)public void setThreadId(java.lang.String newThreadId)
ComponentIdentification
Sets the value of the '
Thread Id'
attribute.
setThreadId in interface ComponentIdentificationnewThreadId - the new value of the 'Thread Id' attribute.ComponentIdentification.getThreadId()public java.lang.String getThreadId()
ComponentIdentificationReturns the value of the 'Thread Id' attribute.
getThreadId in interface ComponentIdentificationComponentIdentification.setThreadId(String)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.2.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||