TPTP 4.6.0 Platform Project
Public API Specification

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

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.hyades.logging.events.cbe.impl.SerializableImpl
                  extended by org.eclipse.hyades.logging.events.cbe.impl.ContextDataElementImpl
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, ContextDataElement
Direct Known Subclasses:
ContextDataElementImpl

public class ContextDataElementImpl
extends SerializableImpl
implements ContextDataElement, java.lang.Cloneable

An implementation of the model object 'Context Data Element'.

See Also:
Serialized Form
Generated
[EMF] Implements
Cloneable

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter>
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
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)
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 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. null) state.
 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 org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
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
 

Method Detail

getContextId

public java.lang.String getContextId()

Specified by:
getContextId in interface ContextDataElement
Returns:
the value of the 'Context Id' attribute.
See Also:
ContextDataElement.setContextId(String), EventPackage.getContextDataElement_ContextId()
Generated

setContextId

public void setContextId(java.lang.String newContextId)

Specified by:
setContextId in interface ContextDataElement
Parameters:
newContextId - the new value of the 'Context Id' attribute.
See Also:
ContextDataElement.getContextId()
Generated

getContextValue

public java.lang.String getContextValue()

Specified by:
getContextValue in interface ContextDataElement
Returns:
the value of the 'Context Value' attribute.
See Also:
ContextDataElement.setContextValue(String), EventPackage.getContextDataElement_ContextValue()
Generated

setContextValue

public void setContextValue(java.lang.String newContextValue)

Specified by:
setContextValue in interface ContextDataElement
Parameters:
newContextValue - the new value of the 'Context Value' attribute.
See Also:
ContextDataElement.getContextValue()
Generated

getName

public java.lang.String getName()

Specified by:
getName in interface ContextDataElement
Returns:
the value of the 'Name' attribute.
See Also:
ContextDataElement.setName(String), EventPackage.getContextDataElement_Name()
Generated

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface ContextDataElement
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
ContextDataElement.getName()
Generated

getType

public java.lang.String getType()

Specified by:
getType in interface ContextDataElement
Returns:
the value of the 'Type' attribute.
See Also:
ContextDataElement.setType(String), EventPackage.getContextDataElement_Type()
Generated

setType

public void setType(java.lang.String newType)

Specified by:
setType in interface ContextDataElement
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
ContextDataElement.getType()
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
Overrides:
eGet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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
Overrides:
eSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eUnset

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

Specified by:
eUnset in interface org.eclipse.emf.ecore.EObject
Overrides:
eUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

eIsSet

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

Specified by:
eIsSet in interface org.eclipse.emf.ecore.EObject
Overrides:
eIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
Generated

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
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 ContextDataElement
Throws:
ValidationException - If the event instance does not conform to the Common Base Event specification.

equals

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

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.

Overrides:
clone in class java.lang.Object
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 ContextDataElement

TPTP 4.6.0 Platform Project
Public API Specification