Enum InterfaceRefInfo.EInterfaceCategory
- java.lang.Object
-
- java.lang.Enum<InterfaceRefInfo.EInterfaceCategory>
-
- fi.tut.mei.resdescapi.rescatapi.model.InterfaceRefInfo.EInterfaceCategory
-
- All Implemented Interfaces:
Serializable
,Comparable<InterfaceRefInfo.EInterfaceCategory>
- Enclosing class:
- InterfaceRefInfo
public static enum InterfaceRefInfo.EInterfaceCategory extends Enum<InterfaceRefInfo.EInterfaceCategory>
Enumeration for interface categories. Defined values are: MECHANICAL_PORT, ELECTRICAL_PORT, SERVICE_PORT, COMMUNICATION_PORT, OTHER_PORT
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMUNICATION_PORT
ELECTRICAL_PORT
MECHANICAL_PORT
OTHER_PORT
SERVICE_PORT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static InterfaceRefInfo.EInterfaceCategory
valueOf(String name)
Returns the enum constant of this type with the specified name.static InterfaceRefInfo.EInterfaceCategory[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MECHANICAL_PORT
public static final InterfaceRefInfo.EInterfaceCategory MECHANICAL_PORT
-
ELECTRICAL_PORT
public static final InterfaceRefInfo.EInterfaceCategory ELECTRICAL_PORT
-
SERVICE_PORT
public static final InterfaceRefInfo.EInterfaceCategory SERVICE_PORT
-
COMMUNICATION_PORT
public static final InterfaceRefInfo.EInterfaceCategory COMMUNICATION_PORT
-
OTHER_PORT
public static final InterfaceRefInfo.EInterfaceCategory OTHER_PORT
-
-
Method Detail
-
values
public static InterfaceRefInfo.EInterfaceCategory[] 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 (InterfaceRefInfo.EInterfaceCategory c : InterfaceRefInfo.EInterfaceCategory.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InterfaceRefInfo.EInterfaceCategory 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
-
-