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
Basic implementation of the model fix context. Contains the identifier of the target object and the target feature
-
Constructor Summary
ConstructorsConstructorDescriptionBasicModelFixContext
(long targetObjectId, int targetFeatureId, IDtProject dtProject) Creates the instance of the basic model quick fix context -
Method Summary
Modifier and TypeMethodDescriptionint
Provides the target feature IDlong
Provides the target object IDMethods inherited from class com.e1c.g5.v8.dt.check.qfix.components.BasicFixContext
getDtProject
-
Constructor Details
-
BasicModelFixContext
Creates the instance of the basic model quick fix context- Parameters:
targetObjectId
- the target object IDtargetFeatureId
- target feature, can be -1 if feature is not provideddtProject
- DT project, cannot benull
-
-
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
-