Class CheckContainmentObjectContext
java.lang.Object
com.e1c.g5.v8.dt.internal.check.context.CheckContainmentObjectContext
Part of the
CheckObjectContext
defining the DD computation context for containment objects.-
Constructor Summary
ConstructorsConstructorDescriptionCheckContainmentObjectContext
(long bmObjectId) Creates new instance of the part-based context for the containment object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a single check to the set of checks for the containmentvoid
addCheckIds
(Collection<String> checkIds) Adds new DD checkIds (with replacing) for this context.long
Gets the identifier of the associated containment BM object.Gets the set of checkIds being collected for the computation at the moment.
-
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
Adds a single check to the set of checks for the containment- Parameters:
checkId
- The identifier of the check. May not benull
-
addCheckIds
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
Gets the set of checkIds being collected for the computation at the moment.- Returns:
- The set of checkIds to compute. Cannot be
null
.
-