TOP

mdr.instantiate

Description

Creates a new MOF extent in the MetaData Repository or instantiates a metamodel package, this way creating a repository for models that are instances of its. When the extent and package names are empty, a MOF extent will be created, otherwise both must be not empty in order to create a model repository.

Implementation class

org.netbeans.mdrant.Instantiate

Parameters

Attribute Description Type
extent The name of the MOF extent where to lookup the metamodel package to instantiate a model repository String
name The name to assign to the newly created MOF extent or metamodel extent/model repository. String
package The name of the metamodel package to instantiate and create a model repository String

Use <typedef resource="net/mdatools/modelant/repository/antlib.xml"/>
Documentation generated by ant.doc Ant macro from ModelAnt by MDA Tools