org.eclipse.emf.test.models.ppo
Interface USAddress

All Superinterfaces:
EObject, Notifier
All Known Implementing Classes:
USAddressImpl

public interface USAddress
extends EObject

A representation of the model object 'US Address'.

The following features are supported:

See Also:
PPOPackage.getUSAddress()

Method Summary
 java.lang.String getCity()
          Returns the value of the 'City' attribute
 java.lang.String getCountry()
          Returns the value of the 'Country' attribute.
 java.lang.String getName()
          Returns the value of the 'Name' attribute
 java.lang.String getState()
          Returns the value of the 'State' attribute
 java.lang.String getStreet()
          Returns the value of the 'Street' attribute
 int getZip()
          Returns the value of the 'Zip' attribute
 boolean hasUSState(DiagnosticChain diagnostics, java.util.Map<java.lang.Object,java.lang.Object> context)
           
 void setCity(java.lang.String value)
          Sets the value of the 'City' attribute
 void setName(java.lang.String value)
          Sets the value of the 'Name' attribute
 void setState(java.lang.String value)
          Sets the value of the 'State' attribute
 void setStreet(java.lang.String value)
          Sets the value of the 'Street' attribute
 void setZip(int value)
          Sets the value of the 'Zip' attribute
 
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
 

Method Detail

getName

java.lang.String getName()
Returns the value of the 'Name' attribute.

If the meaning of the 'Name' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Name' attribute.
See Also:
setName(String), PPOPackage.getUSAddress_Name()

setName

void setName(java.lang.String value)
Sets the value of the 'Name' attribute.

Parameters:
value - the new value of the 'Name' attribute.
See Also:
getName()

getStreet

java.lang.String getStreet()
Returns the value of the 'Street' attribute.

If the meaning of the 'Street' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Street' attribute.
See Also:
setStreet(String), PPOPackage.getUSAddress_Street()

setStreet

void setStreet(java.lang.String value)
Sets the value of the 'Street' attribute.

Parameters:
value - the new value of the 'Street' attribute.
See Also:
getStreet()

getCity

java.lang.String getCity()
Returns the value of the 'City' attribute.

If the meaning of the 'City' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'City' attribute.
See Also:
setCity(String), PPOPackage.getUSAddress_City()

setCity

void setCity(java.lang.String value)
Sets the value of the 'City' attribute.

Parameters:
value - the new value of the 'City' attribute.
See Also:
getCity()

getState

java.lang.String getState()
Returns the value of the 'State' attribute.

If the meaning of the 'State' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'State' attribute.
See Also:
setState(String), PPOPackage.getUSAddress_State()

setState

void setState(java.lang.String value)
Sets the value of the 'State' attribute.

Parameters:
value - the new value of the 'State' attribute.
See Also:
getState()

getZip

int getZip()
Returns the value of the 'Zip' attribute.

If the meaning of the 'Zip' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Zip' attribute.
See Also:
setZip(int), PPOPackage.getUSAddress_Zip()

setZip

void setZip(int value)
Sets the value of the 'Zip' attribute.

Parameters:
value - the new value of the 'Zip' attribute.
See Also:
getZip()

getCountry

java.lang.String getCountry()
Returns the value of the 'Country' attribute. The default value is "US".

If the meaning of the 'Country' attribute isn't clear, there really should be more of a description here...

Returns:
the value of the 'Country' attribute.
See Also:
PPOPackage.getUSAddress_Country()

hasUSState

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


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