TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.logging.events.cbe.impl
Class ComponentIdentificationImpl

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.ComponentIdentificationImpl
All Implemented Interfaces:
java.lang.Cloneable, ComponentIdentification, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, java.io.Serializable
Direct Known Subclasses:
ComponentIdentificationImpl

public class ComponentIdentificationImpl
extends SerializableImpl
implements ComponentIdentification, java.lang.Cloneable

An implementation of the model object 'Component Identification'.

Since:
1.0
See Also:
Serialized Form
Generated
[EMF] Implements
Cloneable

The following features are implemented:


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  java.lang.String application
          The cached value of the 'Application' attribute
protected static java.lang.String APPLICATION_EDEFAULT
          The default value of the 'Application' attribute
protected  java.lang.String component
          The cached value of the 'Component' attribute
protected static java.lang.String COMPONENT_EDEFAULT
          The default value of the 'Component' attribute
protected static java.lang.String COMPONENT_ID_TYPE_EDEFAULT
          The default value of the 'Component Id Type' attribute
protected static java.lang.String COMPONENT_TYPE_EDEFAULT
          The default value of the 'Component Type' 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 static java.lang.String EXECUTION_ENVIRONMENT_EDEFAULT
          The default value of the 'Execution Environment' attribute
protected  java.lang.String executionEnvironment
          The cached value of the 'Execution Environment' attribute
protected static java.lang.String INSTANCE_ID_EDEFAULT
          The default value of the 'Instance Id' 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 static java.lang.String LOCATION_EDEFAULT
          The default value of the 'Location' attribute
protected static java.lang.String LOCATION_TYPE_EDEFAULT
          The default value of the 'Location Type' attribute
protected  java.lang.String locationType
          The cached value of the 'Location Type' attribute
protected static java.lang.String PROCESS_ID_EDEFAULT
          The default value of the 'Process Id' attribute
protected  java.lang.String processId
          The cached value of the 'Process Id' attribute
protected static java.lang.String SUB_COMPONENT_EDEFAULT
          The default value of the 'Sub Component' attribute
protected  java.lang.String subComponent
          The cached value of the 'Sub Component' attribute
protected static java.lang.String THREAD_ID_EDEFAULT
          The default value of the 'Thread Id' attribute
protected  java.lang.String threadId
          The cached value of the 'Thread Id' attribute
 
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.ComponentIdentification
COMPONENT_ID_TYPE_APPLICATION, COMPONENT_ID_TYPE_DEVICE_NAME, COMPONENT_ID_TYPE_PROCESS, COMPONENT_ID_TYPE_PRODUCT_NAME, COMPONENT_ID_TYPE_SERVICE_NAME, COMPONENT_ID_TYPE_SYSTEM_NAME, COMPONENT_ID_TYPE_UNKNOWN, LOCATION_TYPE_DCC, LOCATION_TYPE_DEVICE_NAME, LOCATION_TYPE_DIAL, LOCATION_TYPE_E_164, LOCATION_TYPE_FQ_HOSTNAME, LOCATION_TYPE_HID, LOCATION_TYPE_HOSTNAME, LOCATION_TYPE_HWA, LOCATION_TYPE_ICD, LOCATION_TYPE_IPV4, LOCATION_TYPE_IPV6, LOCATION_TYPE_IPX, LOCATION_TYPE_ISDN, LOCATION_TYPE_NWA, LOCATION_TYPE_OID_OSI, LOCATION_TYPE_SNA, LOCATION_TYPE_UNKNOWN, LOCATION_TYPE_X25
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected ComponentIdentificationImpl()
           
 
Method Summary
 java.lang.Object clone()
          return a cloned (copy by value) object.
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 boolean equals(java.lang.Object arg0)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
protected  org.eclipse.emf.ecore.EClass eStaticClass()
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 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. null) state.
 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 org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, 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, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, 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, eNotify
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eIsProxy, eResource
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

APPLICATION_EDEFAULT

protected static final java.lang.String APPLICATION_EDEFAULT
The default value of the 'Application' attribute.

See Also:
getApplication()
Generated
[EMF] Ordered

application

protected java.lang.String application
The cached value of the 'Application' attribute.

See Also:
getApplication()
Generated
[EMF] Ordered

COMPONENT_EDEFAULT

protected static final java.lang.String COMPONENT_EDEFAULT
The default value of the 'Component' attribute.

See Also:
getComponent()
Generated
[EMF] Ordered

component

protected java.lang.String component
The cached value of the 'Component' attribute.

See Also:
getComponent()
Generated
[EMF] Ordered

COMPONENT_TYPE_EDEFAULT

protected static final java.lang.String COMPONENT_TYPE_EDEFAULT
The default value of the 'Component Type' attribute.

See Also:
getComponentType()
Generated
[EMF] Ordered

componentType

protected java.lang.String componentType
The cached value of the 'Component Type' attribute.

See Also:
getComponentType()
Generated
[EMF] Ordered

COMPONENT_ID_TYPE_EDEFAULT

protected static final java.lang.String COMPONENT_ID_TYPE_EDEFAULT
The default value of the 'Component Id Type' attribute.

