Enum ParameterTypeEnum
- java.lang.Object
-
- java.lang.Enum<ParameterTypeEnum>
-
- cn.mapway.ui.client.mvc.attribute.marker.ParameterTypeEnum
-
- All Implemented Interfaces:
Serializable,Comparable<ParameterTypeEnum>
public enum ParameterTypeEnum extends Enum<ParameterTypeEnum>
参数类型 输入 输出运行
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PT_INPUTPT_OUTPUTPT_RUNNING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetCode()StringgetName()StringgetUnicode()static ParameterTypeEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static ParameterTypeEnumvalueOfCode(Integer code)static ParameterTypeEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PT_INPUT
public static final ParameterTypeEnum PT_INPUT
-
PT_OUTPUT
public static final ParameterTypeEnum PT_OUTPUT
-
PT_RUNNING
public static final ParameterTypeEnum PT_RUNNING
-
-
Method Detail
-
values
public static ParameterTypeEnum[] 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 (ParameterTypeEnum c : ParameterTypeEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParameterTypeEnum 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
-
valueOfCode
public static ParameterTypeEnum valueOfCode(Integer code)
-
getName
public String getName()
-
getUnicode
public String getUnicode()
-
getCode
public Integer getCode()
-
-