Class ArrayContentProblem
java.lang.Object
gov.nasa.pds.tools.validate.ValidationProblem
gov.nasa.pds.tools.validate.ContentProblem
gov.nasa.pds.tools.validate.content.array.ArrayContentProblem
public class ArrayContentProblem extends ContentProblem
Class that stores problems related to Array data objects.
- Author:
- mcayanan
-
Field Summary
Fields inherited from class gov.nasa.pds.tools.validate.ContentProblem
label
-
Constructor Summary
Constructors Constructor Description ArrayContentProblem(ExceptionType exceptionType, ProblemType problemType, String message, URL source, URL label, int array, int[] location)
Constructor.ArrayContentProblem(ProblemDefinition defn, URL source)
Constructor.ArrayContentProblem(ProblemDefinition defn, URL source, URL label, int array, int[] location)
Constructor. -
Method Summary
Modifier and Type Method Description Integer
getArray()
String
getLocation()
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 Details
-
ArrayContentProblem
public ArrayContentProblem(ExceptionType exceptionType, ProblemType problemType, String message, URL source, URL label, int array, int[] location)Constructor.- Parameters:
exceptionType
- The severity level.problemType
- The problem type.message
- The problem message.source
- The url of the data file associated with this message.label
- The url of the label file.array
- The index of the array associated with this message.location
- The location associated with the message.
-
ArrayContentProblem
public ArrayContentProblem(ProblemDefinition defn, URL source, URL label, int array, int[] location)Constructor.- Parameters:
defn
- The problem definition.source
- The url of the data file associated with this message.label
- The url of the label file.array
- The index of the array associated with this message.location
- The location associated with the message.
-
ArrayContentProblem
Constructor.- Parameters:
defn
- The problem definition.source
- The url of the data file associated with this message.
-
-
Method Details
-
getArray
- Returns:
- the index of the array.
-
getLocation
- Returns:
- the array location.
-