See Also:
getComponentIdType()
Generated
[EMF] Ordered

componentIdType

protected java.lang.String componentIdType
The cached value of the 'Component Id Type' attribute.

See Also:
getComponentIdType()
Generated
[EMF] Ordered

EXECUTION_ENVIRONMENT_EDEFAULT

protected static final java.lang.String EXECUTION_ENVIRONMENT_EDEFAULT
The default value of the 'Execution Environment' attribute.

See Also:
getExecutionEnvironment()
Generated
[EMF] Ordered

executionEnvironment

protected java.lang.String executionEnvironment
The cached value of the 'Execution Environment' attribute.

See Also:
getExecutionEnvironment()
Generated
[EMF] Ordered

INSTANCE_ID_EDEFAULT

protected static final java.lang.String INSTANCE_ID_EDEFAULT
The default value of the 'Instance Id' attribute.

See Also:
getInstanceId()
Generated
[EMF] Ordered

instanceId

protected java.lang.String instanceId
The cached value of the 'Instance Id' attribute.

See Also:
getInstanceId()
Generated
[EMF] Ordered

LOCATION_EDEFAULT

protected static final java.lang.String LOCATION_EDEFAULT
The default value of the 'Location' attribute.

See Also:
getLocation()
Generated
[EMF] Ordered

location

protected java.lang.String location
The cached value of the 'Location' attribute.

See Also:
getLocation()
Generated
[EMF] Ordered

LOCATION_TYPE_EDEFAULT

protected static final java.lang.String LOCATION_TYPE_EDEFAULT
The default value of the 'Location Type' attribute.

See Also:
getLocationType()
Generated
[EMF] Ordered

locationType

protected java.lang.String locationType
The cached value of the 'Location Type' attribute.

See Also:
getLocationType()
Generated
[EMF] Ordered

PROCESS_ID_EDEFAULT

protected static final java.lang.String PROCESS_ID_EDEFAULT
The default value of the 'Process Id' attribute.

See Also:
getProcessId()
Generated
[EMF] Ordered

processId

protected java.lang.String processId
The cached value of the 'Process Id' attribute.

See Also:
getProcessId()
Generated
[EMF] Ordered

SUB_COMPONENT_EDEFAULT

protected static final java.lang.String SUB_COMPONENT_EDEFAULT
The default value of the 'Sub Component' attribute.

See Also:
getSubComponent()
Generated
[EMF] Ordered

subComponent

protected java.lang.String subComponent
The cached value of the 'Sub Component' attribute.

See Also:
getSubComponent()
Generated
[EMF] Ordered

THREAD_ID_EDEFAULT

protected static final java.lang.String THREAD_ID_EDEFAULT
The default value of the 'Thread Id' attribute.

See Also:
getThreadId()
Generated
[EMF] Ordered

threadId

protected java.lang.String threadId
The cached value of the 'Thread Id' attribute.

See Also:
getThreadId()
Generated
[EMF] Ordered
Constructor Detail

ComponentIdentificationImpl

protected ComponentIdentificationImpl()

Generated
Method Detail

setApplication

public void setApplication(java.lang.String newApplication)

Specified by:
setApplication in interface ComponentIdentification
Parameters:
newApplication - the new value of the 'Application' attribute.
See Also:
ComponentIdentification.getApplication()
Generated

getApplication

public java.lang.String getApplication()

Specified by:
getApplication in interface ComponentIdentification
Returns:
the value of the 'Application' attribute.
See Also:
ComponentIdentification.setApplication(String), EventPackage.getComponentIdentification_Application()
Generated

setComponent

public void setComponent(java.lang.String newComponent)

Specified by:
setComponent in interface ComponentIdentification
Parameters:
newComponent - the new value of the 'Component' attribute.
See Also:
ComponentIdentification.getComponent()
Generated

getComponent

public java.lang.String getComponent()

Specified by:
getComponent in interface ComponentIdentification
Returns:
the value of the 'Component' attribute.
See Also:
ComponentIdentification.setComponent(String), EventPackage.getComponentIdentification_Component()
Generated

setComponentIdType

public void setComponentIdType(java.lang.String newComponentIdType)

Specified by:
setComponentIdType in interface ComponentIdentification
Parameters:
newComponentIdType - the new value of the 'Component Id Type' attribute.
See Also:
ComponentIdentification.getComponentIdType()
Generated

getComponentIdType

public java.lang.String getComponentIdType()

Specified by:
getComponentIdType in interface ComponentIdentification
Returns:
the value of the 'Component Id Type' attribute.
See Also:
ComponentIdentification.setComponentIdType(String), EventPackage.getComponentIdentification_ComponentIdType()
Generated

setComponentType

public void setComponentType(java.lang.String newComponentType)

Specified by:
setComponentType in interface ComponentIdentification
Parameters:
newComponentType - the new value of the 'Component Type' attribute.
See Also:
ComponentIdentification.getComponentType()
Generated

getComponentType

public java.lang.String getComponentType()

