Enum Class VisibilityEnum
- All Implemented Interfaces:
Serializable
,Comparable<VisibilityEnum>
,Constable
Created by IntelliJ IDEA.
User: jfischer
Date: 9/27/11
Time: 1:26 PM
To change this template use File | Settings | File Templates.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis will ensure that the field is shown on the the entity form regardless of whether or not this field is actually a member of the entity. -
Method Summary
Modifier and TypeMethodDescriptionstatic VisibilityEnum
Returns the enum constant of this class with the specified name.static VisibilityEnum[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HIDDEN_ALL
-
VISIBLE_ALL
-
FORM_HIDDEN
-
GRID_HIDDEN
-
NOT_SPECIFIED
-
FORM_EXPLICITLY_SHOWN
This will ensure that the field is shown on the the entity form regardless of whether or not this field is actually a member of the entity. Mainly used inCustomPersistenceHandler
s for psuedo-fields that are built manually and you still want user input from (like selectingProductOption
s to associate to aSku
-
FORM_EXPLICITLY_HIDDEN
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-