Class BasicModelFixContext

java.lang.Object
com.e1c.g5.v8.dt.check.qfix.components.BasicFixContext
com.e1c.g5.v8.dt.check.qfix.components.BasicModelFixContext
All Implemented Interfaces:
IFixContext

public class BasicModelFixContext extends BasicFixContext
Basic implementation of the model fix context. Contains the identifier of the target object and the target feature
  • Constructor Details

    • BasicModelFixContext

      public BasicModelFixContext(long targetObjectId, int targetFeatureId, IDtProject dtProject)
      Creates the instance of the basic model quick fix context
      Parameters:
      targetObjectId - the target object ID
      targetFeatureId - target feature, can be -1 if feature is not provided
      dtProject - DT project, cannot be null
  • Method Details

    • getTargetFeatureId

      public int getTargetFeatureId()
      Provides the target feature ID
      Returns:
      the targetFeatureId, may return -1
    • getTargetObjectId

      public long getTargetObjectId()
      Provides the target object ID
      Returns:
      the targetObjectId