ilog.cpl.equipment
Class IlpDefaultEquipmentNodeFactory

java.lang.Object
  extended by ilog.cpl.equipment.IlpDefaultEquipmentNodeFactory
All Implemented Interfaces:
IlpEquipmentNodeFactory

public class IlpDefaultEquipmentNodeFactory
extends Object
implements IlpEquipmentNodeFactory

Default implementation of equipment node factory. This default implementation creates IlpDefaultEquipmentNodes.

Since:
JTGO 3.0

Constructor Summary
IlpDefaultEquipmentNodeFactory()
          Creates a default equipment node factory instance.
 
Method Summary
 IlpEquipmentNode createEquipmentNode(IlpObject ilpObject, IlpExpansionStrategy expansionStrategy)
          Creates and returns an equipment 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

IlpDefaultEquipmentNodeFactory

public IlpDefaultEquipmentNodeFactory()
Creates a default equipment node factory instance.

This factory creates instances of IlpDefaultEquipmentNode.

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.

createEquipmentNode

public IlpEquipmentNode createEquipmentNode(IlpObject ilpObject,
                                            IlpExpansionStrategy expansionStrategy)
Creates and returns an equipment node.

Specified by:
createEquipmentNode in interface IlpEquipmentNodeFactory
Parameters:
ilpObject - The IlpObject of the equipment node.
expansionStrategy - The expansion strategy of the equipment node.
See Also:
IlpDefaultEquipmentNode


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