Class CommonSearchModel.SearchField
java.lang.Object
ch.tocco.nice2.model.entity.api.search.CommonSearchModel.SearchField
- Enclosing interface:
CommonSearchModel
-
Field Summary
Modifier and TypeFieldDescriptionboolean
Tells if the field is not a field of the entity, but some kind of related thing instead.final @Nullable Integer
final @Nullable Integer
0-n, if the number is larger than the default of RemoteField.getMinChars() then that is used.final String
A field or path name. -
Constructor Summary
ConstructorDescriptionSearchField
(String name, @Nullable Integer minChars, @Nullable Integer maxChars) -
Method Summary
-
Field Details
-
name
A field or path name. Examples: "lastname", "someRel.someField". -
minChars
0-n, if the number is larger than the default of RemoteField.getMinChars() then that is used. -
maxChars
-
isRelation
public boolean isRelationTells if the field is not a field of the entity, but some kind of related thing instead. Then it can be a relation name (and another method will find out which fields to include of that related entity in the search), or a specified field of a related entity. This status is figured out in the model reading process.
-
-
Constructor Details
-
SearchField
-