com.vodafone360.people.engine.content
Enum ContentObject.TransferDirection

java.lang.Object
  extended by java.lang.Enum<ContentObject.TransferDirection>
      extended by com.vodafone360.people.engine.content.ContentObject.TransferDirection
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ContentObject.TransferDirection>
Enclosing class:
ContentObject

public static enum ContentObject.TransferDirection
extends java.lang.Enum<ContentObject.TransferDirection>

TransferDirection determines if the ContentObject is to be uploaded or downloaded.


Enum Constant Summary
DOWNLOAD
          Direction download.
UPLOAD
          Direction upload.
 
Method Summary
static ContentObject.TransferDirection valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ContentObject.TransferDirection[] 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

DOWNLOAD

public static final ContentObject.TransferDirection DOWNLOAD
Direction download.


UPLOAD

public static final ContentObject.TransferDirection UPLOAD
Direction upload.

Method Detail

values

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

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

valueOf

public static ContentObject.TransferDirection 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 name
java.lang.NullPointerException - if the argument is null


JavaDoc