org.tridas.io.formats.catras
Enum CatrasToTridasDefaults.CATRASProtection
java.lang.Object
java.lang.Enum<CatrasToTridasDefaults.CATRASProtection>
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>
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
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.