br.gov.mj.frameworkprocessos.processo.ejb
Enum ProcessoUtil.TipoPrazo

java.lang.Object
  extended by java.lang.Enum<ProcessoUtil.TipoPrazo>
      extended by br.gov.mj.frameworkprocessos.processo.ejb.ProcessoUtil.TipoPrazo
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ProcessoUtil.TipoPrazo>
Enclosing class:
ProcessoUtil

public static enum ProcessoUtil.TipoPrazo
extends java.lang.Enum<ProcessoUtil.TipoPrazo>


Enum Constant Summary
TIPO_ANOS
           
TIPO_DIAS
           
TIPO_HORAS
           
TIPO_MESES
           
 
Method Summary
 java.lang.String getCodigo()
           
 int getConstanteCalendar()
           
static ProcessoUtil.TipoPrazo getTipoPrazo(java.lang.String codigo)
           
 java.lang.String toString()
           
static ProcessoUtil.TipoPrazo valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProcessoUtil.TipoPrazo[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TIPO_HORAS

public static final ProcessoUtil.TipoPrazo TIPO_HORAS

TIPO_DIAS

public static final ProcessoUtil.TipoPrazo TIPO_DIAS

TIPO_MESES

public static final ProcessoUtil.TipoPrazo TIPO_MESES

TIPO_ANOS

public static final ProcessoUtil.TipoPrazo TIPO_ANOS
Method Detail

values

public static final ProcessoUtil.TipoPrazo[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ProcessoUtil.TipoPrazo c : ProcessoUtil.TipoPrazo.values())
        System.out.println(c);

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

valueOf

public static ProcessoUtil.TipoPrazo 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

getCodigo

public java.lang.String getCodigo()

getConstanteCalendar

public int getConstanteCalendar()

getTipoPrazo

public static ProcessoUtil.TipoPrazo getTipoPrazo(java.lang.String codigo)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ProcessoUtil.TipoPrazo>