Class FamilyImpl
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.BasicNotifierImpl
-
- org.eclipse.emf.ecore.impl.BasicEObjectImpl
-
- org.eclipse.emf.ecore.impl.EObjectImpl
-
- org.eclipse.epsilon.hutn.test.model.families.impl.NamedElementImpl
-
- org.eclipse.epsilon.hutn.test.model.families.impl.FamilyImpl
-
- All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier
,org.eclipse.emf.ecore.EObject
,org.eclipse.emf.ecore.InternalEObject
,Family
,NamedElement
public class FamilyImpl extends NamedElementImpl implements Family
An implementation of the model object 'Family'.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, org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EScannableAdapterList
-
-
Field Summary
Fields Modifier and Type Field Description protected org.eclipse.emf.common.util.EList<java.lang.String>
address
The cached value of the 'Address
' attribute list.protected static float
AVERAGE_AGE_EDEFAULT
The default value of the 'Average Age
' attribute.protected float
averageAge
The cached value of the 'Average Age
' attribute.protected org.eclipse.emf.common.util.EList<Dog>
dogs
The cached value of the 'Dogs
' reference list.protected java.lang.String
id
The cached value of the 'Id
' attribute.protected static java.lang.String
ID_EDEFAULT
The default value of the 'Id
' attribute.protected org.eclipse.emf.common.util.EList<java.lang.Integer>
lotteryNumbers
The cached value of the 'Lottery Numbers
' attribute list.protected org.eclipse.emf.common.util.EList<Person>
members
The cached value of the 'Members
' containment reference list.protected boolean
nuclear
The cached value of the 'Nuclear
' attribute.protected static boolean
NUCLEAR_EDEFAULT
The default value of the 'Nuclear
' attribute.protected static int
NUMBER_OF_CHILDREN_EDEFAULT
The default value of the 'Number Of Children
' attribute.protected int
numberOfChildren
The cached value of the 'Number Of Children
' attribute.protected org.eclipse.emf.common.util.EList<Pet>
pets
The cached value of the 'Pets
' reference list.-
Fields inherited from class org.eclipse.epsilon.hutn.test.model.families.impl.NamedElementImpl
name, NAME_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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FamilyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.notify.NotificationChain
basicSetDistrict(District newDistrict, org.eclipse.emf.common.notify.NotificationChain msgs)
org.eclipse.emf.common.notify.NotificationChain
eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
java.lang.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, java.lang.Object newValue)
protected org.eclipse.emf.ecore.EClass
eStaticClass()
void
eUnset(int featureID)
org.eclipse.emf.common.util.EList<java.lang.String>
getAddress()
float
getAverageAge()
District
getDistrict()
org.eclipse.emf.common.util.EList<Dog>
getDogs()
java.lang.String
getId()
org.eclipse.emf.common.util.EList<java.lang.Integer>
getLotteryNumbers()
org.eclipse.emf.common.util.EList<Person>
getMembers()
int
getNumberOfChildren()
org.eclipse.emf.common.util.EList<Pet>
getPets()
boolean
isNuclear()
void
setAverageAge(float newAverageAge)
void
setDistrict(District newDistrict)
void
setId(java.lang.String newId)
void
setNuclear(boolean newNuclear)
void
setNumberOfChildren(int newNumberOfChildren)
java.lang.String
toString()
-
Methods inherited from class org.eclipse.epsilon.hutn.test.model.families.impl.NamedElementImpl
getName, setName
-
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.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.epsilon.hutn.test.model.families.NamedElement
getName, setName
-
-
-
-
Field Detail
-
address
protected org.eclipse.emf.common.util.EList<java.lang.String> address
The cached value of the 'Address
' attribute list.- See Also:
getAddress()
-
pets
protected org.eclipse.emf.common.util.EList<Pet> pets
The cached value of the 'Pets
' reference list.- See Also:
getPets()
-
NUMBER_OF_CHILDREN_EDEFAULT
protected static final int NUMBER_OF_CHILDREN_EDEFAULT
The default value of the 'Number Of Children
' attribute.- See Also:
getNumberOfChildren()
, Constant Field Values
-
numberOfChildren
protected int numberOfChildren
The cached value of the 'Number Of Children
' attribute.- See Also:
getNumberOfChildren()
-
members
protected org.eclipse.emf.common.util.EList<Person> members
The cached value of the 'Members
' containment reference list.- See Also:
getMembers()
-
ID_EDEFAULT
protected static final java.lang.String ID_EDEFAULT
The default value of the 'Id
' attribute.- See Also:
getId()
-
NUCLEAR_EDEFAULT
protected static final boolean NUCLEAR_EDEFAULT
The default value of the 'Nuclear
' attribute.- See Also:
isNuclear()
, Constant Field Values
-
nuclear
protected boolean nuclear
The cached value of the 'Nuclear
' attribute.- See Also:
isNuclear()
-
AVERAGE_AGE_EDEFAULT
protected static final float AVERAGE_AGE_EDEFAULT
The default value of the 'Average Age
' attribute.- See Also:
getAverageAge()
, Constant Field Values
-
averageAge
protected float averageAge
The cached value of the 'Average Age
' attribute.- See Also:
getAverageAge()
-
dogs
protected org.eclipse.emf.common.util.EList<Dog> dogs
The cached value of the 'Dogs
' reference list.- See Also:
getDogs()
-
lotteryNumbers
protected org.eclipse.emf.common.util.EList<java.lang.Integer> lotteryNumbers
The cached value of the 'Lottery Numbers
' attribute list.- See Also:
getLotteryNumbers()
-
-
Method Detail
-
eStaticClass
protected org.eclipse.emf.ecore.EClass eStaticClass()
- Overrides:
eStaticClass
in classNamedElementImpl
-
getAddress
public org.eclipse.emf.common.util.EList<java.lang.String> getAddress()
- Specified by:
getAddress
in interfaceFamily
- Returns:
- the value of the 'Address' attribute list.
- See Also:
FamiliesPackage.getFamily_Address()
-
getPets
public org.eclipse.emf.common.util.EList<Pet> getPets()
- Specified by:
getPets
in interfaceFamily
- Returns:
- the value of the 'Pets' reference list.
- See Also:
FamiliesPackage.getFamily_Pets()
-
getNumberOfChildren
public int getNumberOfChildren()
- Specified by:
getNumberOfChildren
in interfaceFamily
- Returns:
- the value of the 'Number Of Children' attribute.
- See Also:
Family.setNumberOfChildren(int)
,FamiliesPackage.getFamily_NumberOfChildren()
-
setNumberOfChildren
public void setNumberOfChildren(int newNumberOfChildren)
- Specified by:
setNumberOfChildren
in interfaceFamily
- Parameters:
newNumberOfChildren
- the new value of the 'Number Of Children' attribute.- See Also:
Family.getNumberOfChildren()
-
getMembers
public org.eclipse.emf.common.util.EList<Person> getMembers()
- Specified by:
getMembers
in interfaceFamily
- Returns:
- the value of the 'Members' containment reference list.
- See Also:
FamiliesPackage.getFamily_Members()
-
getId
public java.lang.String getId()
- Specified by:
getId
in interfaceFamily
- Returns:
- the value of the 'Id' attribute.
- See Also:
Family.setId(String)
,FamiliesPackage.getFamily_Id()
-
setId
public void setId(java.lang.String newId)
- Specified by:
setId
in interfaceFamily
- Parameters:
newId
- the new value of the 'Id' attribute.- See Also:
Family.getId()
-
isNuclear
public boolean isNuclear()
- Specified by:
isNuclear
in interfaceFamily
- Returns:
- the value of the 'Nuclear' attribute.
- See Also:
Family.setNuclear(boolean)
,FamiliesPackage.getFamily_Nuclear()
-
setNuclear
public void setNuclear(boolean newNuclear)
- Specified by:
setNuclear
in interfaceFamily
- Parameters:
newNuclear
- the new value of the 'Nuclear' attribute.- See Also:
Family.isNuclear()
-
getAverageAge
public float getAverageAge()
- Specified by:
getAverageAge
in interfaceFamily
- Returns:
- the value of the 'Average Age' attribute.
- See Also:
Family.setAverageAge(float)
,FamiliesPackage.getFamily_AverageAge()
-
setAverageAge
public void setAverageAge(float newAverageAge)
- Specified by:
setAverageAge
in interfaceFamily
- Parameters:
newAverageAge
- the new value of the 'Average Age' attribute.- See Also:
Family.getAverageAge()
-
getDogs
public org.eclipse.emf.common.util.EList<Dog> getDogs()
- Specified by:
getDogs
in interfaceFamily
- Returns:
- the value of the 'Dogs' reference list.
- See Also:
FamiliesPackage.getFamily_Dogs()
-
getDistrict
public District getDistrict()
- Specified by:
getDistrict
in interfaceFamily
- Returns:
- the value of the 'District' container reference.
- See Also:
Family.setDistrict(District)
,FamiliesPackage.getFamily_District()
,District.getFamilies()
-
basicSetDistrict
public org.eclipse.emf.common.notify.NotificationChain basicSetDistrict(District newDistrict, org.eclipse.emf.common.notify.NotificationChain msgs)
-
setDistrict
public void setDistrict(District newDistrict)
- Specified by:
setDistrict
in interfaceFamily
- Parameters:
newDistrict
- the new value of the 'District' container reference.- See Also:
Family.getDistrict()
-
getLotteryNumbers
public org.eclipse.emf.common.util.EList<java.lang.Integer> getLotteryNumbers()
- Specified by:
getLotteryNumbers
in interfaceFamily
- Returns:
- the value of the 'Lottery Numbers' attribute list.
- See Also:
FamiliesPackage.getFamily_LotteryNumbers()
-
eInverseAdd
public org.eclipse.emf.common.notify.NotificationChain eInverseAdd(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseAdd
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eInverseRemove
public org.eclipse.emf.common.notify.NotificationChain eInverseRemove(org.eclipse.emf.ecore.InternalEObject otherEnd, int featureID, org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eInverseRemove
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eBasicRemoveFromContainerFeature
public org.eclipse.emf.common.notify.NotificationChain eBasicRemoveFromContainerFeature(org.eclipse.emf.common.notify.NotificationChain msgs)
- Overrides:
eBasicRemoveFromContainerFeature
in classorg.eclipse.emf.ecore.impl.BasicEObjectImpl
-
eGet
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
- Specified by:
eGet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eGet
in classNamedElementImpl
-
eSet
public void eSet(int featureID, java.lang.Object newValue)
- Specified by:
eSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eSet
in classNamedElementImpl
-
eUnset
public void eUnset(int featureID)
- Specified by:
eUnset
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eUnset
in classNamedElementImpl
-
eIsSet
public boolean eIsSet(int featureID)
- Specified by:
eIsSet
in interfaceorg.eclipse.emf.ecore.InternalEObject
- Overrides:
eIsSet
in classNamedElementImpl
-
toString
public java.lang.String toString()
- Overrides:
toString
in classNamedElementImpl
-
-