public class Issue extends GenericAnnotation
| Modifier and Type | Field and Description |
|---|---|
static int |
DISPSEVERITY_HIGH |
static int |
DISPSEVERITY_LOW |
static int |
DISPSEVERITY_MEDIUM |
static double |
SEVERITY_HIGH |
static double |
SEVERITY_LOW |
static double |
SEVERITY_MEDIUM |
CLASSNAME_SEPARATOR, data| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
static double |
displaySeverityToSeverity(int value) |
List<Code> |
getCodes() |
int |
getDisplaySeverity() |
URI |
getDocumentURI() |
boolean |
getEnabled() |
IssueType |
getIssueType() |
String |
getITSType() |
String |
getMessage() |
String |
getSegId() |
double |
getSeverity() |
String |
getSource() |
TextContainer |
getSourceContainer() |
int |
getSourceEnd() |
int |
getSourceStart() |
String |
getSubDocumentId() |
String |
getTarget() |
TextContainer |
getTargetContainer() |
int |
getTargetEnd() |
int |
getTargetStart() |
String |
getTuId() |
String |
getTuName() |
void |
setCodes(List<Code> codes) |
void |
setContainers(ITextUnit tu,
LocaleId trgLoc) |
void |
setEnabled(boolean enabled) |
void |
setSource(String source) |
void |
setTarget(String target) |
static int |
severityToDisplaySeverity(double value) |
String |
toString()
Gets the string representation of the issue.
|
addAnnotation, addAnnotation, addAnnotation, clone, createFromString, fromString, getBoolean, getDouble, getFieldCount, getInteger, getNames, getString, getType, remove, setBoolean, setDouble, setFields, setInteger, setStringgetData, setDatapublic static final int DISPSEVERITY_LOW
public static final int DISPSEVERITY_MEDIUM
public static final int DISPSEVERITY_HIGH
public static final double SEVERITY_LOW
public static final double SEVERITY_MEDIUM
public static final double SEVERITY_HIGH
public URI getDocumentURI()
public String getSubDocumentId()
public IssueType getIssueType()
public String getITSType()
public String getTuId()
public String getTuName()
public String getSegId()
public int getSourceStart()
public int getSourceEnd()
public int getTargetStart()
public int getTargetEnd()
public boolean getEnabled()
public void setEnabled(boolean enabled)
public int getDisplaySeverity()
public double getSeverity()
public String getMessage()
public String getSource()
public void setSource(String source)
public String getTarget()
public void setTarget(String target)
public TextContainer getSourceContainer()
public TextContainer getTargetContainer()
public String toString()
TEST ONLY: The representation in raw XML (ITS 2.0 QA error element).
toString in interface IAnnotationtoString in class GenericAnnotationpublic static int severityToDisplaySeverity(double value)
public static double displaySeverityToSeverity(int value)
Copyright © 2021. All rights reserved.