org.tridas.io.formats.catras
Enum CatrasToTridasDefaults.CATRASProtection

java.lang.Object
  extended by java.lang.Enum<CatrasToTridasDefaults.CATRASProtection>
      extended by org.tridas.io.formats.catras.CatrasToTridasDefaults.CATRASProtection
All Implemented Interfaces:
Serializable, Comparable<CatrasToTridasDefaults.CATRASProtection>
Enclosing class:
CatrasToTridasDefaults

public static enum CatrasToTridasDefaults.CATRASProtection
extends Enum<CatrasToTridasDefaults.CATRASProtection>


Enum Constant Summary
NONE
           
NOT_TO_BE_AMENDED
           
NOT_TO_BE_DELETED
           
 
Method Summary
static CatrasToTridasDefaults.CATRASProtection fromCode(Integer code)
           
 Integer toCode()
           
 String toString()
           
static CatrasToTridasDefaults.CATRASProtection valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CatrasToTridasDefaults.CATRASProtection[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final CatrasToTridasDefaults.CATRASProtection NONE

NOT_TO_BE_DELETED

public static final CatrasToTridasDefaults.CATRASProtection NOT_TO_BE_DELETED

NOT_TO_BE_AMENDED

public static final CatrasToTridasDefaults.CATRASProtection NOT_TO_BE_AMENDED
Method Detail

values

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

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

valueOf

public static CatrasToTridasDefaults.CATRASProtection 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

toString

public final String toString()
Overrides:
toString in class Enum<CatrasToTridasDefaults.CATRASProtection>

toCode

public final Integer toCode()

fromCode

public static CatrasToTridasDefaults.CATRASProtection fromCode(Integer code)


Copyright © 2011. All Rights Reserved.