ilog.cpl.model
Interface IlpAttributeValueProvider

All Known Implementing Classes:
IlpComputedAttribute, IlpObjectReferenceAttribute, IlpReferenceAttribute, IlpStaticAttribute

public interface IlpAttributeValueProvider

This interface should be implemented by attributes that know how to calculate their own value, either storing the value locally or having a reference to another attribute, or even computing the value based in external information.

Since:
JTGO 3.0

Method Summary
 Object getValue(IlpAttributeValueHolder h)
          Returns the value of the attribute in the given holder.
 boolean isDependentOn(IlpAttribute a)
          Returns whether this attribute depends on the given attribute to calculate its value.
 

Method Detail

getValue

Object getValue(IlpAttributeValueHolder h)
Returns the value of the attribute in the given holder.


isDependentOn

boolean isDependentOn(IlpAttribute a)
Returns whether this attribute depends on the given attribute to calculate its value.



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