ilog.cpl.network
Class IlpDefaultNetworkLinkFactory

java.lang.Object
  extended by ilog.cpl.network.IlpDefaultNetworkLinkFactory
All Implemented Interfaces:
IlpNetworkLinkFactory

public class IlpDefaultNetworkLinkFactory
extends Object
implements IlpNetworkLinkFactory

Default implementation of network link factory. This default implementation creates IlpDefaultNetworkLinks.

Since:
JTGO 3.0

Constructor Summary
IlpDefaultNetworkLinkFactory()
           
 
Method Summary
 IlpNetworkLink createNetworkLink(IlpObject ilpObject, IlpExpansionStrategy expansionStrategy)
          Creates and returns a network link.
 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

IlpDefaultNetworkLinkFactory

public IlpDefaultNetworkLinkFactory()
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.

createNetworkLink

public IlpNetworkLink createNetworkLink(IlpObject ilpObject,
                                        IlpExpansionStrategy expansionStrategy)
Creates and returns a network link.

Specified by:
createNetworkLink in interface IlpNetworkLinkFactory
Parameters:
ilpObject - The IlpObject of the network link.
expansionStrategy - The expansion strategy of the network link.
See Also:
IlpDefaultNetworkLink


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