org.eclipse.emf.test.models.ppo.impl
Class USAddressImpl

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.eclipse.emf.test.models.ppo.impl.USAddressImpl
All Implemented Interfaces:
Notifier, EObject, InternalEObject, USAddress

public class USAddressImpl
extends EObjectImpl
implements USAddress

An implementation of the model object 'US Address'.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
BasicEObjectImpl.EPropertiesHolder, BasicEObjectImpl.EPropertiesHolderBaseImpl, BasicEObjectImpl.EPropertiesHolderImpl
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
BasicNotifierImpl.EAdapterList<E extends java.lang.Object & Adapter>, BasicNotifierImpl.EObservableAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
InternalEObject.EStore
 
Field Summary
protected  java.lang.String city
          The cached value of the 'City' attribute
protected static java.lang.String CITY_EDEFAULT
          The default value of the 'City' attribute
protected  java.lang.String country
          The cached value of the 'Country' attribute
protected static java.lang.String COUNTRY_EDEFAULT
          The default value of the 'Country' attribute
protected  java.lang.String name
          The cached value of the 'Name' attribute
protected static java.lang.String NAME_EDEFAULT
          The default value of the 'Name' attribute
protected  java.lang.String state
          The cached value of the 'State' attribute
protected static java.lang.String STATE_EDEFAULT
          The default value of the 'State' attribute
protected  java.lang.String street
          The cached value of the 'Street' attribute
protected static java.lang.String STREET_EDEFAULT
          The default value of the 'Street' attribute
protected  int zip
          The cached value of the 'Zip' attribute
protected static int ZIP_EDEFAULT
          The default value of the 'Zip' attribute
 
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 USAddressImpl()
           
 
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  EClass eStaticClass()
           
 void eUnset(int featureID)
           
 java.lang.String getCity()
           
 java.lang.String getCountry()
           
 java.lang.String getName()
           
 java.lang.String getState()
           
 java.lang.String getStreet()
           
 int getZip()
           
 boolean hasUSState(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 void setCity(java.lang.String newCity)
           
 void setName(java.lang.String newName)
           
 void setState(java.lang.String newState)
           
 void setStreet(java.lang.String newStreet)
           
 void setZip(int newZip)
           
 java.lang.String toString()
           
 
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, eBasicRemoveFromContainerFeature, 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, eInverseAdd, eInverseRemove, 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.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
 
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject
eNotificationRequired
 

Field Detail

NAME_EDEFAULT

protected static final java.lang.String NAME_EDEFAULT
The default value of the 'Name' attribute.

See Also:
getName()

name

protected java.lang.String name
The cached value of the 'Name' attribute.

See Also:
getName()

STREET_EDEFAULT

protected static final java.lang.String STREET_EDEFAULT
The default value of the 'Street' attribute.

See Also:
getStreet()

street

protected java.lang.String street
The cached value of the 'Street' attribute.

See Also:
getStreet()

CITY_EDEFAULT

protected static final java.lang.String CITY_EDEFAULT
The default value of the 'City' attribute.

See Also:
getCity()

city

protected java.lang.String city
The cached value of the 'City' attribute.

See Also:
getCity()

STATE_EDEFAULT

protected static final java.lang.String STATE_EDEFAULT
The default value of the 'State' attribute.

See Also:
getState()

state

protected java.lang.String state
The cached value of the 'State' attribute.

See Also:
getState()

ZIP_EDEFAULT

protected static final int ZIP_EDEFAULT
The default value of the 'Zip' attribute.

See Also:
getZip(), Constant Field Values

zip

protected int zip
The cached value of the 'Zip' attribute.

See Also:
getZip()

COUNTRY_EDEFAULT

protected static final java.lang.String COUNTRY_EDEFAULT
The default value of the 'Country' attribute.

See Also:
getCountry(), Constant Field Values

country

protected java.lang.String country
The cached value of the 'Country' attribute.

See Also:
getCountry()
Constructor Detail

USAddressImpl

protected USAddressImpl()

Method Detail

eStaticClass

protected EClass eStaticClass()

Overrides:
eStaticClass in class EObjectImpl

getName

public java.lang.String getName()

Specified by:
getName in interface USAddress
Returns:
the value of the 'Name' attribute.
See Also:
USAddress.setName(String), PPOPackage.getUSAddress_Name()

setName

public void setName(java.lang.String newName)

Specified by:
setName in interface USAddress
Parameters:
newName - the new value of the 'Name' attribute.
See Also:
USAddress.getName()

getStreet

public java.lang.String getStreet()

Specified by:
getStreet in interface USAddress
Returns:
the value of the 'Street' attribute.
See Also:
USAddress.setStreet(String), PPOPackage.getUSAddress_Street()

setStreet

public void setStreet(java.lang.String newStreet)

Specified by:
setStreet in interface USAddress
Parameters:
newStreet - the new value of the 'Street' attribute.
See Also:
USAddress.getStreet()

getCity

public java.lang.String getCity()

Specified by:
getCity in interface USAddress
Returns:
the value of the 'City' attribute.
See Also:
USAddress.setCity(String), PPOPackage.getUSAddress_City()

setCity

public void setCity(java.lang.String newCity)

Specified by:
setCity in interface USAddress
Parameters:
newCity - the new value of the 'City' attribute.
See Also:
USAddress.getCity()

getState

public java.lang.String getState()

Specified by:
getState in interface USAddress
Returns:
the value of the 'State' attribute.
See Also:
USAddress.setState(String), PPOPackage.getUSAddress_State()

setState

public void setState(java.lang.String newState)

Specified by:
setState in interface USAddress
Parameters:
newState - the new value of the 'State' attribute.
See Also:
USAddress.getState()

getZip

public int getZip()

Specified by:
getZip in interface USAddress
Returns:
the value of the 'Zip' attribute.
See Also:
USAddress.setZip(int), PPOPackage.getUSAddress_Zip()

setZip

public void setZip(int newZip)

Specified by:
setZip in interface USAddress
Parameters:
newZip - the new value of the 'Zip' attribute.
See Also:
USAddress.getZip()

getCountry

public java.lang.String getCountry()

Specified by:
getCountry in interface USAddress
Returns:
the value of the 'Country' attribute.
See Also:
PPOPackage.getUSAddress_Country()

hasUSState

public boolean hasUSState(DiagnosticChain diagnostics,
                          java.util.Map<java.lang.Object,java.lang.Object> context)

Specified by:
hasUSState in interface USAddress

eGet

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

Specified by:
eGet in interface InternalEObject
Overrides:
eGet in class BasicEObjectImpl
See Also:
InternalEObject.eGet(EStructuralFeature, boolean, boolean)

eSet

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

Specified by:
eSet in interface InternalEObject
Overrides:
eSet in class BasicEObjectImpl
See Also:
EObject.eSet(EStructuralFeature, Object)

eUnset

public void eUnset(int featureID)

Specified by:
eUnset in interface InternalEObject
Overrides:
eUnset in class BasicEObjectImpl
See Also:
EObject.eUnset(EStructuralFeature)

eIsSet

public boolean eIsSet(int featureID)

Specified by:
eIsSet in interface InternalEObject
Overrides:
eIsSet in class BasicEObjectImpl
See Also:
EObject.eIsSet(EStructuralFeature)

toString

public java.lang.String toString()

Overrides:
toString in class BasicEObjectImpl

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.