org.eclipse.ohf.ihe.common.hl7v2.impl
Class XPNImpl

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.ohf.ihe.common.hl7v2.impl.XPNImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, XPN

public class XPNImpl
extends org.eclipse.emf.ecore.impl.EObjectImpl
implements XPN

An implementation of the model object 'XPN'. This data structure is being used to represent a person name and is based on the HL7 v2.5 data type XPN.

The following features are implemented:


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList
 
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject
org.eclipse.emf.ecore.InternalEObject.EStore
 
Field Summary
 
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
ELAST_EOBJECT_FLAG
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Method Summary
 java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
           
 boolean eIsSet(int featureID)
           
 void eSet(int featureID, java.lang.Object newValue)
           
 void eUnset(int featureID)
           
 java.lang.String getFamilyName()
           
 java.lang.String getGivenName()
           
 java.lang.String getOtherName()
           
 java.lang.String getPrefix()
           
 java.lang.String getSuffix()
           
 void setFamilyName(java.lang.String newFamilyName)
           
 void setGivenName(java.lang.String newGivenName)
           
 void setOtherName(java.lang.String newOtherName)
           
 void setPrefix(java.lang.String newPrefix)
           
 void setSuffix(java.lang.String newSuffix)
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseAdd, eInverseRemove, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset
 
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl
eNotificationRequired, eNotify
 
Methods inherited from class java.lang.Object
equals, 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, 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
 

Method Detail

getFamilyName

public java.lang.String getFamilyName()

Specified by:
getFamilyName in interface XPN
Returns:
the value of the 'Family Name' attribute.
See Also:
XPN.setFamilyName(String), Hl7v2Package.getXPN_FamilyName()

setFamilyName

public void setFamilyName(java.lang.String newFamilyName)

Specified by:
setFamilyName in interface XPN
Parameters:
newFamilyName - the new value of the 'Family Name' attribute.
See Also:
XPN.getFamilyName()

getGivenName

public java.lang.String getGivenName()

Specified by:
getGivenName in interface XPN
Returns:
the value of the 'Given Name' attribute.
See Also:
XPN.setGivenName(String), Hl7v2Package.getXPN_GivenName()

setGivenName

public void setGivenName(java.lang.String newGivenName)

Specified by:
setGivenName in interface XPN
Parameters:
newGivenName - the new value of the 'Given Name' attribute.
See Also:
XPN.getGivenName()

getOtherName

public java.lang.String getOtherName()

Specified by:
getOtherName in interface XPN
Returns:
the value of the 'Other Name' attribute.
See Also:
XPN.setOtherName(String), Hl7v2Package.getXPN_OtherName()

setOtherName

public void setOtherName(java.lang.String newOtherName)

Specified by:
setOtherName in interface XPN
Parameters:
newOtherName - the new value of the 'Other Name' attribute.
See Also:
XPN.getOtherName()

getSuffix

public java.lang.String getSuffix()

Specified by:
getSuffix in interface XPN
Returns:
the value of the 'Suffix' attribute.
See Also:
XPN.setSuffix(String), Hl7v2Package.getXPN_Suffix()

setSuffix

public void setSuffix(java.lang.String newSuffix)

Specified by:
setSuffix in interface XPN
Parameters:
newSuffix - the new value of the 'Suffix' attribute.
See Also:
XPN.getSuffix()

getPrefix

public java.lang.String getPrefix()

Specified by:
getPrefix in interface XPN
Returns:
the value of the 'Prefix' attribute.
See Also:
XPN.setPrefix(String), Hl7v2Package.getXPN_Prefix()

setPrefix

public void setPrefix(java.lang.String newPrefix)

Specified by:
setPrefix in interface XPN
Parameters:
newPrefix - the new value of the 'Prefix' attribute.
See Also:
XPN.getPrefix()

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 org.eclipse.emf.ecore.impl.BasicEObjectImpl

eSet

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

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

eUnset

public void eUnset(int featureID)

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

eIsSet

public boolean eIsSet(int featureID)

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

toString

public java.lang.String toString()

Overrides:
toString in class org.eclipse.emf.ecore.impl.BasicEObjectImpl