Violation.RESOLUTION_ID| Constructor and Description |
|---|
ICAPViolation() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFileName() |
int |
getProblemID() |
Violation.RESOLUTION_ID |
getResolutionID() |
java.lang.String |
getViolationType() |
void |
setFileName(java.lang.String fileName)
Stores the File name as returned from the scanner
|
void |
setProblemID(int problemID)
The integer identification of the violation, from the scanner
|
void |
setResolutionID(int resolutionID)
This function takes care of the mapping from an integer to an actual enumeration
for the "resolution_id" type...
|
void |
setViolationType(java.lang.String violationType)
The type of violation in human readable form from the scanner
|
java.lang.String |
toString() |
public java.lang.String getFileName()
getFileName in interface Violationpublic void setFileName(java.lang.String fileName)
throws ParsingException
fileName - The filename returned from the scannerParsingException - This is thrown with an invalid stringpublic java.lang.String getViolationType()
getViolationType in interface Violationpublic void setViolationType(java.lang.String violationType)
throws ParsingException
violationType - The type of violation from the scannerParsingException - Thrown for invalid stringpublic int getProblemID()
getProblemID in interface Violationpublic void setProblemID(int problemID)
problemID - The integer identification of the violationpublic Violation.RESOLUTION_ID getResolutionID()
getResolutionID in interface Violationpublic void setResolutionID(int resolutionID)
throws ParsingException
resolutionID - An integer representing the resolution_id from the scannerParsingException - This is thrown when the integer does not map to a resolution_ID typepublic java.lang.String toString()
toString in class java.lang.Object