public class ModbusDeviceImpl extends DeviceImpl 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 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 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. |
name, NAME_EDEFAULT, SHORT_DESCRIPTION_EDEFAULT, shortDescription
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
Modifier | Constructor and Description |
---|---|
protected |
ModbusDeviceImpl() |
Modifier and Type | Method and Description |
---|---|
TypeSystem |
basicGetTypeSystem() |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
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() |
short |
getPort() |
ProtocolType |
getProtocolType() |
org.eclipse.emf.common.util.EList<ModbusSlave> |
getSlaves() |
TypeSystem |
getTypeSystem() |
void |
setInterFrameDelay(Double newInterFrameDelay) |
void |
setPort(short newPort) |
void |
setProtocolType(ProtocolType newProtocolType) |
void |
setTypeSystem(TypeSystem newTypeSystem) |
String |
toString() |
basicGetNode, basicSetNode, eBasicRemoveFromContainerFeature, eInverseAdd, getName, getNode, getShortDescription, setName, setNode, setShortDescription
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
getNode, setNode
getName, setName
getShortDescription, setShortDescription
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
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 DeviceImpl
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 eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
eInverseRemove
in class DeviceImpl
public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class DeviceImpl
public void eSet(int featureID, Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class DeviceImpl
public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class DeviceImpl
public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class DeviceImpl
public String toString()
toString
in class DeviceImpl