|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectowltools.gaf.rules.AnnotationRuleViolation
public class AnnotationRuleViolation
Data associated with a rule violation
Nested Class Summary | |
---|---|
static class |
AnnotationRuleViolation.ViolationType
|
Constructor Summary | |
---|---|
AnnotationRuleViolation(String ruleId,
String msg)
Create a simple violation from with a given message. |
|
AnnotationRuleViolation(String ruleId,
String message,
GeneAnnotation sourceAnnotation)
Create a violation object with a message and a the corresponding source annotation. |
|
AnnotationRuleViolation(String ruleId,
String message,
GeneAnnotation sourceAnnotation,
AnnotationRuleViolation.ViolationType type)
Create a violation object with a message and a the corresponding source annotation. |
|
AnnotationRuleViolation(String ruleId,
String message,
String annotationRow)
Create a violation object with a message and a the corresponding annotation row. |
|
AnnotationRuleViolation(String ruleId,
String message,
String annotationRow,
AnnotationRuleViolation.ViolationType type)
Create a violation object with a message and a the corresponding annotation row and AnnotationRuleViolation.ViolationType . |
Method Summary | |
---|---|
String |
getAnnotationRow()
|
String |
getGafDocument()
|
int |
getLineNumber()
|
String |
getMessage()
|
String |
getRuleId()
|
GeneAnnotation |
getSourceAnnotation()
|
Set<GeneAnnotation> |
getSuggestedReplacements()
|
AnnotationRuleViolation.ViolationType |
getType()
|
void |
setAnnotationRow(String annotationRow)
|
void |
setLineNumber(int lineNumber)
|
void |
setSourceAnnotation(GeneAnnotation sourceAnnotation)
|
void |
setSuggestedReplacements(Set<GeneAnnotation> suggestedReplacements)
|
void |
setType(AnnotationRuleViolation.ViolationType type)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnnotationRuleViolation(String ruleId, String msg)
ruleId
- msg
- public AnnotationRuleViolation(String ruleId, String message, GeneAnnotation sourceAnnotation)
ruleId
- message
- sourceAnnotation
- public AnnotationRuleViolation(String ruleId, String message, GeneAnnotation sourceAnnotation, AnnotationRuleViolation.ViolationType type)
ruleId
- message
- sourceAnnotation
- type
- public AnnotationRuleViolation(String ruleId, String message, String annotationRow)
ruleId
- message
- annotationRow
- public AnnotationRuleViolation(String ruleId, String message, String annotationRow, AnnotationRuleViolation.ViolationType type)
AnnotationRuleViolation.ViolationType
.
ruleId
- message
- annotationRow
- type
- Method Detail |
---|
public String getRuleId()
public String getMessage()
public Set<GeneAnnotation> getSuggestedReplacements()
public void setSuggestedReplacements(Set<GeneAnnotation> suggestedReplacements)
public GeneAnnotation getSourceAnnotation()
public void setSourceAnnotation(GeneAnnotation sourceAnnotation)
public String getAnnotationRow()
public void setAnnotationRow(String annotationRow)
public int getLineNumber()
public void setLineNumber(int lineNumber)
public String getGafDocument()
public AnnotationRuleViolation.ViolationType getType()
public void setType(AnnotationRuleViolation.ViolationType type)
type
- the type to setpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |