public enum ParameterMultiplicity extends java.lang.Enum<ParameterMultiplicity>
Enum Constant and Description |
---|
ANY
Parameter definition multiplicity constant.
|
NONE_OR_ONE
Parameter definition multiplicity constant.
|
ONE
Parameter definition multiplicity constant.
|
ONE_OR_MORE
Parameter definition multiplicity constant.
|
Modifier and Type | Method and Description |
---|---|
static ParameterMultiplicity |
fromCode(java.lang.String code)
Converts plug-in manifest string code to parameter multiplicity constant
value.
|
abstract java.lang.String |
toCode() |
static ParameterMultiplicity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParameterMultiplicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterMultiplicity ONE
public static final ParameterMultiplicity ANY
public static final ParameterMultiplicity NONE_OR_ONE
public static final ParameterMultiplicity ONE_OR_MORE
public static ParameterMultiplicity[] values()
for (ParameterMultiplicity c : ParameterMultiplicity.values()) System.out.println(c);
public static ParameterMultiplicity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract java.lang.String toCode()
public static ParameterMultiplicity fromCode(java.lang.String code)
code
- code from plug-in manifestCopyright © 2004-2007 Dmitry Olshansky. All Rights Reserved.