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

java.lang.Object
  |
  +--org.eclipse.emf.common.notify.impl.BasicNotifierImpl
        |
        +--org.eclipse.emf.ecore.impl.BasicEObjectImpl
              |
              +--org.eclipse.emf.ecore.impl.EObjectImpl
                    |
                    +--org.eclipse.hyades.logging.events.cbe.impl.SerializableImpl
                          |
                          +--org.eclipse.hyades.logging.events.cbe.impl.AssociationEngineImpl
All Implemented Interfaces:
AssociationEngine, java.lang.Cloneable, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, org.eclipse.emf.common.notify.Notifier, java.io.Serializable

public class AssociationEngineImpl
extends SerializableImpl
implements AssociationEngine, java.lang.Cloneable

An implementation of the model object 'Association Engine'.

Since:
1.0
Version:
1.0.1
Author:
Denilson Nastacio
See Also:
Serialized Form

Field Summary
protected  java.lang.String id
          The cached value of the 'Id' attribute
protected static java.lang.String ID_EDEFAULT
          The default value of the 'Id' attribute
protected  java.lang.String name
          The cached value of the 'Name' attribute
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute
protected  java.lang.String type
          The cached value of the 'Type' attribute
protected static java.lang.String TYPE_EDEFAULT
          The default value of the 'Type' 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 interface org.eclipse.hyades.logging.events.cbe.AssociationEngine
TYPE_CAUSED_BY, TYPE_CLEARED, TYPE_CONTAIN, TYPE_CORRELATED, TYPE_MULTI_PART
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected AssociationEngineImpl()
           
 
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 getId()
           
 java.lang.String getName()
           
 java.lang.String getType()
           
 void init()
          Resets the object's properties to their initial (e.g. null) state.
 void setId(java.lang.String newId)
           
 void setName(java.lang.String newName)
           
 void setType(java.lang.String newType)
           
 java.lang.String toString()
           
 void validate()
          Checks whether the contents of this object conforms to the CBE specification.
 
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
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicSet, eDynamicUnset, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, eStaticFeatureCount, eStore, eURIFragmentSegment
 
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

ID_EDEFAULT

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

See Also:
getId()

id

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

See Also:
getId()

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()

TYPE_EDEFAULT

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

See Also:
getType()

type

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

See Also:
getType()
Constructor Detail

AssociationEngineImpl

protected AssociationEngineImpl()

Method Detail

setId

public void setId(java.lang.String newId)

Specified by:
setId in interface AssociationEngine
Parameters:
newId - the new value of the 'Id' attribute.
See Also:
AssociationEngine.getId()

getId

public java.lang.String getId()

Specified by:
getId in interface AssociationEngine
Returns:
the value of the 'Id' attribute.
See Also:
AssociationEngine.setId(String), EventPackage.getAssociationEngine_Id()

setName

public void setName(java.lang.String newName)

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

getName

public java.lang.String getName()

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

setType

public void setType(java.lang.String newType)

Specified by:
setType in interface AssociationEngine
Parameters:
newType - the new value of the 'Type' attribute.
See Also:
AssociationEngine.getType()

getType

public java.lang.String getType()

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

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

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

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

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

equals

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

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

validate

public void validate()
              throws ValidationException
Checks whether the contents of this object conforms to the CBE specification.

Specified by:
validate in interface AssociationEngine
Throws:
ValidationException - if the object does not follow the CBE specification.

eStaticClass

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

Overrides:
eStaticClass in class SerializableImpl

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
java.lang.CloneNotSupportedException

init

public void init()
Resets the object's properties to their initial (e.g. null) state.

Specified by:
init in interface AssociationEngine
Since:
1.0