Class LanguageCheckObjectContext
java.lang.Object
com._1c.g5.v8.derived.context.BasicObjectContext
com.e1c.g5.v8.dt.internal.check.context.LanguageCheckObjectContext
- All Implemented Interfaces:
IObjectDerivedDataContext
Specific DD context implementation for the language object validation stage. Allows arranging of arbitrary check set for
a single language module
-
Constructor Summary
ConstructorsConstructorDescriptionLanguageCheckObjectContext
(Object objectId, org.eclipse.emf.ecore.EClass eClass, String segmentId, Object computationCause) Constructs a new instance of the context. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCheckId
(String checkId) Adds a necessary check (using its identifier) to the set of check that should be performedvoid
addCheckIds
(Set<String> checkIds) Adds multiple checks to this check.Gets the set of check id's being collected within this context.void
loadData
(IContextDataInput dataInput) Loads previously stored data into this contextboolean
mergeUpdates
(IObjectDerivedDataContext context) Merges updates into the context.void
saveData
(IContextDataOutput dataOutput) Saves data of this context to an external storageMethods inherited from class com._1c.g5.v8.derived.context.BasicObjectContext
getBmObjectId, getComputationCause, getEClass, getObjectId, getSegmentId, getTransactionHandle, getVersion, isFullRebuild, isInactive, setFullRebuild, setInactive, setTransactionHandle, setVersion
-
Constructor Details
-
LanguageCheckObjectContext
public LanguageCheckObjectContext(Object objectId, org.eclipse.emf.ecore.EClass eClass, String segmentId, Object computationCause) Constructs a new instance of the context.- Parameters:
objectId
- The identifier of the object this context corresponds to. May not benull
eClass
- The EClass of the of the top BM object this context corresponds tosegmentId
- The identifier of DD segment this context belongs tocomputationCause
- The identifier of the sync. session
-
-
Method Details
-
addCheckId
Adds a necessary check (using its identifier) to the set of check that should be performed- Parameters:
checkId
- The identifier of the check. May not benull
-
addCheckIds
Adds multiple checks to this check.- Parameters:
checkIds
- The set of checks to schedule. May not benull
-
getCheckIds
Gets the set of check id's being collected within this context.- Returns:
- The set of check id's scheduled for the re-computation. May not be
null
-
mergeUpdates
Description copied from interface:IObjectDerivedDataContext
Merges updates into the context. The base version of this context is being updated according to the verison of the provided context- Parameters:
context
- The source of updates. Cannot benull
.
-
saveData
Description copied from interface:IObjectDerivedDataContext
Saves data of this context to an external storage- Parameters:
dataOutput
- The output stream to write data into. May not benull
- Throws:
IOException
-
loadData
Description copied from interface:IObjectDerivedDataContext
Loads previously stored data into this context- Throws:
IOException
-