ilog.cpl.model
Class IlpComputedAttribute
java.lang.Object
ilog.cpl.model.IlpDefaultAttribute
ilog.cpl.model.IlpComputedAttribute
- All Implemented Interfaces:
- IlpAttribute, IlpAttributeValueProvider
public abstract class IlpComputedAttribute
- extends IlpDefaultAttribute
- implements IlpAttributeValueProvider
This class models an attribute whose value is computed based on
external information. In order to define how the attribute value
is calculated and based on which attributes, the user will have to
create subclasses of this one and implement the IlpAttributeValueProvider
interface.
- Since:
- JTGO 3.0
|
Method Summary |
boolean |
isTransient()
Indicates whether this attribute should persist or not. |
IlpComputedAttribute
protected IlpComputedAttribute(String name,
Class valueClass)
- Creates a new attribute with the given name and class.
- Parameters:
name - The name of the new attribute.valueClass - The class of the new attribute.
isTransient
public boolean isTransient()
- Indicates whether this attribute should persist or not.
- Specified by:
isTransient in interface IlpAttribute- Overrides:
isTransient in class IlpDefaultAttribute
- Returns:
true.
Copyright © 1996-2007 ILOG S.A. All rights reserved. Documentation homepage. . All Rights Reserved.