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

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

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

Regras de Tramitação 1 - Recebimento Automático: será permitido a todas as Unidades Protocolizadoras tramitar para unidades marcadas com Recebimento Automático. 2 - Recebimento Automático Geral: será permitido a TODAS as unidades tramitar para unidades marcadas com Recebimento Automático Geral. 3 - Tramitação Direta: será permitido a esse tipo de unidade tramitar para o Protocolo Central, todos os Protocolos Setoriais e todas as Unidades de Trâmite de todos os Grupos. 4 - Expedição Descentralizada: será permitido a esse tipo de unidade tramitar para todas as unidades que estejam aptas a receber trâmites. A saber: Protocolo Central, Protocolo Setorial, unidades com Recebimento Automático e Recebimento Automático Geral.


Enum Constant Summary
REGRA_TRAMITE_EXPEDICAO_DESCENTRALIZADA
           
REGRA_TRAMITE_RECEBIMENTO_AUTOMATICO
           
REGRA_TRAMITE_RECEBIMENTO_AUTOMATICO_GERAL
           
REGRA_TRAMITE_TRAMITACAO_DIRETA
           
 
Method Summary
 int getCodigo()
           
static ProcessoUtil.RegraTramite getRegraTramite(java.lang.Integer codigo)
           
static ProcessoUtil.RegraTramite valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ProcessoUtil.RegraTramite[] 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, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REGRA_TRAMITE_RECEBIMENTO_AUTOMATICO

public static final ProcessoUtil.RegraTramite REGRA_TRAMITE_RECEBIMENTO_AUTOMATICO

REGRA_TRAMITE_RECEBIMENTO_AUTOMATICO_GERAL

public static final ProcessoUtil.RegraTramite REGRA_TRAMITE_RECEBIMENTO_AUTOMATICO_GERAL

REGRA_TRAMITE_TRAMITACAO_DIRETA

public static final ProcessoUtil.RegraTramite REGRA_TRAMITE_TRAMITACAO_DIRETA

REGRA_TRAMITE_EXPEDICAO_DESCENTRALIZADA

public static final ProcessoUtil.RegraTramite REGRA_TRAMITE_EXPEDICAO_DESCENTRALIZADA
Method Detail

values

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

getRegraTramite

public static ProcessoUtil.RegraTramite getRegraTramite(java.lang.Integer codigo)