public final class Searchability extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Searchability.NameUnrecognisedException
Thrown when an invalid
Searchability level is specified,
by a typing mistake in the DSD for example. |
| Modifier and Type | Field and Description |
|---|---|
Integer |
index
The Id of the Searchability.
|
static Searchability |
no
The column is not searchable so the user will not
be given the opportunity to enter search criteria
for it.
|
static Searchability |
primary
The column is the only one in the table for which a
special widget is provided to enter a search value.
|
static Searchability |
yes
The column is searchable so that the user is able
to enter search criteria for it included along
with others when searching for rows.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
count() |
static Searchability |
forIndex(int index) |
Integer |
getIndex() |
String |
getName() |
static Searchability |
named(String name)
Throws NameUnrecognisedException if not found.
|
String |
toString() |
public final Integer index
public static final Searchability primary
There is at most one such column per table. The user is able to select matching rows without popping up a search criteria dialogue window.
public static final Searchability yes
Currently the search criteria for a column consist of at most one non-null value.
public static final Searchability no
public static Searchability forIndex(int index)
index - keypublic static int count()
public static Searchability named(String name)
name - String name of Searchabilitypublic String toString()
toString in class ObjectObject.toString()public Integer getIndex()
public String getName()
Copyright © 2000–2021 PanEris. All rights reserved.