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

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

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


Enum Constant Summary
TIPO_ANEXO
           
TIPO_APENSO
           
 
Method Summary
 java.lang.String getCodigo()
           
 java.lang.String getDescricao()
           
static ProcessoUtil.TipoAssociacao getTipoAssociacao(java.lang.String codigo)
           
 java.lang.String toString()
           
static ProcessoUtil.TipoAssociacao valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProcessoUtil.TipoAssociacao[] 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_ANEXO

public static final ProcessoUtil.TipoAssociacao TIPO_ANEXO

TIPO_APENSO

public static final ProcessoUtil.TipoAssociacao TIPO_APENSO
Method Detail

values

public static final ProcessoUtil.TipoAssociacao[] 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.TipoAssociacao c : ProcessoUtil.TipoAssociacao.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.TipoAssociacao 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()

getTipoAssociacao

public static ProcessoUtil.TipoAssociacao getTipoAssociacao(java.lang.String codigo)

getDescricao

public java.lang.String getDescricao()

toString

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