|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.m2m.atl.core.ModelFactory
public abstract class ModelFactory
The ModelFactory abstract class allows to create IModel and IReferenceModel.
| Constructor Summary | |
|---|---|
ModelFactory()
|
|
| Method Summary | |
|---|---|
abstract IReferenceModel |
getBuiltInResource(java.lang.String name)
Returns the built-in resource matching the given name. |
abstract java.lang.String |
getDefaultExtractorName()
Returns a default IExtractor associated with the current factory. |
abstract java.lang.String |
getDefaultInjectorName()
Returns a default IInjector associated with the current factory. |
abstract IReferenceModel |
getMetametamodel()
Returns the Metametamodel. |
abstract IModel |
newModel(IReferenceModel referenceModel)
Creates a new IModel using default options and conforming to the given IReferenceModel. |
abstract IModel |
newModel(IReferenceModel referenceModel,
java.util.Map<java.lang.String,java.lang.Object> options)
Creates a new IModel using specified options and conforming to the given
IReferenceModel. |
abstract IReferenceModel |
newReferenceModel()
Creates a new IReferenceModel using default options. |
abstract IReferenceModel |
newReferenceModel(java.util.Map<java.lang.String,java.lang.Object> options)
Creates a new IReferenceModel using specified options. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ModelFactory()
| Method Detail |
|---|
public abstract IReferenceModel getMetametamodel()
public abstract java.lang.String getDefaultInjectorName()
IInjector associated with the current factory.
IInjectorpublic abstract java.lang.String getDefaultExtractorName()
IExtractor associated with the current factory.
IExtractor
public abstract IReferenceModel newReferenceModel()
throws ATLCoreException
IReferenceModel using default options.
IReferenceModel
ATLCoreException
public abstract IReferenceModel newReferenceModel(java.util.Map<java.lang.String,java.lang.Object> options)
throws ATLCoreException
IReferenceModel using specified options.
options - the creation options
IReferenceModel
ATLCoreException
public abstract IModel newModel(IReferenceModel referenceModel)
throws ATLCoreException
IModel using default options and conforming to the given IReferenceModel.
referenceModel - the IReferenceModel
IModel
ATLCoreException
public abstract IModel newModel(IReferenceModel referenceModel,
java.util.Map<java.lang.String,java.lang.Object> options)
throws ATLCoreException
IModel using specified options and conforming to the given
IReferenceModel.
referenceModel - the IReferenceModeloptions - the creation options
IModel
ATLCoreException
public abstract IReferenceModel getBuiltInResource(java.lang.String name)
throws ATLCoreException
name - the resource name
ATLCoreException
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||