public class ModbusDeviceImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements ModbusDevice
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamic
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container
org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends Object & org.eclipse.emf.common.notify.Adapter>, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EObservableAdapterList
Modifier and Type | Field and Description |
---|---|
protected static Double |
INTER_FRAME_DELAY_EDEFAULT
The default value of the '
Inter Frame Delay ' attribute. |
protected Double |
interFrameDelay
The cached value of the '
Inter Frame Delay ' attribute. |
protected String |
name
The cached value of the '
Name ' attribute. |
protected static String |
NAME_EDEFAULT
The default value of the '
Name ' attribute. |
protected short |
port
The cached value of the '
Port ' attribute. |
protected static short |
PORT_EDEFAULT
The default value of the '
Port ' attribute. |
protected static ProtocolType |
PROTOCOL_TYPE_EDEFAULT
The default value of the '
Protocol Type ' attribute. |
protected ProtocolType |
protocolType
The cached value of the '
Protocol Type ' attribute. |
protected static String |
SHORT_DESCRIPTION_EDEFAULT
The default value of the '
Short Description ' attribute. |
protected String |
shortDescription
The cached value of the '
Short Description ' attribute. |
protected org.eclipse.emf.common.util.EList<ModbusSlave> |
slaves
The cached value of the '
Slaves ' containment reference list. |
protected TypeSystem |
typeSystem
The cached value of the '
Type System ' reference. |
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
ModbusDeviceImpl() |
Modifier and Type | Method and Description |
---|---|
Node |
basicGetNode() |
TypeSystem |
basicGetTypeSystem() |
org.eclipse.emf.common.notify.NotificationChain |
basicSetNode(Node newNode,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs) |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
org.eclipse.emf.common.notify.NotificationChain |
eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd,
int featureID,
org.eclipse.emf.common.notify.NotificationChain msgs) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
Double |
getInterFrameDelay() |
String |
getName() |
Node |
getNode() |
short |
getPort() |
ProtocolType |
getProtocolType() |
String |
getShortDescription() |
org.eclipse.emf.common.util.EList<ModbusSlave> |
getSlaves() |
TypeSystem |
getTypeSystem() |
void |
setInterFrameDelay(Double newInterFrameDelay) |
void |
setName(String newName) |
void |
setNode(Node newNode) |
void |
setPort(short newPort) |
void |
setProtocolType(ProtocolType newProtocolType) |
void |
setShortDescription(String newShortDescription) |
void |
setTypeSystem(TypeSystem newTypeSystem) |
String |
toString() |
eBasicSetContainer, eInternalContainer
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
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, 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, 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
eNotificationRequired, eNotify
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
protected static final String SHORT_DESCRIPTION_EDEFAULT
Short Description
' attribute.
getShortDescription()
protected String shortDescription
Short Description
' attribute.
getShortDescription()
protected static final String NAME_EDEFAULT
Name
' attribute.
getName()
protected static final short PORT_EDEFAULT
Port
' attribute.
getPort()
,
Constant Field Valuesprotected static final ProtocolType PROTOCOL_TYPE_EDEFAULT
Protocol Type
' attribute.
getProtocolType()
protected ProtocolType protocolType
Protocol Type
' attribute.
getProtocolType()
protected static final Double INTER_FRAME_DELAY_EDEFAULT
Inter Frame Delay
' attribute.
getInterFrameDelay()
protected Double interFrameDelay
Inter Frame Delay
' attribute.
getInterFrameDelay()
protected org.eclipse.emf.common.util.EList<ModbusSlave> slaves
Slaves
' containment reference list.
getSlaves()
protected TypeSystem typeSystem
Type System
' reference.
getTypeSystem()
protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public String getShortDescription()
getShortDescription
in interface Documentable
Documentable.setShortDescription(String)
,
WorldPackage.getDocumentable_ShortDescription()
public void setShortDescription(String newShortDescription)
setShortDescription
in interface Documentable
newShortDescription
- the new value of the 'Short Description' attribute.Documentable.getShortDescription()
public String getName()
getName
in interface NamedDocumentable
NamedDocumentable.setName(String)
,
WorldPackage.getNamedDocumentable_Name()
public void setName(String newName)
setName
in interface NamedDocumentable
newName
- the new value of the 'Name' attribute.NamedDocumentable.getName()
public Node getNode()
getNode
in interface Device
Device.setNode(Node)
,
InfrastructurePackage.getDevice_Node()
,
Node.getDevices()
public Node basicGetNode()
public org.eclipse.emf.common.notify.NotificationChain basicSetNode(Node newNode, org.eclipse.emf.common.notify.NotificationChain msgs)
public void setNode(Node newNode)
setNode
in interface Device
newNode
- the new value of the 'Node' container reference.Device.getNode()
public org.eclipse.emf.common.util.EList<ModbusSlave> getSlaves()
getSlaves
in interface ModbusDevice
ModbusPackage.getModbusDevice_Slaves()
public TypeSystem getTypeSystem()
getTypeSystem
in interface ModbusDevice
ModbusDevice.setTypeSystem(TypeSystem)
,
ModbusPackage.getModbusDevice_TypeSystem()
public TypeSystem basicGetTypeSystem()
public void setTypeSystem(TypeSystem newTypeSystem)
setTypeSystem
in interface ModbusDevice
newTypeSystem
- the new value of the 'Type System' reference.ModbusDevice.getTypeSystem()
public short getPort()
getPort
in interface ModbusDevice
ModbusDevice.setPort(short)
,
ModbusPackage.getModbusDevice_Port()
public void setPort(short newPort)
setPort
in interface ModbusDevice
newPort
- the new value of the 'Port' attribute.ModbusDevice.getPort()
public ProtocolType getProtocolType()
getProtocolType
in interface ModbusDevice
ProtocolType
,
ModbusDevice.setProtocolType(ProtocolType)
,
ModbusPackage.getModbusDevice_ProtocolType()
public void setProtocolType(ProtocolType newProtocolType)
setProtocolType
in interface ModbusDevice
newProtocolType
- the new value of the 'Protocol Type' attribute.ProtocolType
,
ModbusDevice.getProtocolType()
public Double getInterFrameDelay()
getInterFrameDelay
in interface ModbusDevice
ModbusDevice.setInterFrameDelay(Double)
,
ModbusPackage.getModbusDevice_InterFrameDelay()
public void setInterFrameDelay(Double newInterFrameDelay)
setInterFrameDelay
in interface ModbusDevice
newInterFrameDelay
- the new value of the 'Inter Frame Delay' attribute.ModbusDevice.getInterFrameDelay()
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseAdd
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
eBasicRemoveFromContainerFeature
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl
public String toString()
toString
in class org.eclipse.emf.ecore.impl.BasicEObjectImpl