- java.lang.Object
-
- java.lang.Enum<Cast.Application>
-
- org.postgresql.pljava.annotation.Cast.Application
-
- All Implemented Interfaces:
Serializable
,Comparable<Cast.Application>
,Constable
- Enclosing class:
- Cast
public static enum Cast.Application extends Enum<Cast.Application>
When this cast can be applied: only in explicit form, when used in assignment context, or implicitly whenever needed.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNMENT
EXPLICIT
IMPLICIT
-
Method Summary
Modifier and Type Method Description static Cast.Application
valueOf(String name)
Returns the enum constant of this type with the specified name.static Cast.Application[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXPLICIT
public static final Cast.Application EXPLICIT
-
ASSIGNMENT
public static final Cast.Application ASSIGNMENT
-
IMPLICIT
public static final Cast.Application IMPLICIT
-
-
Method Detail
-
values
public static Cast.Application[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Cast.Application 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
-
-