Package org.yamcs.xtce.util
Enum NameReference.Type
- java.lang.Object
-
- java.lang.Enum<NameReference.Type>
-
- org.yamcs.xtce.util.NameReference.Type
-
- All Implemented Interfaces:
Serializable,Comparable<NameReference.Type>
- Enclosing interface:
- NameReference
public static enum NameReference.Type extends Enum<NameReference.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALGORITHMARGUMENT_TYPECOMMAND_CONTAINERMETA_COMMANDPARAMETERPARAMETER_TYPESEQUENCE_CONTAINER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NameReference.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static NameReference.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEQUENCE_CONTAINER
public static final NameReference.Type SEQUENCE_CONTAINER
-
COMMAND_CONTAINER
public static final NameReference.Type COMMAND_CONTAINER
-
PARAMETER
public static final NameReference.Type PARAMETER
-
PARAMETER_TYPE
public static final NameReference.Type PARAMETER_TYPE
-
META_COMMAND
public static final NameReference.Type META_COMMAND
-
ALGORITHM
public static final NameReference.Type ALGORITHM
-
ARGUMENT_TYPE
public static final NameReference.Type ARGUMENT_TYPE
-
-
Method Detail
-
values
public static NameReference.Type[] 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 (NameReference.Type c : NameReference.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NameReference.Type 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
-
-