Package generalDatabase.clauses
Class UIDViewParameters
java.lang.Object
generalDatabase.clauses.PAMSelectClause
PamController.PamViewParameters
generalDatabase.clauses.UIDViewParameters
- All Implemented Interfaces:
Serializable
,Cloneable
Modification of PAMViewParameters to work using a list of UID's rather than
a between times type string.
- Author:
- dg50
- See Also:
-
Field Summary
Fields inherited from class PamController.PamViewParameters
analEndTime, analStartTime, useAnalysisTime, useModules, viewEndTime, viewStartTime
-
Method Summary
Modifier and TypeMethodDescriptionstatic UIDViewParameters
createDatabaseIDViewParameters
(String columnName, PamDataBlock parentBlock) static UIDViewParameters
createDatabaseIDViewParameters
(PamDataBlock parentBlock) static UIDViewParameters
createUIDViewParameters
(String columnName, PamDataBlock parentBlock) static UIDViewParameters
createUIDViewParameters
(PamDataBlock parentBlock) getSelectClause
(SQLTypes sqlTypes) Get a clause to add to a query.Methods inherited from class PamController.PamViewParameters
clone, equals, getAnalEndTime, getAnalStartTime, getRoundedAnalEndTime, getRoundedAnalStartTime, getRoundedViewEndTime, getRoundedViewStartTime, getUseModules, getViewEndTime, getViewStartTime, isUseAnalysisTime, roundDown, roundUp, setAnalEndTime, setAnalStartTime, setUseAnalysisTime, setUseModules, setViewEndTime, setViewStartTime
-
Method Details
-
createUIDViewParameters
-
createUIDViewParameters
public static UIDViewParameters createUIDViewParameters(String columnName, PamDataBlock parentBlock) -
createDatabaseIDViewParameters
-
createDatabaseIDViewParameters
public static UIDViewParameters createDatabaseIDViewParameters(String columnName, PamDataBlock parentBlock) -
getSelectClause
Description copied from class:PamViewParameters
Get a clause to add to a query. The clause includes the word WHERE so that it's possible to return an empty string and still get a valid SQL statement.
Care will be needed if two clauses are added (with AND) to remove one WHERE.- Overrides:
getSelectClause
in classPamViewParameters
- Parameters:
sqlTypes
- SQL types for any bespoke formatting- Returns:
- results query.
-