public class LocQualityIssue extends DataCategory
| Constructor and Description |
|---|
LocQualityIssue()
Creates a new
LocQualityIssue object without initial data. |
LocQualityIssue(java.lang.String comment)
Creates a new
LocQualityIssue object with a comment. |
| Modifier and Type | Method and Description |
|---|---|
IITSItem |
createCopy()
Creates a deep-copy clone of this item.
|
java.lang.String |
getComment() |
java.lang.String |
getDataCategoryName()
Gets the id/name of this data category.
|
java.lang.String |
getProfileRef() |
java.lang.Double |
getSeverity() |
java.lang.String |
getType() |
java.lang.String |
getUnresolvedGroupRef() |
boolean |
hasUnresolvedGroup()
Indicates if this item has currently a reference to a stand-off element that
has not been resolved yet.
|
boolean |
isEnabled() |
void |
setComment(java.lang.String comment) |
void |
setEnabled(boolean enabled) |
void |
setProfileRef(java.lang.String profileRef) |
void |
setSeverity(double severity) |
void |
setType(java.lang.String type) |
void |
setUnresolvedGroupRef(java.lang.String unresolvedGroupRef) |
void |
validate()
Validates the data category.
|
getAnnotatorRef, isGroup, setAnnotatorRef, setAnnotatorRefpublic LocQualityIssue()
LocQualityIssue object without initial data.public LocQualityIssue(java.lang.String comment)
LocQualityIssue object with a comment.comment - the comment to set.public java.lang.String getDataCategoryName()
IITSItempublic void validate()
IITSItempublic IITSItem createCopy()
IITSItempublic boolean hasUnresolvedGroup()
IITSItemThis occurs for example when a unit element has a reference to a set of Provenance instances and the stand-off element has not been read yet (because the reading of the unit's element is done after the reading of its attributes.
hasUnresolvedGroup in interface IITSItemhasUnresolvedGroup in class DataCategorypublic java.lang.String getUnresolvedGroupRef()
public void setUnresolvedGroupRef(java.lang.String unresolvedGroupRef)
public java.lang.String getType()
public void setType(java.lang.String type)
public java.lang.String getComment()
public void setComment(java.lang.String comment)
public java.lang.Double getSeverity()
public void setSeverity(double severity)
public java.lang.String getProfileRef()
public void setProfileRef(java.lang.String profileRef)
public boolean isEnabled()
public void setEnabled(boolean enabled)