public class Issue
extends java.lang.Object
| Constructor and Description |
|---|
Issue(java.lang.String fileId,
java.lang.String unitId,
java.lang.String code,
java.lang.String text,
java.lang.String ruleInfo)
Creates a new
Issue object with a given segment number, code and text. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCode()
Gets the code for this issue.
|
java.lang.String |
getFileId()
Gets the file id for this issue.
|
java.lang.String |
getRuleInfo()
Gets the string representation of the rule that triggered the issue.
|
java.lang.String |
getText()
Gets the text for this issue.
|
java.lang.String |
getUnitId()
Gets the id of the unit where this issue is.
|
void |
setCode(java.lang.String code)
Sets the code for this issue.
|
void |
setFileId(java.lang.String fileId)
Sets the file id for this issue.
|
void |
setRuleInfo(java.lang.String ruleInfo)
Sets the string representation of the rule that triggered the issue.
|
void |
setText(java.lang.String text)
Sets the text for this issue.
|
void |
setUnitId(java.lang.String unitId)
Sets the id of the unit where this issue is.
|
public Issue(java.lang.String fileId,
java.lang.String unitId,
java.lang.String code,
java.lang.String text,
java.lang.String ruleInfo)
Issue object with a given segment number, code and text.fileId - the id of the file for the given unit.code - the string representation of the code for this issue.text - the human readable text of this issue.public java.lang.String getCode()
public void setCode(java.lang.String code)
code - the code for this issue.public java.lang.String getText()
public void setText(java.lang.String text)
text - the text for this issue.public java.lang.String getUnitId()
public void setUnitId(java.lang.String unitId)
unitId - the id of the unit where this issue is.public java.lang.String getFileId()
public void setFileId(java.lang.String fileId)
fileId - the file id for this issue.public java.lang.String getRuleInfo()
public void setRuleInfo(java.lang.String ruleInfo)
ruleInfo - the string representation of the rule that triggered the issue.