be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.factory
Class NodeFactory

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.factory.DomainElementFactory<Node>
      extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.factory.NodeFactory

public class NodeFactory
extends DomainElementFactory<Node>

Creation date: 5/10/2007

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Field Summary
 
Fields inherited from class be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.factory.DomainElementFactory
defaultMap
 
Constructor Summary
NodeFactory(DomainDecorator domain)
           
NodeFactory(NodeIdGenerator nodeIdGenerator)
           
 
Method Summary
protected  java.lang.Object cloneObject(java.lang.Object object)
          Clone an object of type T.
 Node createInstance(java.util.HashMap<java.lang.String,java.lang.String> params)
          Build an instance of type T, given T specific parameters.
 Node createObject(java.lang.String model, java.util.HashMap<java.lang.String,java.lang.String> params)
          Create an object by cloning the model identified by model.
 
Methods inherited from class be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.topEdit.factory.DomainElementFactory
addInstance, clone, createDefaultObject, getAllInstanceName, getDefaultModel, getModel, removeInstance, setDefaultModel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeFactory

public NodeFactory(DomainDecorator domain)

NodeFactory

public NodeFactory(NodeIdGenerator nodeIdGenerator)
Method Detail

createInstance

public Node createInstance(java.util.HashMap<java.lang.String,java.lang.String> params)
Description copied from class: DomainElementFactory
Build an instance of type T, given T specific parameters.

Specified by:
createInstance in class DomainElementFactory<Node>
Returns:

createObject

public Node createObject(java.lang.String model,
                         java.util.HashMap<java.lang.String,java.lang.String> params)
                  throws NotFoundException
Description copied from class: DomainElementFactory
Create an object by cloning the model identified by model.

Overrides:
createObject in class DomainElementFactory<Node>
Returns:
Throws:
NotFoundException

cloneObject

protected java.lang.Object cloneObject(java.lang.Object object)
Description copied from class: DomainElementFactory
Clone an object of type T.

Specified by:
cloneObject in class DomainElementFactory<Node>
Returns:


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.