ilog.cpl.network
Class IlpDefaultNetworkNodeFactory

java.lang.Object
  extended by ilog.cpl.network.IlpDefaultNetworkNodeFactory
All Implemented Interfaces:
IlpNetworkNodeFactory

public class IlpDefaultNetworkNodeFactory
extends Object
implements IlpNetworkNodeFactory

Default implementation of network node factory. This default implementation creates IlpDefaultNetworkNodes.

Since:
JTGO 3.0

Constructor Summary
IlpDefaultNetworkNodeFactory()
           
 
Method Summary
 IlpNetworkNode createNetworkNode(IlpObject ilpObject, IlpExpansionStrategy expansionStrategy)
          Creates and returns a network node.
 IlpExtendedAttributeGroup getExtendedAttributeGroup(IlpClass clazz)
          Gets the extended attribute model used for representation objects (nodes) that represent a certain class of IlpObject.
 void setExtendedAttributeGroup(IlpClass clazz, IlpExtendedAttributeGroup attrGroup)
          Sets the extended attribute group for representation objects (nodes) that represent a certain class of IlpObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlpDefaultNetworkNodeFactory

public IlpDefaultNetworkNodeFactory()
Method Detail

setExtendedAttributeGroup

public void setExtendedAttributeGroup(IlpClass clazz,
                                      IlpExtendedAttributeGroup attrGroup)
Sets the extended attribute group for representation objects (nodes) that represent a certain class of IlpObject.

Parameters:
clazz - The class of IlpObject.
attrGroup - The attribute group of the representation objects (nodes) that represent IlpObjects of the class clazz.

getExtendedAttributeGroup

public IlpExtendedAttributeGroup getExtendedAttributeGroup(IlpClass clazz)
Gets the extended attribute model used for representation objects (nodes) that represent a certain class of IlpObject.

Parameters:
clazz - The class of IlpObject.
Returns:
The attribute group of the representation objects (nodes) that represent IlpObjects of the class clazz.

createNetworkNode

public IlpNetworkNode createNetworkNode(IlpObject ilpObject,
                                        IlpExpansionStrategy expansionStrategy)
Creates and returns a network node.

Specified by:
createNetworkNode in interface IlpNetworkNodeFactory
Parameters:
ilpObject - The IlpObject of the network node.
expansionStrategy - The expansion strategy of the network node.
See Also:
IlpDefaultNetworkNode


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.   . All Rights Reserved.