com.silanis.esl.sdk
Enum UsageReportCategory

java.lang.Object
  extended by java.lang.Enum<UsageReportCategory>
      extended by com.silanis.esl.sdk.UsageReportCategory
All Implemented Interfaces:
Serializable, Comparable<UsageReportCategory>

public enum UsageReportCategory
extends Enum<UsageReportCategory>

Created by lena on 2014-07-29.


Enum Constant Summary
ACTIVE
           
ARCHIVED
           
COMPLETED
           
DECLINED
           
DRAFT
           
EXPIRED
           
OPTED_OUT
           
SENT
           
TRASHED
           
 
Method Summary
static UsageReportCategory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UsageReportCategory[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ACTIVE

public static final UsageReportCategory ACTIVE

DRAFT

public static final UsageReportCategory DRAFT

SENT

public static final UsageReportCategory SENT

COMPLETED

public static final UsageReportCategory COMPLETED

ARCHIVED

public static final UsageReportCategory ARCHIVED

DECLINED

public static final UsageReportCategory DECLINED

OPTED_OUT

public static final UsageReportCategory OPTED_OUT

EXPIRED

public static final UsageReportCategory EXPIRED

TRASHED

public static final UsageReportCategory TRASHED
Method Detail

values

public static UsageReportCategory[] 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 (UsageReportCategory c : UsageReportCategory.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static UsageReportCategory 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 name
NullPointerException - if the argument is null


Copyright 2014, Silanis Technology, Inc. All rights reserved.