public class ModbusDeviceImpl extends DeviceImpl implements ModbusDevice
The following features are implemented:
org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container.Dynamicorg.eclipse.emf.ecore.impl.MinimalEObjectImpl.Containerorg.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolder, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderBaseImpl, org.eclipse.emf.ecore.impl.BasicEObjectImpl.EPropertiesHolderImplorg.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, shortDescriptionEVIRTUAL_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, setShortDescriptioneBasicSetContainer, eInternalContainerdynamicGet, 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, eSettingseAddVirtualValue, 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, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNode, setNodegetName, setNamegetShortDescription, setShortDescriptioneAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected 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 DeviceImplpublic org.eclipse.emf.common.util.EList<ModbusSlave> getSlaves()
getSlaves in interface ModbusDeviceModbusPackage.getModbusDevice_Slaves()public TypeSystem getTypeSystem()
getTypeSystem in interface ModbusDeviceModbusDevice.setTypeSystem(TypeSystem),
ModbusPackage.getModbusDevice_TypeSystem()public TypeSystem basicGetTypeSystem()
public void setTypeSystem(TypeSystem newTypeSystem)
setTypeSystem in interface ModbusDevicenewTypeSystem - the new value of the 'Type System' reference.ModbusDevice.getTypeSystem()public short getPort()
getPort in interface ModbusDeviceModbusDevice.setPort(short),
ModbusPackage.getModbusDevice_Port()public void setPort(short newPort)
setPort in interface ModbusDevicenewPort - the new value of the 'Port' attribute.ModbusDevice.getPort()public ProtocolType getProtocolType()
getProtocolType in interface ModbusDeviceProtocolType,
ModbusDevice.setProtocolType(ProtocolType),
ModbusPackage.getModbusDevice_ProtocolType()public void setProtocolType(ProtocolType newProtocolType)
setProtocolType in interface ModbusDevicenewProtocolType - the new value of the 'Protocol Type' attribute.ProtocolType,
ModbusDevice.getProtocolType()public Double getInterFrameDelay()
getInterFrameDelay in interface ModbusDeviceModbusDevice.setInterFrameDelay(Double),
ModbusPackage.getModbusDevice_InterFrameDelay()public void setInterFrameDelay(Double newInterFrameDelay)
setInterFrameDelay in interface ModbusDevicenewInterFrameDelay - 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 DeviceImplpublic Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class DeviceImplpublic void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class DeviceImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class DeviceImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class DeviceImplpublic String toString()
toString in class DeviceImpl