public class LASDapperBackendRequest extends LASBackendRequest
Constructor and Description |
---|
LASDapperBackendRequest() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAxisConstraint(java.lang.String axis)
This generates the axis' constraint arrayList.
|
java.util.ArrayList<java.lang.String> |
getAxisConstraintArrayList(java.lang.String axis)
This generates the axis' constraint arrayList.
|
java.util.ArrayList |
getConstraintsByType(java.lang.String type)
Returns an array list of gov.noaa.pmel.tmap.las.util.Constraint objects
of the specified type (e.g., "variable", "text").
|
java.lang.String |
getOpendapConstraint()
This returns the "variable" constraints (from getConstraintsByType("variable"))
as an opendap constraint string, e.g.,
"&genus=Macrocystis&species=integrifolia".
|
java.lang.String |
getRequiredDatabaseProperty(java.lang.String propertyName)
This returns a required databaseProperty.
|
static java.lang.String |
required(java.lang.String s,
java.lang.String id)
This throws an LASException("Required value wasn't specified: " + id)
if s is null or "".
|
getAnalysisAxes, getAxisAsConstraint, getAxisAsDRDSConstraint, getCancelFile, getChainedData, getChainedDataFile, getChainedDataURL, getConstraint, getConstraintRHS, getConstraints, getConstraintsAsSymbols, getConstraintString, getDataAsSymbols, getDataAttribute, getDatabaseProperty, getDatabaseTime, getDatabaseTime, getDatabaseTimeAsDouble, getDatabaseXhi, getDatabaseXlo, getDataCount, getDataSymbols, getDataSymbols, getDRDSVariableConstraintString, getFerretSymbols, getJSESSIONID, getKey, getMissingConstraint, getProductTimeout, getProgressTimeout, getPropertyGroup, getPropertyValuesCommaSeparated, getRegionAsConstraint, getRegionsAsSymbols, getRemoteURL, getResult, getResultAsFile, getResultAsFileByType, getResultCount, getResultFileName, getResultID, getResultMimeType, getResultType, getResultURL, getService, getServiceAction, getSymbols, getSymbols, getThi, getThi, getThi, getThi, getTlo, getTlo, getTlo, getTlo, getVariables, getVariablesAsString, getVariablesAsStringWithIFNULL, getXhi, getXlo, getYhi, getYlo, getZhi, getZlo, hasVariable, isCanceled, isCancelRequest, isRemote, isTrajectory, mapResultToURL, removeProperty, removePropertyExcludedGroups, removePropertyGroup, runRemote, setCancel, setLocalFileNames
convertProperties, findProperty, findPropertyGroup, findPropertyGroup, findPropertyGroupList, findPropertyGroupList, findPropertyValue, getElementByXPath, getProperty, toCompactString, toEncodedJavaScriptSafeURLString, toEncodedURLString, toJavaScriptSafeString, toJSON, toJSON, toString, toString, write, write, write, writeElement
addContent, addContent, addContent, addContent, clone, cloneContent, detachRootElement, equals, getBaseURI, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getDocType, getDocument, getParent, getProperty, getRootElement, hashCode, hasRootElement, indexOf, removeContent, removeContent, removeContent, removeContent, setBaseURI, setContent, setContent, setContent, setContent, setDocType, setProperty, setRootElement
public static java.lang.String required(java.lang.String s, java.lang.String id) throws gov.noaa.pmel.tmap.exception.LASException
s
- a string which may be null or ""id
- e.g., "database_access property 'url'"LASException("Required
- value wasn't specified: " + id)
if s is null or "".gov.noaa.pmel.tmap.exception.LASException
public java.lang.String getRequiredDatabaseProperty(java.lang.String propertyName) throws gov.noaa.pmel.tmap.exception.LASException
propertyName
- gov.noaa.pmel.tmap.exception.LASException
- if the property isn't found or is "".public java.lang.String getAxisConstraint(java.lang.String axis) throws gov.noaa.pmel.tmap.exception.LASException
axis
- "y", "z", or "t" (not "x")gov.noaa.pmel.tmap.exception.LASException
- if troublepublic java.util.ArrayList<java.lang.String> getAxisConstraintArrayList(java.lang.String axis) throws gov.noaa.pmel.tmap.exception.LASException
axis
- "x", "y", "z", or "t"gov.noaa.pmel.tmap.exception.LASException
- if troublepublic java.util.ArrayList getConstraintsByType(java.lang.String type)
<constraint type="variable"> <lhs>genus</lhs> <op>eq</op> <rhs>Macrocystis</rhs> </constraint>
public java.lang.String getOpendapConstraint()
java.lang.Exception
- if trouble, e.g., unknown op