Specified by:
getComponentType in interface ComponentIdentification
Returns:
the value of the 'Component Type' attribute.
See Also:
ComponentIdentification.setComponentType(String), EventPackage.getComponentIdentification_ComponentType()
Generated

setExecutionEnvironment

public void setExecutionEnvironment(java.lang.String newExecutionEnvironment)

Specified by:
setExecutionEnvironment in interface ComponentIdentification
Parameters:
newExecutionEnvironment - the new value of the 'Execution Environment' attribute.
See Also:
ComponentIdentification.getExecutionEnvironment()
Generated

getExecutionEnvironment

public java.lang.String getExecutionEnvironment()

Specified by:
getExecutionEnvironment in interface ComponentIdentification
Returns:
the value of the 'Execution Environment' attribute.
See Also:
ComponentIdentification.setExecutionEnvironment(String), EventPackage.getComponentIdentification_ExecutionEnvironment()
Generated

setInstanceId

public void setInstanceId(java.lang.String newInstanceId)

Specified by:
setInstanceId in interface ComponentIdentification
Parameters:
newInstanceId - the new value of the 'Instance Id' attribute.
See Also:
ComponentIdentification.getInstanceId()
Generated

getInstanceId

public java.lang.String getInstanceId()

Specified by:
getInstanceId in interface ComponentIdentification
Returns:
the value of the 'Instance Id' attribute.
See Also:
ComponentIdentification.setInstanceId(String), EventPackage.getComponentIdentification_InstanceId()
Generated

setLocation

public void setLocation(java.lang.String newLocation)

Specified by:
setLocation in interface ComponentIdentification
Parameters:
newLocation - the new value of the 'Location' attribute.
See Also:
ComponentIdentification.getLocation()
Generated

getLocation

public java.lang.String getLocation()

Specified by:
getLocation in interface ComponentIdentification
Returns:
the value of the 'Location' attribute.
See Also:
ComponentIdentification.setLocation(String), EventPackage.getComponentIdentification_Location()
Generated

setLocationType

public void setLocationType(java.lang.String newLocationType)

Specified by:
setLocationType in interface ComponentIdentification
Parameters:
newLocationType - the new value of the 'Location Type' attribute.
See Also:
ComponentIdentification.getLocationType()
Generated

getLocationType

public java.lang.String getLocationType()

Specified by:
getLocationType in interface ComponentIdentification
Returns:
the value of the 'Location Type' attribute.
See Also:
ComponentIdentification.setLocationType(String), EventPackage.getComponentIdentification_LocationType()
Generated

setProcessId

public void setProcessId(java.lang.String newProcessId)

Specified by:
setProcessId in interface ComponentIdentification
Parameters:
newProcessId - the new value of the 'Process Id' attribute.
See Also:
ComponentIdentification.getProcessId()
Generated

getProcessId

public java.lang.String getProcessId()

Specified by:
getProcessId in interface ComponentIdentification
Returns:
the value of the 'Process Id' attribute.
See Also:
ComponentIdentification.setProcessId(String), EventPackage.getComponentIdentification_ProcessId()
Generated

setSubComponent

public void setSubComponent(java.lang.String newSubComponent)

Specified by:
setSubComponent in interface ComponentIdentification
Parameters:
newSubComponent - the new value of the 'Sub Component' attribute.
See Also:
ComponentIdentification.getSubComponent()
Generated

getSubComponent

public java.lang.String getSubComponent()

Specified by:
getSubComponent in interface ComponentIdentification
Returns:
the value of the 'Sub Component' attribute.
See Also:
ComponentIdentification.setSubComponent(String), EventPackage.getComponentIdentification_SubComponent()
Generated

setThreadId

public void setThreadId(java.lang.String newThreadId)

Specified by:
setThreadId in interface ComponentIdentification
Parameters:
newThreadId - the new value of the 'Thread Id' attribute.
See Also:
ComponentIdentification.getThreadId()
Generated

getThreadId

public java.lang.String getThreadId()

Specified by:
getThreadId in interface ComponentIdentification
Returns:
the value of the 'Thread Id' attribute.
See Also:
ComponentIdentification.setThreadId(String), EventPackage.getComponentIdentification_ThreadId()
Generated

eGet

public java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                             boolean resolve)

Specified by:
eGet in interface org.eclipse.emf.ecore.EObject
Generated

eIsSet

public boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Generated

eSet

public void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.EObject
Generated

eUnset

public void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Generated

equals

public boolean equals(java.lang.Object arg0)
See Also:
Object.equals(java.lang.Object)

toString

public java.lang.String toString()

Generated

validate

public void validate()
              throws ValidationException
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 ComponentIdentification
Throws:
ValidationException - If the event instance does not conform to the Common Base Event specification.

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class SerializableImpl
Generated

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
return a cloned (copy by value) object. This is a deep copy version, in which all the objects within this object will be copied by value.

Returns:
Object
Throws:
java.lang.CloneNotSupportedException

init

public void init()
Resets the object's properties to their initial (e.g. null) state. All components are initialized to either zero or null.

Specified by:
init in interface ComponentIdentification
Since:
1.0

TPTP 4.2.0 Platform Project
Public API Specification