ilog.cpl.equipment
Class IlpDefaultEquipmentLinkFactory

java.lang.Object
  extended by ilog.cpl.equipment.IlpDefaultEquipmentLinkFactory
All Implemented Interfaces:
IlpEquipmentLinkFactory

public class IlpDefaultEquipmentLinkFactory
extends Object
implements IlpEquipmentLinkFactory

The default implementation of equipment link factory. This default implementation creates IlpDefaultEquipmentLinks.

Since:
JTGO 4.0

Constructor Summary
IlpDefaultEquipmentLinkFactory()
          Creates a default equipment link factory instance.
 
Method Summary
 IlpEquipmentLink createEquipmentLink(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

IlpDefaultEquipmentLinkFactory

public IlpDefaultEquipmentLinkFactory()
Creates a default equipment link factory instance.

This factory creates instances of IlpDefaultEquipmentLink.

Since:
JViews 8.0
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.

createEquipmentLink

public IlpEquipmentLink createEquipmentLink(IlpObject ilpObject,
                                            IlpExpansionStrategy expansionStrategy)
Creates and returns a network link.

Specified by:
createEquipmentLink in interface IlpEquipmentLinkFactory
Parameters:
ilpObject - The IlpObject of the network link.
expansionStrategy - The expansion strategy of the equipment link.
See Also:
IlpDefaultEquipmentLink


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