Enum VariableType
- java.lang.Object
-
- java.lang.Enum<VariableType>
-
- com.opencloud.slee.resources.sis.script.variables.VariableType
-
- All Implemented Interfaces:
Serializable
,Comparable<VariableType>
public enum VariableType extends Enum<VariableType>
Enumeration of SIS script variable types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARRAY
A variable that is an array of some other type.BIT_STRING
A variable with the Java typecom.opencloud.slee.resources.cgin.BitString
BOOLEAN
A variable with the Java typeBoolean
.COMPOUND
A variable that is a compound structure containing sub-variables.DECIMAL
ENUMERATED
A variable with the Java typeEnum
orcom.opencloud.util.NamedInteger
.INTEGER
NULL
A variable with no type.STRING
A variable with the Java typeString
.UNRESOLVED
A variable that has been created via an import or some other means where its name could not be resolved at instantiation time.USER
A user-defined variable.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VariableType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VariableType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final VariableType NULL
A variable with no type. Used for flag indicators that are either present or absent but have no assignable value.
-
INTEGER
public static final VariableType INTEGER
-
DECIMAL
public static final VariableType DECIMAL
-
ENUMERATED
public static final VariableType ENUMERATED
A variable with the Java typeEnum
orcom.opencloud.util.NamedInteger
.
-
STRING
public static final VariableType STRING
A variable with the Java typeString
.
-
BOOLEAN
public static final VariableType BOOLEAN
A variable with the Java typeBoolean
.
-
COMPOUND
public static final VariableType COMPOUND
A variable that is a compound structure containing sub-variables. For example, a Called Party Number or Location Information.
-
BIT_STRING
public static final VariableType BIT_STRING
A variable with the Java typecom.opencloud.slee.resources.cgin.BitString
-
ARRAY
public static final VariableType ARRAY
A variable that is an array of some other type.
-
USER
public static final VariableType USER
A user-defined variable. User-defined variables may have any Java type.
-
UNRESOLVED
public static final VariableType UNRESOLVED
A variable that has been created via an import or some other means where its name could not be resolved at instantiation time.
-
-
Method Detail
-
values
public static VariableType[] 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 (VariableType c : VariableType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VariableType 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
-
-