Package de.xima.fc.gui.statics
Enum EEntityKeySelectionType
- java.lang.Object
-
- java.lang.Enum<EEntityKeySelectionType>
-
- de.xima.fc.gui.statics.EEntityKeySelectionType
-
- All Implemented Interfaces:
Serializable
,Comparable<EEntityKeySelectionType>
public enum EEntityKeySelectionType extends Enum<EEntityKeySelectionType>
Describes how to find the key for entity list views to store the currently selected entity via theSelectionBean
.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isUsingClient()
boolean
isUsingProject()
static EEntityKeySelectionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EEntityKeySelectionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM
public static final EEntityKeySelectionType SYSTEM
View exists once for the system, i.e. use the current view as the key.
-
CLIENT
public static final EEntityKeySelectionType CLIENT
View exists once for each client, i.e. use the current view and the client as the key.
-
PROJECT
public static final EEntityKeySelectionType PROJECT
View exists once for each client and project, i.e. use the current view, the client and the project as the key.
-
-
Method Detail
-
values
public static EEntityKeySelectionType[] 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 (EEntityKeySelectionType c : EEntityKeySelectionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EEntityKeySelectionType 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
-
isUsingClient
public boolean isUsingClient()
-
isUsingProject
public boolean isUsingProject()
-
-