de.folt.models.datamodel
Enum TranslationCheckResult.TranslationCheckStatus

java.lang.Object
  extended by java.lang.Enum<TranslationCheckResult.TranslationCheckStatus>
      extended by de.folt.models.datamodel.TranslationCheckResult.TranslationCheckStatus
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TranslationCheckResult.TranslationCheckStatus>
Enclosing class:
TranslationCheckResult

public static enum TranslationCheckResult.TranslationCheckStatus
extends java.lang.Enum<TranslationCheckResult.TranslationCheckStatus>

The status of a translation source target (translation) check.

Author:
klemens

Enum Constant Summary
NEW
          the source target segment combination does not exist data source
SOURCEANDTARGETFOUND
          the source and target segment exists in the data source
SOURCEFOUND
          the source segment exists in the data source
TARGETFOUND
          the target segment exists in the data source
 
Method Summary
static TranslationCheckResult.TranslationCheckStatus valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TranslationCheckResult.TranslationCheckStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NEW

public static final TranslationCheckResult.TranslationCheckStatus NEW
the source target segment combination does not exist data source


SOURCEANDTARGETFOUND

public static final TranslationCheckResult.TranslationCheckStatus SOURCEANDTARGETFOUND
the source and target segment exists in the data source


SOURCEFOUND

public static final TranslationCheckResult.TranslationCheckStatus SOURCEFOUND
the source segment exists in the data source


TARGETFOUND

public static final TranslationCheckResult.TranslationCheckStatus TARGETFOUND
the target segment exists in the data source

Method Detail

values

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

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

valueOf

public static TranslationCheckResult.TranslationCheckStatus 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