Class CheckContainmentObjectContext

java.lang.Object
com.e1c.g5.v8.dt.internal.check.context.CheckContainmentObjectContext

public final class CheckContainmentObjectContext extends Object
Part of the CheckObjectContext defining the DD computation context for containment objects.
  • Constructor Details

    • CheckContainmentObjectContext

      public CheckContainmentObjectContext(long bmObjectId)
      Creates new instance of the part-based context for the containment object.
      Parameters:
      bmObjectId - The identifier of the target containment BM object.
  • Method Details

    • addCheck

      public void addCheck(String checkId)
      Adds a single check to the set of checks for the containment
      Parameters:
      checkId - The identifier of the check. May not be null
    • addCheckIds

      public void addCheckIds(Collection<String> checkIds)
      Adds new DD checkIds (with replacing) for this context.
      Parameters:
      checkIds - The set of DD checkIds that should be updated for the containment object.
    • getBmObjectId

      public long getBmObjectId()
      Gets the identifier of the associated containment BM object.
      Returns:
      The identifier of the containment object.
    • getCheckIds

      public Set<String> getCheckIds()
      Gets the set of checkIds being collected for the computation at the moment.
      Returns:
      The set of checkIds to compute. Cannot be null.