Package de.esoco.data.validate
Klasse QueryValidator
java.lang.Object
de.esoco.data.validate.TabularDataValidator
de.esoco.data.validate.QueryValidator
- Alle implementierten Schnittstellen:
Validator<String>
,Serializable
A validator that is based on a storage query. This validator doesn't do any
real validation because it assumes that the client only chooses elements that
have been returned by the query which are always valid (although subclasses
could implement additional validations if necessary). This validator serves
mainly to hold information about a storage query which then can be used by a
client to access a storage service.
- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungQueryValidator
(String queryId, List<de.esoco.lib.model.ColumnDefinition> queryColumns) Creates a new instance for a certain query. -
Methodenübersicht
Von Klasse geerbte Methoden de.esoco.data.validate.TabularDataValidator
getColumns
-
Konstruktordetails
-
QueryValidator
Creates a new instance for a certain query.- Parameter:
queryId
- The ID to identify the queryqueryColumns
- The definitions of the query columns
-
-
Methodendetails
-
equals
- Setzt außer Kraft:
equals
in KlasseTabularDataValidator
- Siehe auch:
-
getQueryId
Returns the query ID.- Gibt zurück:
- The query ID string
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCode
in KlasseTabularDataValidator
- Siehe auch:
-
isValid
Only checks that the given value is not NULL and otherwise assumes that values are only selected from query results.- Parameter:
entityId
- The value to validate- Gibt zurück:
- TRUE if the value is valid according to this validator's rules
- Siehe auch:
-
toString
-