Class ConstraintTerm

java.lang.Object
Direct Known Subclasses:
LimitBudgetTerm, LimitChargeTermIssuer, LimitExposureTerm, LimitHoldingsTerm, LimitNamesTermIssuer, LimitRiskTerm, LimitTaxTerm, LimitThresholdTermIssuer, LimitTradesTermIssuer, LimitTurnoverTermIssuer

public abstract class ConstraintTerm
extends FormulationTerm
ConstraintTerm holds the Details of a given Constraint Term.



Author:
Lakshmi Krishnamurthy
  • Method Details

    • softContraint

      public SoftConstraint softContraint()
      Retrieve the Soft Constraint
      Returns:
      The Soft Constraint
    • scope

      public Scope scope()
      Retrieve the Constraint Scope
      Returns:
      The Constraint Scope
    • unit

      public Unit unit()
      Retrieve the Constraint Unit
      Returns:
      The Constraint Unit
    • minimum

      public double minimum()
      Retrieve the Constraint Minimum
      Returns:
      The Constraint Minimum
    • maximum

      public double maximum()
      Retrieve the Constraint Maximum
      Returns:
      The Constraint Maximum
    • isEquality

      public boolean isEquality()
      Indicate if this is an Equality Constraint
      Returns:
      TRUE - This is an Equality Constraint
    • setSoftConstraint

      public boolean setSoftConstraint​(SoftConstraint softConstraint)
      Set the Soft Constraint
      Parameters:
      softConstraint - The Soft Constraint
      Returns:
      TRUE - The Soft Constraint successfully set