org.metaabm.impl
Class SGridImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.metaabm.impl.IIDImpl
                  extended by org.metaabm.impl.SNamedImpl
                      extended by org.metaabm.impl.SAttributedImpl
                          extended by org.metaabm.impl.SProjectionImpl
                              extended by org.metaabm.impl.SNDimensionalImpl
                                  extended by org.metaabm.impl.SGridImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, IID, SAttributed, SGrid, SNamed, SNDimensional, SProjection

public class SGridImpl
extends SNDimensionalImpl
implements SGrid

An implementation of the model object ' SGrid'.

Author:
Miles Parker

The following features are implemented:


Nested Class Summary
 
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
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
protected static boolean MULTI_OCCUPANT_EDEFAULT
          The default value of the 'Multi Occupant' attribute.
protected  boolean multiOccupant
          The cached value of the 'Multi Occupant' attribute.
protected  SNeighborhoodType neighborhood
          The cached value of the 'Neighborhood' attribute.
protected static SNeighborhoodType NEIGHBORHOOD_EDEFAULT
          The default value of the 'Neighborhood' attribute.
 
Fields inherited from class org.metaabm.impl.SNDimensionalImpl
BORDER_RULE_EDEFAULT, borderRule, dimensionality, DIMENSIONALITY_EDEFAULT
 
Fields inherited from class org.metaabm.impl.SAttributedImpl
attributes
 
Fields inherited from class org.metaabm.impl.SNamedImpl
description, DESCRIPTION_EDEFAULT, PLURAL_LABEL_EDEFAULT, pluralLabel
 
Fields inherited from class org.metaabm.impl.IIDImpl
id, ID_EDEFAULT, label, LABEL_EDEFAULT
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eContainer, eContainerFeatureID, EDELIVER, EDYNAMIC_CLASS, eFlags, ELAST_EOBJECT_FLAG, ELAST_NOTIFIER_FLAG, eProperties, EPROXY
 
Fields inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
EVIRTUAL_GET, EVIRTUAL_IS_SET, EVIRTUAL_NO_VALUE, EVIRTUAL_SET, EVIRTUAL_UNSET
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
protected SGridImpl()
           
 
Method Summary
 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)
           
 SNeighborhoodType getNeighborhood()
           
 boolean isMultiOccupant()
           
 void setMultiOccupant(boolean newMultiOccupant)
           
 void setNeighborhood(SNeighborhoodType newNeighborhood)
           
 java.lang.String toString()
           
 
Methods inherited from class org.metaabm.impl.SNDimensionalImpl
getBorderRule, getDimensionality, setBorderRule, setDimensionality
 
Methods inherited from class org.metaabm.impl.SProjectionImpl
basicSetOwner, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getOwner, setOwner
 
Methods inherited from class org.metaabm.impl.SAttributedImpl
findAttribute, getAttributes, isReachable
 
Methods inherited from class org.metaabm.impl.SNamedImpl
getDescription, getPluralLabel, references, setDescription, setID, setPluralLabel
 
Methods inherited from class org.metaabm.impl.IIDImpl
getID, getLabel, setLabel
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eBasicAdapters, eBasicProperties, eBasicSetContainer, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eInvoke, eIsProxy, eProperties, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAddVirtualValue, eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eComputeVirtualValuesCapacity, eContainer, eContainerAdapterArray, eContainingFeature, eContainmentFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedOperationID, eDerivedOperationID, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicClass, eDynamicFeature, eDynamicFeatureID, eDynamicGet, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicInverseRemove, eDynamicInvoke, eDynamicInvoke, eDynamicIsSet, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eHasSettings, eInternalResource, eInverseAdd, eInverseRemove, eInvocationDelegate, eInvoke, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eRemoveVirtualValue, eResolveProxy, eResource, eSet, eSetDirectResource, eSetResource, eSetStore, eSetting, eSettingDelegate, eSettings, 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
eBasicAdapterArray, eBasicHasAdapters, eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.metaabm.SNDimensional
getBorderRule, getDimensionality, setBorderRule, setDimensionality
 
Methods inherited from interface org.metaabm.SProjection
getOwner, setOwner
 
Methods inherited from interface org.metaabm.SAttributed
findAttribute, getAttributes, isReachable
 
Methods inherited from interface org.metaabm.SNamed
getDescription, getPluralLabel, references, setDescription, setPluralLabel
 
Methods inherited from interface org.metaabm.IID
getID, getLabel, setID, setLabel
 
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
 
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

MULTI_OCCUPANT_EDEFAULT

protected static final boolean MULTI_OCCUPANT_EDEFAULT
The default value of the 'Multi Occupant' attribute.

See Also:
isMultiOccupant(), Constant Field Values

multiOccupant

protected boolean multiOccupant
The cached value of the 'Multi Occupant' attribute.

See Also:
isMultiOccupant()

NEIGHBORHOOD_EDEFAULT

protected static final SNeighborhoodType NEIGHBORHOOD_EDEFAULT
The default value of the 'Neighborhood' attribute.

See Also:
getNeighborhood()

neighborhood

protected SNeighborhoodType neighborhood
The cached value of the 'Neighborhood' attribute.

See Also:
getNeighborhood()
Constructor Detail

SGridImpl

protected SGridImpl()

Method Detail

eStaticClass

protected org.eclipse.emf.ecore.EClass eStaticClass()

Overrides:
eStaticClass in class SNDimensionalImpl

isMultiOccupant

public boolean isMultiOccupant()

Specified by:
isMultiOccupant in interface SGrid
Returns:
the value of the 'Multi Occupant' attribute.
See Also:
SGrid.setMultiOccupant(boolean), MetaABMPackage.getSGrid_MultiOccupant()

setMultiOccupant

public void setMultiOccupant(boolean newMultiOccupant)

Specified by:
setMultiOccupant in interface SGrid
Parameters:
newMultiOccupant - the new value of the 'Multi Occupant' attribute.
See Also:
SGrid.isMultiOccupant()

getNeighborhood

public SNeighborhoodType getNeighborhood()

Specified by:
getNeighborhood in interface SGrid
Returns:
the value of the 'Neighborhood' attribute.
See Also:
SNeighborhoodType, SGrid.setNeighborhood(SNeighborhoodType), MetaABMPackage.getSGrid_Neighborhood()

setNeighborhood

public void setNeighborhood(SNeighborhoodType newNeighborhood)

Specified by:
setNeighborhood in interface SGrid
Parameters:
newNeighborhood - the new value of the 'Neighborhood' attribute.
See Also:
SNeighborhoodType, SGrid.getNeighborhood()

eGet

public java.lang.Object eGet(int featureID,
                             boolean resolve,
                             boolean coreType)

Specified by:
eGet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eGet in class SNDimensionalImpl

eSet

public void eSet(int featureID,
                 java.lang.Object newValue)

Specified by:
eSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eSet in class SNDimensionalImpl

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eUnset in class SNDimensionalImpl

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface org.eclipse.emf.ecore.InternalEObject
Overrides:
eIsSet in class SNDimensionalImpl

toString

public java.lang.String toString()

Overrides:
toString in class SNDimensionalImpl