Package com._1c.g5.ides.ui.formeditor
Interface Issue
-
- All Known Implementing Classes:
Issue.IssueImpl
public interface Issue
Validation issue description. It holds information about position, type, structural feature, it's index (if feature is multivalued), handle and error/warning message of model object with error/warning
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Issue.IssueImpl
static class
Issue.Severity
Issue severity
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCode()
Error/warning code from diagnostitianorg.eclipse.handly.model.IElement
getElement()
Returns handle to element which corresponds model object with issueorg.eclipse.emf.ecore.EStructuralFeature
getFeature()
Returns model object's structural feature with issueint
getIndex()
Index of multivalued featureString
getMessage()
Error/warning messageIssue.Severity
getSeverity()
Issue severityboolean
isSyntaxError()
Check if issue covers syntax error
-
-
-
Method Detail
-
getElement
org.eclipse.handly.model.IElement getElement()
Returns handle to element which corresponds model object with issue- Returns:
- handle to element (never
null
)
-
getFeature
org.eclipse.emf.ecore.EStructuralFeature getFeature()
Returns model object's structural feature with issue- Returns:
- structural feature (never
null
)
-
getIndex
int getIndex()
Index of multivalued feature- Returns:
- index of multivalued feature
-
getMessage
String getMessage()
Error/warning message- Returns:
- error/warning message
-
getCode
String getCode()
Error/warning code from diagnostitian- Returns:
- error/warning code from diagnostitian (never
null
)
-
getSeverity
Issue.Severity getSeverity()
Issue severity- Returns:
- issue severity (never
null
)
-
isSyntaxError
boolean isSyntaxError()
Check if issue covers syntax error- Returns:
-
-