public class ModbusBlockImpl extends org.eclipse.emf.ecore.impl.MinimalEObjectImpl.Container implements ModbusBlock
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 RequestType |
BLOCK_TYPE_EDEFAULT
The default value of the '
Block Type'
attribute. |
protected RequestType |
blockType
The cached value of the '
Block Type'
attribute. |
protected int |
count
The cached value of the '
Count' attribute. |
protected static int |
COUNT_EDEFAULT
The default value of the '
Count' attribute. |
protected String |
id
The cached value of the '
Id' attribute. |
protected static String |
ID_EDEFAULT
The default value of the '
Id' attribute. |
protected String |
name
The cached value of the '
Name' attribute. |
protected static String |
NAME_EDEFAULT
The default value of the '
Name' attribute. |
protected long |
period
The cached value of the '
Period' attribute. |
protected static long |
PERIOD_EDEFAULT
The default value of the '
Period'
attribute. |
protected static int |
START_ADDRESS_EDEFAULT
The default value of the '
Start Address' attribute. |
protected int |
startAddress
The cached value of the '
Start Address' attribute. |
protected long |
timeout
The cached value of the '
Timeout'
attribute. |
protected static long |
TIMEOUT_EDEFAULT
The default value of the '
Timeout'
attribute. |
protected TypeDefinition |
type
The cached value of the '
Type' reference. |
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET| Modifier | Constructor and Description |
|---|---|
protected |
ModbusBlockImpl() |
| Modifier and Type | Method and Description |
|---|---|
TypeDefinition |
basicGetType() |
Object |
eGet(int featureID,
boolean resolve,
boolean coreType) |
boolean |
eIsSet(int featureID) |
void |
eSet(int featureID,
Object newValue) |
protected org.eclipse.emf.ecore.EClass |
eStaticClass() |
void |
eUnset(int featureID) |
RequestType |
getBlockType() |
int |
getCount() |
String |
getId() |
String |
getName() |
long |
getPeriod() |
int |
getStartAddress() |
long |
getTimeout() |
TypeDefinition |
getType() |
void |
setBlockType(RequestType newBlockType) |
void |
setCount(int newCount) |
void |
setId(String newId) |
void |
setName(String newName) |
void |
setPeriod(long newPeriod) |
void |
setStartAddress(int newStartAddress) |
void |
setTimeout(long newTimeout) |
void |
setType(TypeDefinition newType) |
String |
toString() |
eBasicSetContainer, 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, 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, eVirtualValueseNotificationRequired, eNotifyclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waiteAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetprotected static final String ID_EDEFAULT
Id' attribute.
getId()protected static final String NAME_EDEFAULT
Name' attribute.
getName()protected static final RequestType BLOCK_TYPE_EDEFAULT
Block Type'
attribute.
getBlockType()protected RequestType blockType
Block Type'
attribute.
getBlockType()protected static final int START_ADDRESS_EDEFAULT
Start Address' attribute.
getStartAddress(),
Constant Field Valuesprotected int startAddress
Start Address' attribute.
getStartAddress()protected static final int COUNT_EDEFAULT
Count' attribute.
getCount(),
Constant Field Valuesprotected int count
Count' attribute.
getCount()protected static final long PERIOD_EDEFAULT
Period'
attribute.
getPeriod(),
Constant Field Valuesprotected long period
Period' attribute.
getPeriod()protected static final long TIMEOUT_EDEFAULT
Timeout'
attribute.
getTimeout(),
Constant Field Valuesprotected long timeout
Timeout'
attribute.
getTimeout()protected TypeDefinition type
Type' reference.
getType()protected org.eclipse.emf.ecore.EClass eStaticClass()
eStaticClass in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic TypeDefinition getType()
getType in interface ModbusBlockModbusBlock.setType(TypeDefinition),
ModbusPackage.getModbusBlock_Type()public TypeDefinition basicGetType()
public void setType(TypeDefinition newType)
setType in interface ModbusBlocknewType - the new value of the 'Type' reference.ModbusBlock.getType()public RequestType getBlockType()
getBlockType in interface ModbusBlockModbusBlock.setBlockType(RequestType),
ModbusPackage.getModbusBlock_BlockType()public void setBlockType(RequestType newBlockType)
setBlockType in interface ModbusBlocknewBlockType - the new value of the 'Block Type' attribute.ModbusBlock.getBlockType()public int getStartAddress()
getStartAddress in interface ModbusBlockModbusBlock.setStartAddress(int),
ModbusPackage.getModbusBlock_StartAddress()public void setStartAddress(int newStartAddress)
setStartAddress in interface ModbusBlocknewStartAddress - the new value of the 'Start Address' attribute.ModbusBlock.getStartAddress()public int getCount()
getCount in interface ModbusBlockModbusBlock.setCount(int),
ModbusPackage.getModbusBlock_Count()public void setCount(int newCount)
setCount in interface ModbusBlocknewCount - the new value of the 'Count' attribute.ModbusBlock.getCount()public long getPeriod()
getPeriod in interface ModbusBlockModbusBlock.setPeriod(long),
ModbusPackage.getModbusBlock_Period()public void setPeriod(long newPeriod)
setPeriod in interface ModbusBlocknewPeriod - the new value of the 'Period' attribute.ModbusBlock.getPeriod()public long getTimeout()
getTimeout in interface ModbusBlockModbusBlock.setTimeout(long),
ModbusPackage.getModbusBlock_Timeout()public void setTimeout(long newTimeout)
setTimeout in interface ModbusBlocknewTimeout - the new value of the 'Timeout' attribute.ModbusBlock.getTimeout()public String getId()
getId in interface ModbusBlockModbusBlock.setId(String),
ModbusPackage.getModbusBlock_Id()public void setId(String newId)
setId in interface ModbusBlocknewId - the new value of the 'Id' attribute.ModbusBlock.getId()public String getName()
getName in interface ModbusBlockModbusBlock.setName(String),
ModbusPackage.getModbusBlock_Name()public void setName(String newName)
setName in interface ModbusBlocknewName - the new value of the 'Name' attribute.ModbusBlock.getName()public Object eGet(int featureID, boolean resolve, boolean coreType)
eGet in interface org.eclipse.emf.ecore.InternalEObjecteGet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eSet(int featureID,
Object newValue)
eSet in interface org.eclipse.emf.ecore.InternalEObjecteSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic void eUnset(int featureID)
eUnset in interface org.eclipse.emf.ecore.InternalEObjecteUnset in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic boolean eIsSet(int featureID)
eIsSet in interface org.eclipse.emf.ecore.InternalEObjecteIsSet in class org.eclipse.emf.ecore.impl.BasicEObjectImplpublic String toString()
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl