public enum DataType extends Enum<DataType>
Enum Constant and Description |
---|
Calendar |
Contacts |
Email |
Notes |
Tasks |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataType Contacts
public static final DataType Email
public static final DataType Calendar
public static final DataType Tasks
public static final DataType Notes
public static DataType[] values()
for (DataType c : DataType.values()) System.out.println(c);
public static DataType 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 nullpublic int getValue()
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.