Package com.orchestranetworks.ui
Enum FirstCallDisplay
- java.lang.Object
-
- java.lang.Enum<FirstCallDisplay>
-
- com.orchestranetworks.ui.FirstCallDisplay
-
- All Implemented Interfaces:
Serializable
,Comparable<FirstCallDisplay>
public enum FirstCallDisplay extends Enum<FirstCallDisplay>
Defines how to display a filtered table or record in a Web Component on first call.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAuto()
boolean
isRecord()
boolean
isView()
static FirstCallDisplay
valueOf(String name)
Returns the enum constant of this type with the specified name.static FirstCallDisplay[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
auto
public static final FirstCallDisplay auto
The display is automatically set according to the selection.The following rules apply:
- a Web Component on a table with no predicate leads to the table display;
- a Web Component on a table with a single primary key predicate leads to the record form;
- a Web Component on a table with other types of predicates leads to the table display.
-
view
public static final FirstCallDisplay view
Forces the display of the tabular view or of the hierarchical view.
-
record
public static final FirstCallDisplay record
If the predicate has at least one record, forces the display of the record form.
-
-
Method Detail
-
values
public static FirstCallDisplay[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FirstCallDisplay c : FirstCallDisplay.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FirstCallDisplay valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isAuto
public boolean isAuto()
-
isView
public boolean isView()
-
isRecord
public boolean isRecord()
-
-