org.designwizard.design.factory
Interface AbstractElementsFactory

All Known Implementing Classes:
ElementsFactory

public interface AbstractElementsFactory

Interface to object creation.

Author:
Jo�o Arthur Brunet Monteiro - jarthur@dsc.ufcg.edu.br

Method Summary
 Entity createEntity(java.lang.String entityName)
          Creates a new entity with the specified name.
 Relation createRelation(Relation.TypesOfRelation type, Entity caller, Entity called)
          Creates a new Relation.
 

Method Detail

createEntity

Entity createEntity(java.lang.String entityName)
Creates a new entity with the specified name.

Parameters:
entityName - the name of the entity.
Returns:
a new Entity with the specified name.

createRelation

Relation createRelation(Relation.TypesOfRelation type,
                        Entity caller,
                        Entity called)
Creates a new Relation.

Parameters:
type - the type of the relation.
caller - the caller of the relation.
called - the called of the relation.
Returns:
a new Relation.