TM Service Discovery
Release 2.0

org.eclipse.tm.discovery.model
Interface ModelFactory

All Superinterfaces:
org.eclipse.emf.ecore.EFactory, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier

public interface ModelFactory
extends org.eclipse.emf.ecore.EFactory

The Factory for the model. It provides a create method for each non-abstract class of the model.

See Also:
ModelPackage

Field Summary
static ModelFactory eINSTANCE
          The singleton instance of the factory.
 
Method Summary
 Device createDevice()
          Returns a new object of class 'Device'.
 Network createNetwork()
          Returns a new object of class 'Network'.
 Pair createPair()
          Returns a new object of class 'Pair'.
 Service createService()
          Returns a new object of class 'Service'.
 ServiceType createServiceType()
          Returns a new object of class 'Service Type'.
 ModelPackage getModelPackage()
          Returns the package supported by this factory.
 
Methods inherited from interface org.eclipse.emf.ecore.EFactory
convertToString, create, createFromString, 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
 

Field Detail

eINSTANCE

static final ModelFactory eINSTANCE
The singleton instance of the factory.

Method Detail

createDevice

Device createDevice()
Returns a new object of class 'Device'.

Returns:
a new object of class 'Device'.

createNetwork

Network createNetwork()
Returns a new object of class 'Network'.

Returns:
a new object of class 'Network'.

createPair

Pair createPair()
Returns a new object of class 'Pair'.

Returns:
a new object of class 'Pair'.

createService

Service createService()
Returns a new object of class 'Service'.

Returns:
a new object of class 'Service'.

createServiceType

ServiceType createServiceType()
Returns a new object of class 'Service Type'.

Returns:
a new object of class 'Service Type'.

getModelPackage

ModelPackage getModelPackage()
Returns the package supported by this factory.

Returns:
the package supported by this factory.

TM Service Discovery
Release 2.0

Copyright (c) 2007 Symbian Software Ltd. and others. All Rights Reserved.