Enum InterfaceInstanceRenderAs
- java.lang.Object
-
- java.lang.Enum<InterfaceInstanceRenderAs>
-
- lumis.portal.structure.sync.model.page.InterfaceInstanceRenderAs
-
- All Implemented Interfaces:
Serializable
,Comparable<InterfaceInstanceRenderAs>
public enum InterfaceInstanceRenderAs extends Enum<InterfaceInstanceRenderAs>
Enumeration for options renderAs field ofInterfaceInstance
. This options text will be in XML serialization.- Since:
- 14.0.0
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_SIDE_SCRIPT
DISABLED
INHERIT
INLINE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InterfaceInstanceRenderAs
fromValue(int value)
Returns Enumeration for value from database.int
value()
Generate value for database.static InterfaceInstanceRenderAs
valueOf(String name)
Returns the enum constant of this type with the specified name.static InterfaceInstanceRenderAs[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final InterfaceInstanceRenderAs DISABLED
-
INLINE
public static final InterfaceInstanceRenderAs INLINE
-
CLIENT_SIDE_SCRIPT
public static final InterfaceInstanceRenderAs CLIENT_SIDE_SCRIPT
-
INHERIT
public static final InterfaceInstanceRenderAs INHERIT
-
-
Method Detail
-
values
public static InterfaceInstanceRenderAs[] 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 (InterfaceInstanceRenderAs c : InterfaceInstanceRenderAs.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterfaceInstanceRenderAs 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
-
value
public int value()
Generate value for database.- Returns:
- value for database.
- Since:
- 14.0.0
-
fromValue
public static InterfaceInstanceRenderAs fromValue(int value)
Returns Enumeration for value from database.- Parameters:
value
- value from database.- Returns:
- Enumeration for value from database.
- Since:
- 14.0.0
-
-