Class ProcessorImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl
-
- org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
- org.eclipse.emfforms.coffee.model.coffee.impl.ProcessorImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.EStructuralFeature.Internal.DynamicValueHolder
,org.eclipse.emf.ecore.InternalEObject
,Processor
public class ProcessorImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements Processor
An implementation of the model object 'Processor'.The following features are implemented:
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
-
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
-
Nested classes/interfaces 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/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>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected static int
CLOCK_SPEED_EDEFAULT
The default value of the 'Clock Speed
' attribute.protected int
clockSpeed
The cached value of the 'Clock Speed
' attribute.protected static ManufactoringProcess
MANUFACTORING_PROCESS_EDEFAULT
The default value of the 'Manufactoring Process
' attribute.protected ManufactoringProcess
manufactoringProcess
The cached value of the 'Manufactoring Process
' attribute.protected static int
NUMBER_OF_CORES_EDEFAULT
The default value of the 'Number Of Cores
' attribute.protected int
numberOfCores
The cached value of the 'Number Of Cores
' attribute.protected static SocketConnectorType
SOCKETCONNECTOR_TYPE_EDEFAULT
The default value of the 'Socketconnector Type
' attribute.protected SocketConnectorType
socketconnectorType
The cached value of the 'Socketconnector Type
' attribute.protected static int
THERMAL_DESIGN_POWER_EDEFAULT
The default value of the 'Thermal Design Power
' attribute.protected int
thermalDesignPower
The cached value of the 'Thermal Design Power
' attribute.protected java.lang.String
vendor
The cached value of the 'Vendor
' attribute.protected static java.lang.String
VENDOR_EDEFAULT
The default value of the 'Vendor
' attribute.-
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProcessorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
eGet(int featureID, boolean resolve, boolean coreType)
boolean
eIsSet(int featureID)
void
eSet(int featureID, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
int
getClockSpeed()
ManufactoringProcess
getManufactoringProcess()
int
getNumberOfCores()
SocketConnectorType
getSocketconnectorType()
int
getThermalDesignPower()
java.lang.String
getVendor()
void
setClockSpeed(int newClockSpeed)
void
setManufactoringProcess(ManufactoringProcess newManufactoringProcess)
void
setNumberOfCores(int newNumberOfCores)
void
setSocketconnectorType(SocketConnectorType newSocketconnectorType)
void
setThermalDesignPower(int newThermalDesignPower)
void
setVendor(java.lang.String newVendor)
java.lang.String
toString()
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
eBasicSetContainer, eInternalContainer
-
Methods inherited from class org.eclipse.emf.ecore.impl.MinimalEObjectImpl
dynamicGet, dynamicSet, dynamicUnset, eAdapters, eBasicAdapterArray, eBasicAdapterListeners, eBasicAdapters, eBasicHasAdapters, eBasicProperties, eBasicSetAdapterArray, eBasicSetAdapterListeners, eBasicSetContainer, eBasicSetContainerFeatureID, eBasicSetSettings, eBasicSettings, eClass, eContainerFeatureID, eContents, eCrossReferences, eDeliver, eDirectResource, eDynamicClass, eHasSettings, eIsProxy, eProperties, eProxyURI, eSetClass, eSetDeliver, eSetDirectResource, eSetProxyURI, eSettings
-
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDynamicBasicRemoveFromContainer, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eInvocationDelegate, eInvoke, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eSettingDelegate, eSetVirtualIndexBits, eSetVirtualValue, eSetVirtualValues, eStaticFeatureCount, eStaticOperationCount, 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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
VENDOR_EDEFAULT
protected static final java.lang.String VENDOR_EDEFAULT
The default value of the 'Vendor
' attribute.- See Also:
getVendor()
-
vendor
protected java.lang.String vendor
The cached value of the 'Vendor
' attribute.- See Also:
getVendor()
-
CLOCK_SPEED_EDEFAULT
protected static final int CLOCK_SPEED_EDEFAULT
The default value of the 'Clock Speed
' attribute.- See Also:
getClockSpeed()
, Constant Field Values
-
clockSpeed
protected int clockSpeed
The cached value of the 'Clock Speed
' attribute.- See Also:
getClockSpeed()
-
NUMBER_OF_CORES_EDEFAULT
protected static final int NUMBER_OF_CORES_EDEFAULT
The default value of the 'Number Of Cores
' attribute.- See Also:
getNumberOfCores()
, Constant Field Values
-
numberOfCores
protected int numberOfCores
The cached value of the 'Number Of Cores
' attribute.- See Also:
getNumberOfCores()
-
SOCKETCONNECTOR_TYPE_EDEFAULT
protected static final SocketConnectorType SOCKETCONNECTOR_TYPE_EDEFAULT
The default value of the 'Socketconnector Type
' attribute.- See Also:
getSocketconnectorType()
-
socketconnectorType
protected SocketConnectorType socketconnectorType
The cached value of the 'Socketconnector Type
' attribute.- See Also:
getSocketconnectorType()
-
THERMAL_DESIGN_POWER_EDEFAULT
protected static final int THERMAL_DESIGN_POWER_EDEFAULT
The default value of the 'Thermal Design Power
' attribute.- See Also:
getThermalDesignPower()
, Constant Field Values
-
thermalDesignPower
protected int thermalDesignPower
The cached value of the 'Thermal Design Power
' attribute.- See Also:
getThermalDesignPower()
-
MANUFACTORING_PROCESS_EDEFAULT
protected static final ManufactoringProcess MANUFACTORING_PROCESS_EDEFAULT
The default value of the 'Manufactoring Process
' attribute.- See Also:
getManufactoringProcess()
-
manufactoringProcess
protected ManufactoringProcess manufactoringProcess
The cached value of the 'Manufactoring Process
' attribute.- See Also:
getManufactoringProcess()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
getVendor
public java.lang.String getVendor()
- Specified by:
getVendor
in interfaceProcessor
- Returns:
- the value of the 'Vendor' attribute.
- See Also:
Processor.setVendor(String)
,CoffeePackage.getProcessor_Vendor()
-
setVendor
public void setVendor(java.lang.String newVendor)
- Specified by:
setVendor
in interfaceProcessor
- Parameters:
newVendor
- the new value of the 'Vendor' attribute.- See Also:
Processor.getVendor()
-
getClockSpeed
public int getClockSpeed()
- Specified by:
getClockSpeed
in interfaceProcessor
- Returns:
- the value of the 'Clock Speed' attribute.
- See Also:
Processor.setClockSpeed(int)
,CoffeePackage.getProcessor_ClockSpeed()
-
setClockSpeed
public void setClockSpeed(int newClockSpeed)
- Specified by:
setClockSpeed
in interfaceProcessor
- Parameters:
newClockSpeed
- the new value of the 'Clock Speed' attribute.- See Also:
Processor.getClockSpeed()
-
getNumberOfCores
public int getNumberOfCores()
- Specified by:
getNumberOfCores
in interfaceProcessor
- Returns:
- the value of the 'Number Of Cores' attribute.
- See Also:
Processor.setNumberOfCores(int)
,CoffeePackage.getProcessor_NumberOfCores()
-
setNumberOfCores
public void setNumberOfCores(int newNumberOfCores)
- Specified by:
setNumberOfCores
in interfaceProcessor
- Parameters:
newNumberOfCores
- the new value of the 'Number Of Cores' attribute.- See Also:
Processor.getNumberOfCores()
-
getSocketconnectorType
public SocketConnectorType getSocketconnectorType()
- Specified by:
getSocketconnectorType
in interfaceProcessor
- Returns:
- the value of the 'Socketconnector Type' attribute.
- See Also:
SocketConnectorType
,Processor.setSocketconnectorType(SocketConnectorType)
,CoffeePackage.getProcessor_SocketconnectorType()
-
setSocketconnectorType
public void setSocketconnectorType(SocketConnectorType newSocketconnectorType)
- Specified by:
setSocketconnectorType
in interfaceProcessor
- Parameters:
newSocketconnectorType
- the new value of the 'Socketconnector Type' attribute.- See Also:
SocketConnectorType
,Processor.getSocketconnectorType()
-
getThermalDesignPower
public int getThermalDesignPower()
- Specified by:
getThermalDesignPower
in interfaceProcessor
- Returns:
- the value of the 'Thermal Design Power' attribute.
- See Also:
Processor.setThermalDesignPower(int)
,CoffeePackage.getProcessor_ThermalDesignPower()
-
setThermalDesignPower
public void setThermalDesignPower(int newThermalDesignPower)
- Specified by:
setThermalDesignPower
in interfaceProcessor
- Parameters:
newThermalDesignPower
- the new value of the 'Thermal Design Power' attribute.- See Also:
Processor.getThermalDesignPower()
-
getManufactoringProcess
public ManufactoringProcess getManufactoringProcess()
- Specified by:
getManufactoringProcess
in interfaceProcessor
- Returns:
- the value of the 'Manufactoring Process' attribute.
- See Also:
ManufactoringProcess
,Processor.setManufactoringProcess(ManufactoringProcess)
,CoffeePackage.getProcessor_ManufactoringProcess()
-
setManufactoringProcess
public void setManufactoringProcess(ManufactoringProcess newManufactoringProcess)
- Specified by:
setManufactoringProcess
in interfaceProcessor
- Parameters:
newManufactoringProcess
- the new value of the 'Manufactoring Process' attribute.- See Also:
ManufactoringProcess
,Processor.getManufactoringProcess()
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
toString
public java.lang.String toString()
- Overrides:
toString
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
-