Interface InactivatableFromTo

All Superinterfaces:
Inactivatable, MutableInactivatable

public interface InactivatableFromTo extends MutableInactivatable
Business objects that have effective dating (from to dates) should implement this interface. This translates the effective dates in terms of active/inactive status so the features built for MutableInactivatable in the frameworks can be taken advantage of
  • Method Details

    • setActiveFromDate

      void setActiveFromDate(Timestamp from)
      Sets the date for which record will be active
      Parameters:
      from - - Timestamp value to set
    • getActiveFromDate

      Timestamp getActiveFromDate()
      Gets the date for which the record become active
      Returns:
      Timestamp
    • setActiveToDate

      void setActiveToDate(Timestamp to)
      Sets the date for which record will be active to
      Parameters:
      from - - Timestamp value to set
    • getActiveToDate

      Timestamp getActiveToDate()
      Gets the date for which the record become inactive
      Returns:
      Timestamp
    • getActiveAsOfDate

      Timestamp getActiveAsOfDate()
      Gets the date for which the record is being compared to in determining active/inactive
      Returns:
      Timestamp
    • setActiveAsOfDate

      void setActiveAsOfDate(Timestamp activeAsOfDate)
      Sets the date for which the record should be compared to in determining active/inactive, if not set then the current date will be used
      Parameters:
      activeAsOfDate - - Timestamp value to set