Class Issue

    • Constructor Detail

      • Issue

        public Issue​(URI docId,
                     String subDocId,
                     IssueType issueType,
                     String tuId,
                     String segId,
                     String message,
                     int srcStart,
                     int srcEnd,
                     int trgStart,
                     int trgEnd,
                     double severity,
                     String tuName)
    • Method Detail

      • getDocumentURI

        public URI getDocumentURI()
      • getSubDocumentId

        public String getSubDocumentId()
      • getIssueType

        public IssueType getIssueType()
      • getITSType

        public String getITSType()
      • getTuId

        public String getTuId()
      • getTuName

        public String getTuName()
      • getSegId

        public String getSegId()
      • getSourceStart

        public int getSourceStart()
      • getSourceEnd

        public int getSourceEnd()
      • getTargetStart

        public int getTargetStart()
      • getTargetEnd

        public int getTargetEnd()
      • getEnabled

        public boolean getEnabled()
      • setEnabled

        public void setEnabled​(boolean enabled)
      • getDisplaySeverity

        public int getDisplaySeverity()
      • getSeverity

        public double getSeverity()
      • getMessage

        public String getMessage()
      • getCodes

        public List<Code> getCodes()
      • setCodes

        public void setCodes​(List<Code> codes)
      • getSource

        public String getSource()
      • setSource

        public void setSource​(String source)
      • getTarget

        public String getTarget()
      • setTarget

        public void setTarget​(String target)
      • toString

        public String toString()
        Gets the string representation of the issue.

        TEST ONLY: The representation in raw XML (ITS 2.0 QA error element).

        Specified by:
        toString in interface IAnnotation
        Overrides:
        toString in class GenericAnnotation
      • severityToDisplaySeverity

        public static int severityToDisplaySeverity​(double value)
      • displaySeverityToSeverity

        public static double displaySeverityToSeverity​(int value)