public static enum Session.Type extends Enum<Session.Type>
<xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:restriction base="xs:string">
<xs:enumeration value="APN"/>
<xs:enumeration value="DIAL"/>
</xs:restriction>
</xs:simpleType>
| Modifier and Type | Method and Description |
|---|---|
static Session.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Session.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Session.Type APN
public static final Session.Type DIAL
public static Session.Type[] values()
for (Session.Type c : Session.Type.values()) System.out.println(c);
public static Session.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2016. All Rights Reserved.