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, String arrayID, int[] location)
Constructor.ArrayContentProblem(ProblemDefinition defn, URL source)
Constructor.ArrayContentProblem(ProblemDefinition defn, URL source, URL label, String arrayID, int[] location)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getArrayID()
Returns the ID of the array.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 Detail
-
ArrayContentProblem
public ArrayContentProblem(ExceptionType exceptionType, ProblemType problemType, String message, URL source, URL label, String arrayID, 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.arrayID
- The ID (name or index when no name) of the array associated with this message.location
- The location associated with the message.
-
ArrayContentProblem
public ArrayContentProblem(ProblemDefinition defn, URL source, URL label, String arrayID, 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.arrayID
- The ID (index when no name) of the array associated with this message.location
- The location associated with the message.
-
ArrayContentProblem
public ArrayContentProblem(ProblemDefinition defn, URL source)
Constructor.- Parameters:
defn
- The problem definition.source
- The url of the data file associated with this message.
-
-