Enum ProtocolHandshakeTypeType
- java.lang.Object
-
- java.lang.Enum<ProtocolHandshakeTypeType>
-
- org.openmuc.jship.message.smeproth.ProtocolHandshakeTypeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ProtocolHandshakeTypeType>
public enum ProtocolHandshakeTypeType extends java.lang.Enum<ProtocolHandshakeTypeType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOUNCE_MAX
SELECT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtocolHandshakeTypeType
getByValue(java.lang.String type)
java.lang.String
toString()
static ProtocolHandshakeTypeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ProtocolHandshakeTypeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANNOUNCE_MAX
public static final ProtocolHandshakeTypeType ANNOUNCE_MAX
-
SELECT
public static final ProtocolHandshakeTypeType SELECT
-
-
Method Detail
-
values
public static ProtocolHandshakeTypeType[] 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 (ProtocolHandshakeTypeType c : ProtocolHandshakeTypeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProtocolHandshakeTypeType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getByValue
public static ProtocolHandshakeTypeType getByValue(java.lang.String type)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<ProtocolHandshakeTypeType>
-
-