Class TableContentProblem
- java.lang.Object
-
- gov.nasa.pds.tools.validate.ValidationProblem
-
- gov.nasa.pds.tools.validate.ContentProblem
-
- gov.nasa.pds.tools.validate.content.table.TableContentProblem
-
public class TableContentProblem extends ContentProblem
Class that stores information about an error that has occurred during table content validation.- Author:
- mcayanan
-
-
Field Summary
-
Fields inherited from class gov.nasa.pds.tools.validate.ContentProblem
label
-
-
Constructor Summary
Constructors Constructor Description TableContentProblem(ExceptionType exceptionType, ProblemType problemType, String message, URL source, URL label, String dataObjectId, int record, int field)Constructor.TableContentProblem(ExceptionType exceptionType, ProblemType problemType, String message, URL source, URL label, String dataObjectID, long record, int field)Constructor.TableContentProblem(ProblemDefinition defn, URL source)Constructor.TableContentProblem(ProblemDefinition defn, URL source, URL label, String dataObjectId, long record, int field)Constructor.TableContentProblem(ProblemDefinition defn, URL source, URL label, String tableId, Integer record)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetField()longgetRecord()StringgetTableID()-
Methods inherited from class gov.nasa.pds.tools.validate.ContentProblem
getLabel
-
Methods inherited from class gov.nasa.pds.tools.validate.ValidationProblem
getAncestorTargets, getColumnNumber, getLineNumber, getMessage, getProblem, getProblemDefinitionId, getSource, getTarget, setAncestorTargets, setColumnNumber, setLineNumber, setMessage, setSource, setTarget
-
-
-
-
Constructor Detail
-
TableContentProblem
public TableContentProblem(ExceptionType exceptionType, ProblemType problemType, String message, URL source, URL label, String dataObjectId, int record, int field)
Constructor.- Parameters:
exceptionType- The severity level.problemType- The problem type.message- The problem message.source- The data file url of the exception.label- The associated label url of the exception.table- The index of the table associated with the message.record- The index of the record as an integer associated with the message.field- The index of the field associated with the message.
-
TableContentProblem
public TableContentProblem(ExceptionType exceptionType, ProblemType problemType, String message, URL source, URL label, String dataObjectID, long record, int field)
Constructor.- Parameters:
exceptionType- The severity level.problemType- The problem type.message- The problem message.source- The data file url of the exception.label- The associated label url of the exception.table- The index of the table associated with the message.record- The index of the record as an integer associated with the message.field- The index of the field associated with the message.
-
TableContentProblem
public TableContentProblem(ProblemDefinition defn, URL source, URL label, String dataObjectId, long record, int field)
Constructor.- Parameters:
defn- The problem definition.source- The data file url of the exception.label- The associated label url of the exception.dataObjectIndex- The index of the data object associated with the message.record- The index of the record associated with the message.field- The index of the field associated with the message.
-
TableContentProblem
public TableContentProblem(ProblemDefinition defn, URL source, URL label, String tableId, Integer record)
Constructor.- Parameters:
defn- The problem definition.source- The data file url of the exception.label- The associated label url of the exception.tableId- The index of the table associated with the message.record- The index of the record associated with the message.
-
TableContentProblem
public TableContentProblem(ProblemDefinition defn, URL source)
Constructor.- Parameters:
defn- The problem definition.source- The data file url of the exception.
-
-