org.andromda.core.configuration
Class Repository

java.lang.Object
  extended by org.andromda.core.configuration.Repository
All Implemented Interfaces:
java.io.Serializable

public class Repository
extends java.lang.Object
implements java.io.Serializable

Stores the repository information for each model that AndroMDA will process.

Author:
Chad Brandon
See Also:
Serialized Form

Constructor Summary
Repository()
           
 
Method Summary
 void addModel(Model model)
          Adds a model that this repository will load.
 Model[] getModels()
          Gets the model instances belonging to this repository.
 java.lang.String getName()
          Gets the unique name of this repository.
 void setName(java.lang.String name)
          Sets the unique (among other repositories) name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Repository

public Repository()
Method Detail

setName

public void setName(java.lang.String name)
Sets the unique (among other repositories) name.

Parameters:
name - the unique name of this repository.

getName

public java.lang.String getName()
Gets the unique name of this repository.

Returns:
the repository name.

addModel

public void addModel(Model model)
Adds a model that this repository will load.

Parameters:
model - the model to load.

getModels

public Model[] getModels()
Gets the model instances belonging to this repository.

Returns:
the of model instances.


Copyright © 2003-2008 AndroMDA.org. All Rights Reserved.