Enum SIPPrivacyVersion
- java.lang.Object
-
- java.lang.Enum<SIPPrivacyVersion>
-
- co.ecg.alpaca.toolkit.generated.enums.SIPPrivacyVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<SIPPrivacyVersion>
public enum SIPPrivacyVersion extends Enum<SIPPrivacyVersion>
Privacy Version.- Author:
- AlpacaGenerator
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PRIVACY00
PRIVACY03
RFC3323
RFC3323JAPAN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SIPPrivacyVersion
get(String value)
static SIPPrivacyVersion[]
getArray(String[] values)
String
toString()
String
value()
static SIPPrivacyVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static SIPPrivacyVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RFC3323
public static final SIPPrivacyVersion RFC3323
-
RFC3323JAPAN
public static final SIPPrivacyVersion RFC3323JAPAN
-
PRIVACY03
public static final SIPPrivacyVersion PRIVACY03
-
PRIVACY00
public static final SIPPrivacyVersion PRIVACY00
-
-
Method Detail
-
values
public static SIPPrivacyVersion[] 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 (SIPPrivacyVersion c : SIPPrivacyVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SIPPrivacyVersion 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
-
value
public String value()
-
toString
public String toString()
- Overrides:
toString
in classEnum<SIPPrivacyVersion>
-
get
public static SIPPrivacyVersion get(String value)
-
getArray
public static SIPPrivacyVersion[] getArray(String[] values)
-
-