Enum ModoEdicaoEmenda
- java.lang.Object
-
- java.lang.Enum<ModoEdicaoEmenda>
-
- br.gov.lexml.eta.etaservices.emenda.ModoEdicaoEmenda
-
- All Implemented Interfaces:
Serializable,Comparable<ModoEdicaoEmenda>
public enum ModoEdicaoEmenda extends Enum<ModoEdicaoEmenda>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EMENDAEMENDA_ARTIGO_ONDE_COUBEREMENDA_SUBSTITUICAO_TERMOEMENDA_TEXTO_LIVRE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetNome()static ModoEdicaoEmendaparse(String me)StringtoString()static ModoEdicaoEmendavalueOf(String name)Returns the enum constant of this type with the specified name.static ModoEdicaoEmenda[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EMENDA
public static final ModoEdicaoEmenda EMENDA
-
EMENDA_TEXTO_LIVRE
public static final ModoEdicaoEmenda EMENDA_TEXTO_LIVRE
-
EMENDA_ARTIGO_ONDE_COUBER
public static final ModoEdicaoEmenda EMENDA_ARTIGO_ONDE_COUBER
-
EMENDA_SUBSTITUICAO_TERMO
public static final ModoEdicaoEmenda EMENDA_SUBSTITUICAO_TERMO
-
-
Method Detail
-
values
public static ModoEdicaoEmenda[] 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 (ModoEdicaoEmenda c : ModoEdicaoEmenda.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModoEdicaoEmenda 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 nameNullPointerException- if the argument is null
-
parse
public static ModoEdicaoEmenda parse(String me)
-
getNome
public String getNome()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ModoEdicaoEmenda>
-
-