org.opencrx.application.airsync.server
Enum SyncParameters

java.lang.Object
  extended by java.lang.Enum<SyncParameters>
      extended by org.opencrx.application.airsync.server.SyncParameters
All Implemented Interfaces:
Serializable, Comparable<SyncParameters>

public enum SyncParameters
extends Enum<SyncParameters>


Enum Constant Summary
AttachmentName
           
CollectionId
           
CollectionName
           
ItemId
           
LongId
           
Occurrence
           
Options
           
ParentId
           
User
           
 
Method Summary
static SyncParameters getParam(int value)
           
static SyncParameters valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SyncParameters[] 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

AttachmentName

public static final SyncParameters AttachmentName

CollectionId

public static final SyncParameters CollectionId

CollectionName

public static final SyncParameters CollectionName

ItemId

public static final SyncParameters ItemId

LongId

public static final SyncParameters LongId

ParentId

public static final SyncParameters ParentId

Occurrence

public static final SyncParameters Occurrence

Options

public static final SyncParameters Options

User

public static final SyncParameters User
Method Detail

values

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

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

valueOf

public static SyncParameters 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

getParam

public static SyncParameters getParam(int value)


This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.