Record Class DesignDecisionRecord.Growth

java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Growth
Record Components:
annualGrowth - the growth rate used (fraction)
horizonMonths - the horizon
currency - the currency of the amounts
onDemandTotal - the on-demand total over the horizon, or null when a month is unpriced
items - one line per item
unpriced - what could not be priced
assumptions - the modelling assumptions
Enclosing class:
DesignDecisionRecord

public static record DesignDecisionRecord.Growth(double annualGrowth, int horizonMonths, String currency, BigDecimal onDemandTotal, List<DesignDecisionRecord.GrowthItem> items, List<String> unpriced, List<String> assumptions) extends Record
The design priced month by month under the spec's growth, with a term recommendation per item.
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • annualGrowth

      public double annualGrowth()
      Returns the value of the annualGrowth record component.
      Returns:
      the value of the annualGrowth record component
    • horizonMonths

      public int horizonMonths()
      Returns the value of the horizonMonths record component.
      Returns:
      the value of the horizonMonths record component
    • currency

      public String currency()
      Returns the value of the currency record component.
      Returns:
      the value of the currency record component
    • onDemandTotal

      public BigDecimal onDemandTotal()
      Returns the value of the onDemandTotal record component.
      Returns:
      the value of the onDemandTotal record component
    • items

      Returns the value of the items record component.
      Returns:
      the value of the items record component
    • unpriced

      public List<String> unpriced()
      Returns the value of the unpriced record component.
      Returns:
      the value of the unpriced record component
    • assumptions

      public List<String> assumptions()
      Returns the value of the assumptions record component.
      Returns:
      the value of the assumptions record component