|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This wraps the emf package and factory so that EObject
intances can be created without knowing profile being used. In other words
when you create an object the factory will take care of finding the right
factory to create the element. For instance if you have a component profile
asset and you create a Solution then it uses the component profile factory.
If instead you create a Description, then it uses the default profile
factory. This interface is not intended to be implemented by clients.
Method Summary | |
EObject |
create(Class theEObjectClass)
This creates a new EObject for the asset's data model.
|
String |
getProfileId()
Retrieves the profile id of the profile for which the asset factory can create elements. |
Method Detail |
public String getProfileId()
public EObject create(Class theEObjectClass)
EObject
for the asset's data model.
This takes in the Class
of the object you are trying to
create. For instance to create a Solution object you pass in
"Solution.class".
theEObjectClass
- the Class
of the object you are trying to
create. For instance to create a Solution object you pass in
"Solution.class".
EObject
or null
if the
theEObjectClass was unknown.
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.