com.trackstudio.app.adapter.store
Enum ResultImport.Message

java.lang.Object
  extended by java.lang.Enum<ResultImport.Message>
      extended by com.trackstudio.app.adapter.store.ResultImport.Message
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ResultImport.Message>
Enclosing class:
ResultImport

public static enum ResultImport.Message
extends java.lang.Enum<ResultImport.Message>


Enum Constant Summary
CURRENT_MESSAGE_FROM_NULL
           
CURRENT_MESSAGE_FROM_USER_NULL
           
CURRENT_MESSAGE_NULL
           
DOES_EXIST_MAIN_IMPORT
           
DOES_NOT_APPROPRIATE_FOR_IMPORT_RULE
           
OK
           
 
Method Summary
 java.lang.String getMessage(java.lang.String locale)
           
static ResultImport.Message valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ResultImport.Message[] 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

OK

public static final ResultImport.Message OK

CURRENT_MESSAGE_NULL

public static final ResultImport.Message CURRENT_MESSAGE_NULL

CURRENT_MESSAGE_FROM_NULL

public static final ResultImport.Message CURRENT_MESSAGE_FROM_NULL

CURRENT_MESSAGE_FROM_USER_NULL

public static final ResultImport.Message CURRENT_MESSAGE_FROM_USER_NULL

DOES_EXIST_MAIN_IMPORT

public static final ResultImport.Message DOES_EXIST_MAIN_IMPORT

DOES_NOT_APPROPRIATE_FOR_IMPORT_RULE

public static final ResultImport.Message DOES_NOT_APPROPRIATE_FOR_IMPORT_RULE
Method Detail

values

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

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

valueOf

public static ResultImport.Message 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

getMessage

public java.lang.String getMessage(java.lang.String locale)
                            throws GranException
Throws:
GranException


Copyright © 2002-2011 TrackStudio, Ltd. All Rights Reserved.