ilog.cpl.util
Interface IlpExpansionStrategyFactory

All Known Implementing Classes:
IlpDefaultNodeExpansionStrategyFactory, IlpDefaultTreeExpansionStrategyFactory

public interface IlpExpansionStrategyFactory

This interface represents a factory used to create expansion strategies. An expansion strategy defines how a business object behaves in case of expansion.

This factory is used by adapters to create the expansion strategy that is used by each representation object. Stateless expansion strategies can be shared among several representation objects.

Since:
JTGO 4.0
See Also:
IlpExpansionStrategy, IlpAbstractHierarchyAdapter.setExpansionStrategyFactory(ilog.cpl.util.IlpExpansionStrategyFactory)

Field Summary
static IlpExpansionStrategyFactory DEFAULT
          Default expansion strategy factory.
 
Method Summary
 IlpExpansionStrategy create(IlpObject object)
          Returns an expansion strategy for the given business object.
 

Field Detail

DEFAULT

static final IlpExpansionStrategyFactory DEFAULT
Default expansion strategy factory. It considers that objects are not expandable by default.

Method Detail

create

IlpExpansionStrategy create(IlpObject object)
Returns an expansion strategy for the given business object.

This method is called whenever an expansion strategy is needed by a business objects. Stateless expansion strategies can be shared among several business objects.

Parameters:
object - Business object


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