org.eclipse.mtj.api.devices.impl
Class DeviceImpl

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.mtj.api.devices.impl.DeviceImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Device

public class DeviceImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements Device

An implementation of the model object 'Device'.

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
 
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
 org.eclipse.emf.common.notify.NotificationChain basicSetConfiguration(Configuration newConfiguration, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain basicSetDeviceDescription(DeviceDescription newDeviceDescription, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 java.lang.Object eGet(org.eclipse.emf.ecore.EStructuralFeature eFeature, boolean resolve)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, java.lang.Class baseClass, org.eclipse.emf.common.notify.NotificationChain msgs)
           
 boolean eIsSet(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 void eSet(org.eclipse.emf.ecore.EStructuralFeature eFeature, java.lang.Object newValue)
           
 void eUnset(org.eclipse.emf.ecore.EStructuralFeature eFeature)
           
 DeviceCommunicationProtocol getCommunicationProtocol()
           
 Configuration getConfiguration()
           
 java.lang.String getDescription()
           
 DeviceDescription getDeviceDescription()
           
 java.lang.String getIdentifier()
           
 java.lang.String getName()
           
 org.eclipse.emf.common.util.EList getProtectionDomains()
           
 org.eclipse.emf.common.util.EList getRuntimePlatformDefinitions()
           
 java.lang.String getVendor()
           
 java.lang.String getVersion()
           
 void setCommunicationProtocol(DeviceCommunicationProtocol newCommunicationProtocol)
           
 void setConfiguration(Configuration newConfiguration)
           
 void setDescription(java.lang.String newDescription)
           
 void setDeviceDescription(DeviceDescription newDeviceDescription)
           
 void setIdentifier(java.lang.String newIdentifier)
           
 void setName(java.lang.String newName)
           
 void setVendor(java.lang.String newVendor)
           
 void setVersion(java.lang.String newVersion)
           
 java.lang.String toString()
           
 
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, 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
equals, 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

getProtectionDomains

public org.eclipse.emf.common.util.EList getProtectionDomains()

Specified by:
getProtectionDomains in interface Device
Returns:
the value of the 'Protection Domains' containment reference list.
See Also:
DevicesPackage.getDevice_ProtectionDomains()

getConfiguration

public Configuration getConfiguration()

Specified by:
getConfiguration in interface Device
Returns:
the value of the 'Configuration' containment reference.
See Also:
Device.setConfiguration(Configuration), DevicesPackage.getDevice_Configuration()

basicSetConfiguration

public org.eclipse.emf.common.notify.NotificationChain basicSetConfiguration(Configuration newConfiguration,
                                                                             org.eclipse.emf.common.notify.NotificationChain msgs)


setConfiguration

public void setConfiguration(Configuration newConfiguration)

Specified by:
setConfiguration in interface Device
Parameters:
newConfiguration - the new value of the 'Configuration' containment reference.
See Also:
Device.getConfiguration()

getCommunicationProtocol

public DeviceCommunicationProtocol getCommunicationProtocol()

Specified by:
getCommunicationProtocol in interface Device
Returns:
the value of the 'Communication Protocol' attribute.
See Also:
DeviceCommunicationProtocol, Device.setCommunicationProtocol(DeviceCommunicationProtocol), DevicesPackage.getDevice_CommunicationProtocol()

setCommunicationProtocol

public void setCommunicationProtocol(DeviceCommunicationProtocol newCommunicationProtocol)

Specified by:
setCommunicationProtocol in interface Device
Parameters:
newCommunicationProtocol - the new value of the 'Communication Protocol' attribute.
See Also:
DeviceCommunicationProtocol, Device.getCommunicationProtocol()

getDeviceDescription

public DeviceDescription getDeviceDescription()

Specified by:
getDeviceDescription in interface Device
Returns:
the value of the 'Device Description' containment reference.
See Also:
Device.setDeviceDescription(DeviceDescription), DevicesPackage.getDevice_DeviceDescription()

basicSetDeviceDescription

public org.eclipse.emf.common.notify.NotificationChain basicSetDeviceDescription(DeviceDescription newDeviceDescription,
                                                                                 org.eclipse.emf.common.notify.NotificationChain msgs)


setDeviceDescription

public void setDeviceDescription(DeviceDescription newDeviceDescription)

Specified by:
setDeviceDescription in interface Device
Parameters:
newDeviceDescription - the new value of the 'Device Description' containment reference.
See Also:
Device.getDeviceDescription()

getRuntimePlatformDefinitions

public org.eclipse.emf.common.util.EList getRuntimePlatformDefinitions()

Specified by:
getRuntimePlatformDefinitions in interface Device
Returns:
the value of the 'Runtime Platform Definitions' reference list.
See Also:
DevicesPackage.getDevice_RuntimePlatformDefinitions(), RuntimePlatformDefinition.getDevices()

getName

public java.lang.String getName()

Specified by:
getName in interface Device
Returns:
the value of the 'Name' attribute.
See Also:
Device.setName(String), DevicesPackage.getDevice_Name()

setName

public void setName(java.lang.String newName)

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

getVersion

public java.lang.String getVersion()

Specified by:
getVersion in interface Device
Returns:
the value of the 'Version' attribute.
See Also:
Device.setVersion(String), DevicesPackage.getDevice_Version()

setVersion

public void setVersion(java.lang.String newVersion)

Specified by:
setVersion in interface Device
Parameters:
newVersion - the new value of the 'Version' attribute.
See Also:
Device.getVersion()

getVendor

public java.lang.String getVendor()

Specified by:
getVendor in interface Device
Returns:
the value of the 'Vendor' attribute.
See Also:
Device.setVendor(String), DevicesPackage.getDevice_Vendor()

setVendor

public void setVendor(java.lang.String newVendor)

Specified by:
setVendor in interface Device
Parameters:
newVendor - the new value of the 'Vendor' attribute.
See Also:
Device.getVendor()

getDescription

public java.lang.String getDescription()

Specified by:
getDescription in interface Device
Returns:
the value of the 'Description' attribute.
See Also:
Device.setDescription(String), DevicesPackage.getDevice_Description()

setDescription

public void setDescription(java.lang.String newDescription)

Specified by:
setDescription in interface Device
Parameters:
newDescription - the new value of the 'Description' attribute.
See Also:
Device.getDescription()

getIdentifier

public java.lang.String getIdentifier()

Specified by:
getIdentifier in interface Device
Returns:
the value of the 'Identifier' attribute.
See Also:
Device.setIdentifier(String), DevicesPackage.getDevice_Identifier()

setIdentifier

public void setIdentifier(java.lang.String newIdentifier)

Specified by:
setIdentifier in interface Device
Parameters:
newIdentifier - the new value of the 'Identifier' attribute.
See Also:
Device.getIdentifier()

eInverseAdd

public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                   int featureID,
                                                                   java.lang.Class baseClass,
                                                                   org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseAdd in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eInverseAdd in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

eInverseRemove

public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
                                                                      int featureID,
                                                                      java.lang.Class baseClass,
                                                                      org.eclipse.emf.common.notify.NotificationChain msgs)

Specified by:
eInverseRemove in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eInverseRemove in class org.eclipse.emf.ecore.impl.BasicEObjectImpl

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

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

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

toString

public java.lang.String toString()

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