Package com.chemaxon.apidiscovery
Enum ParameterWrapper.ParameterType
- java.lang.Object
-
- java.lang.Enum<ParameterWrapper.ParameterType>
-
- com.chemaxon.apidiscovery.ParameterWrapper.ParameterType
-
- All Implemented Interfaces:
Serializable
,Comparable<ParameterWrapper.ParameterType>
- Enclosing class:
- ParameterWrapper
public static enum ParameterWrapper.ParameterType extends Enum<ParameterWrapper.ParameterType>
Wrapped parameter types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN
A boolean parameter (primitive type).DOUBLE
A double parameter (primitive type).ENUM
An Enum type parameter.INTEGER
An integer parameter (primitive type).LONG
A long parameter (primitive type).OTHER
Other type; handle through instance listing facility.STRING
A String parameter (handled as if it is a primitive type).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ParameterWrapper.ParameterType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ParameterWrapper.ParameterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INTEGER
public static final ParameterWrapper.ParameterType INTEGER
An integer parameter (primitive type).
-
LONG
public static final ParameterWrapper.ParameterType LONG
A long parameter (primitive type).
-
DOUBLE
public static final ParameterWrapper.ParameterType DOUBLE
A double parameter (primitive type).
-
BOOLEAN
public static final ParameterWrapper.ParameterType BOOLEAN
A boolean parameter (primitive type).
-
STRING
public static final ParameterWrapper.ParameterType STRING
A String parameter (handled as if it is a primitive type).
-
ENUM
public static final ParameterWrapper.ParameterType ENUM
An Enum type parameter.
-
OTHER
public static final ParameterWrapper.ParameterType OTHER
Other type; handle through instance listing facility.
-
-
Method Detail
-
values
public static ParameterWrapper.ParameterType[] 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 (ParameterWrapper.ParameterType c : ParameterWrapper.ParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParameterWrapper.ParameterType 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
-
-