Class BasicCheck.ResultAcceptor
- java.lang.Object
- 
- com.e1c.g5.v8.dt.check.components.BasicCheck.ResultAcceptor
 
- 
- Enclosing class:
- BasicCheck
 
 public static final class BasicCheck.ResultAcceptor extends Object Accepts results of the check in form ofIssue's. The result is automatically bound to the context object of the check and cannot be changed. In case if you need the free navigation and reporting of issues - consider implementing theICheckdirectly instead ofBasicCheckThis class is instantiated by the ACC subsystem and is not intended for the direct instantiation.
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddIssue(Issue issue)Adds the issue as the result of the check for the context object.voidaddIssue(String message)Adds a message-only issue for the context objectvoidaddIssue(String message, Object target)Adds issue associated with the given target object and featurevoidaddIssue(String message, Object target, org.eclipse.emf.ecore.EStructuralFeature feature)Adds issue associated with the given target object and featurevoidaddIssue(String message, Object target, org.eclipse.emf.ecore.EStructuralFeature manyFeature, int index)Adds issue associated with the given target object and featurevoidaddIssue(String message, org.eclipse.emf.ecore.EStructuralFeature feature)Adds issue associated with the given featurevoidaddIssue(String message, org.eclipse.emf.ecore.EStructuralFeature manyFeature, int index)Adds issue for element with given index in feature collection and with the given message.voiddelegateChecks(Iterable<?> delegatedModelIterable)Delegates the further checks to the set of subsidiary checks by providing some derived model with means of its traversal in the form of the iterable.
 
- 
- 
- 
Method Detail- 
addIssuepublic void addIssue(Issue issue) Adds the issue as the result of the check for the context object.- Parameters:
- issue- The issue to add. May not be- null
 
 - 
addIssuepublic void addIssue(String message) Adds a message-only issue for the context object- Parameters:
- issue- The issue message. May not be- null
 
 - 
addIssuepublic void addIssue(String message, org.eclipse.emf.ecore.EStructuralFeature feature) Adds issue associated with the given feature- Parameters:
- message- The issue's message, not- null
- feature- The target object feacture, not- null
 
 - 
addIssuepublic void addIssue(String message, org.eclipse.emf.ecore.EStructuralFeature manyFeature, int index) Adds issue for element with given index in feature collection and with the given message.- Parameters:
- message- The issue's message, not- null
- manyFeature- The target object feature, not- null
- index- The index in feature collection. May not be negative
 
 - 
addIssuepublic void addIssue(String message, Object target, org.eclipse.emf.ecore.EStructuralFeature feature) Adds issue associated with the given target object and feature- Parameters:
- message- The issue's message, not- null
- target- The target object, not- null
- feature- The target object feacture, not- null
 
 - 
addIssuepublic void addIssue(String message, Object target) Adds issue associated with the given target object and feature- Parameters:
- message- The issue's message, not- null
- target- The target object, not- null
 
 - 
addIssuepublic void addIssue(String message, Object target, org.eclipse.emf.ecore.EStructuralFeature manyFeature, int index) Adds issue associated with the given target object and feature- Parameters:
- message- The issue's message, not- null
- target- The target object, not- null
- feature- The target object feacture, not- null
 
 - 
delegateCheckspublic void delegateChecks(Iterable<?> delegatedModelIterable) Delegates the further checks to the set of subsidiary checks by providing some derived model with means of its traversal in the form of the iterable. This behavior may be used to perform effective checks of non-standard models being created on the fly or taken from non-standard persistent stores. Delegated models are being traversed by the EDT check engine after the main check and applicable subsidiary checks are being applied- Parameters:
- delegatedModelIterable- The iterable that defines the iteration through the subsidiary model. May not be- null
 
 
- 
 
-