Package gov.nasa.pds.tools.validate
Class ProblemDefinition
- java.lang.Object
-
- gov.nasa.pds.tools.validate.ProblemDefinition
-
public class ProblemDefinition extends Object
Defines a specific problem uncovered by a validation rule.
-
-
Constructor Summary
Constructors Constructor Description ProblemDefinition(ExceptionType severity, ProblemType type, String message)
ProblemDefinition(ExceptionType severity, ProblemType type, String message, String standardsDocument, String standardsSection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
int
getID()
String
getMessage()
ExceptionType
getSeverity()
String
getStandardsDocument()
String
getStandardsSection()
ProblemType
getType()
int
hashCode()
-
-
-
Constructor Detail
-
ProblemDefinition
public ProblemDefinition(ExceptionType severity, ProblemType type, String message, String standardsDocument, String standardsSection)
-
ProblemDefinition
public ProblemDefinition(ExceptionType severity, ProblemType type, String message)
-
-
Method Detail
-
getID
public int getID()
-
getSeverity
public ExceptionType getSeverity()
-
getType
public ProblemType getType()
-
getMessage
public String getMessage()
-
getStandardsDocument
public String getStandardsDocument()
-
getStandardsSection
public String getStandardsSection()
-
-