|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.designwizard.design.factory.ElementsFactory
public class ElementsFactory
Factory for Design elements.
| 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. |
static ElementsFactory |
getInstance()
Returns the unique instance for this factory. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ElementsFactory getInstance()
public Entity createEntity(java.lang.String entityName)
createEntity in interface AbstractElementsFactoryentityName - the name of the entity.
public Relation createRelation(Relation.TypesOfRelation type,
Entity caller,
Entity called)
Relation.
createRelation in interface AbstractElementsFactorytype - the type of the relation.caller - the caller of the relation.called - the called of the relation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||