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

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.ecore.impl.FlatEObjectImpl
                  extended by org.eclipse.emf.ecore.impl.EModelElementImpl
                      extended by org.eclipse.emf.ecore.impl.EFactoryImpl
                          extended by org.eclipse.ohf.ihe.common.hl7v2.impl.Hl7v2FactoryImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Hl7v2Factory

public class Hl7v2FactoryImpl
extends org.eclipse.emf.ecore.impl.EFactoryImpl
implements Hl7v2Factory

An implementation of the model Factory.


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.ohf.ihe.common.hl7v2.Hl7v2Factory
eINSTANCE
 
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject
EOPPOSITE_FEATURE_BASE
 
Constructor Summary
Hl7v2FactoryImpl()
          Creates an instance of the factory.
 
Method Summary
 java.lang.String convertDTMToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertOidToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.Object instanceValue)
           
 org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)
           
 CX createCX()
           
 DocumentRoot createDocumentRoot()
           
 java.lang.String createDTMFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 java.lang.String createOidFromString(org.eclipse.emf.ecore.EDataType eDataType, java.lang.String initialValue)
           
 SourcePatientInfoType createSourcePatientInfoType()
           
 XAD createXAD()
           
 XCN createXCN()
           
 XON createXON()
           
 XPN createXPN()
           
 XTN createXTN()
           
 Hl7v2Package getHl7v2Package()
           
static Hl7v2Package getPackage()
          Deprecated.  
static Hl7v2Factory init()
          Creates the default factory implementation.
 
Methods inherited from class org.eclipse.emf.ecore.impl.EFactoryImpl
basicSetEPackage, eGet, eInverseAdd, eInverseRemove, eIsSet, eSet, eUnset, getEPackage, setEPackage
 
Methods inherited from class org.eclipse.emf.ecore.impl.EModelElementImpl
eObjectForURIFragmentSegment, eURIFragmentSegment, getEAnnotation, getEAnnotations
 
Methods inherited from class org.eclipse.emf.ecore.impl.FlatEObjectImpl
eContents, eCrossReferences, eIsProxy, eProxyURI, eSetProxyURI
 
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eSetClass, eSetDeliver
 
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicRemoveFromContainerFeature, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset, toString
 
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.EFactory
getEPackage, setEPackage
 
Methods inherited from interface org.eclipse.emf.ecore.EModelElement
getEAnnotation, getEAnnotations
 
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
 

Constructor Detail

Hl7v2FactoryImpl

public Hl7v2FactoryImpl()
Creates an instance of the factory.

Method Detail

init

public static Hl7v2Factory init()
Creates the default factory implementation.


create

public org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClass eClass)

Specified by:
create in interface org.eclipse.emf.ecore.EFactory
Overrides:
create in class org.eclipse.emf.ecore.impl.EFactoryImpl

createFromString

public java.lang.Object createFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                         java.lang.String initialValue)

Specified by:
createFromString in interface org.eclipse.emf.ecore.EFactory
Overrides:
createFromString in class org.eclipse.emf.ecore.impl.EFactoryImpl

convertToString

public java.lang.String convertToString(org.eclipse.emf.ecore.EDataType eDataType,
                                        java.lang.Object instanceValue)

Specified by:
convertToString in interface org.eclipse.emf.ecore.EFactory
Overrides:
convertToString in class org.eclipse.emf.ecore.impl.EFactoryImpl

createCX

public CX createCX()

Specified by:
createCX in interface Hl7v2Factory
Returns:
a new object of class 'CX'.

createDocumentRoot

public DocumentRoot createDocumentRoot()

Specified by:
createDocumentRoot in interface Hl7v2Factory
Returns:
a new object of class 'Document Root'.

createSourcePatientInfoType

public SourcePatientInfoType createSourcePatientInfoType()

Specified by:
createSourcePatientInfoType in interface Hl7v2Factory
Returns:
a new object of class 'Source Patient Info Type'.

createXAD

public XAD createXAD()

Specified by:
createXAD in interface Hl7v2Factory
Returns:
a new object of class 'XAD'.

createXCN

public XCN createXCN()

Specified by:
createXCN in interface Hl7v2Factory
Returns:
a new object of class 'XCN'.

createXON

public XON createXON()

Specified by:
createXON in interface Hl7v2Factory
Returns:
a new object of class 'XON'.

createXPN

public XPN createXPN()

Specified by:
createXPN in interface Hl7v2Factory
Returns:
a new object of class 'XPN'.

createXTN

public XTN createXTN()

Specified by:
createXTN in interface Hl7v2Factory
Returns:
a new object of class 'XTN'.

createDTMFromString

public java.lang.String createDTMFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                            java.lang.String initialValue)


convertDTMToString

public java.lang.String convertDTMToString(org.eclipse.emf.ecore.EDataType eDataType,
                                           java.lang.Object instanceValue)


createOidFromString

public java.lang.String createOidFromString(org.eclipse.emf.ecore.EDataType eDataType,
                                            java.lang.String initialValue)


convertOidToString

public java.lang.String convertOidToString(org.eclipse.emf.ecore.EDataType eDataType,
                                           java.lang.Object instanceValue)


getHl7v2Package

public Hl7v2Package getHl7v2Package()

Specified by:
getHl7v2Package in interface Hl7v2Factory
Returns:
the package supported by this factory.

getPackage

public static Hl7v2Package getPackage()
Deprecated.