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

public final class LanguageCheckObjectContext extends BasicObjectContext
Specific DD context implementation for the language object validation stage. Allows arranging of arbitrary check set for a single language module
  • 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 be null
      eClass - The EClass of the of the top BM object this context corresponds to
      segmentId - The identifier of DD segment this context belongs to
      computationCause - The identifier of the sync. session
  • Method Details

    • addCheckId

      public void addCheckId(String checkId)
      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 be null
    • addCheckIds

      public void addCheckIds(Set<String> checkIds)
      Adds multiple checks to this check.
      Parameters:
      checkIds - The set of checks to schedule. May not be null
    • getCheckIds

      public Set<String> 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

      public boolean mergeUpdates(IObjectDerivedDataContext context)
      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 be null.
    • saveData

      public void saveData(IContextDataOutput dataOutput) throws IOException
      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 be null
      Throws:
      IOException
    • loadData

      public void loadData(IContextDataInput dataInput) throws IOException
      Description copied from interface: IObjectDerivedDataContext
      Loads previously stored data into this context
      Throws:
      IOException