Package de.esoco.data.validate
Klasse SelectionValidator
java.lang.Object
de.esoco.data.validate.TabularDataValidator
de.esoco.data.validate.SelectionValidator
- Alle implementierten Schnittstellen:
HasValueList<HierarchicalDataObject>
,Validator<String>
,Serializable
public class SelectionValidator
extends TabularDataValidator
implements HasValueList<HierarchicalDataObject>
A validator for the selection of a certain object from a list of data
objects. The value of the
SelectionDataElement
will be the index of
the selected data element, therefore this class validates the integer value
of the selection index.- Siehe auch:
-
Konstruktorübersicht
KonstruktorBeschreibungSelectionValidator
(List<HierarchicalDataObject> values, List<de.esoco.lib.model.ColumnDefinition> columns) Creates a new instance that uses zero-based continuous integer values for the identification of the data objects. -
Methodenübersicht
Von Klasse geerbte Methoden de.esoco.data.validate.TabularDataValidator
getColumns
-
Konstruktordetails
-
SelectionValidator
public SelectionValidator(List<HierarchicalDataObject> values, List<de.esoco.lib.model.ColumnDefinition> columns) Creates a new instance that uses zero-based continuous integer values for the identification of the data objects.- Parameter:
values
- The hierarchical data objects allowed by this instancecolumns
- The table columns
-
-
Methodendetails
-
equals
- Setzt außer Kraft:
equals
in KlasseTabularDataValidator
- Siehe auch:
-
getValues
Returns the list of values from which a value can be selected.- Angegeben von:
getValues
in SchnittstelleHasValueList<HierarchicalDataObject>
- Gibt zurück:
- The value list
-
hashCode
public int hashCode()- Setzt außer Kraft:
hashCode
in KlasseTabularDataValidator
- Siehe auch:
-
isValid
Must be implemented to validate data element values.
-