br.gov.mj.frameworkprocessos.processo.ejb
Enum ProcessoUtil.TipoUnidadeTramite
java.lang.Object
java.lang.Enum<ProcessoUtil.TipoUnidadeTramite>
br.gov.mj.frameworkprocessos.processo.ejb.ProcessoUtil.TipoUnidadeTramite
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ProcessoUtil.TipoUnidadeTramite>
- Enclosing class:
- ProcessoUtil
public static enum ProcessoUtil.TipoUnidadeTramite
- extends java.lang.Enum<ProcessoUtil.TipoUnidadeTramite>
Tipo de Unidades de Tramite
U - Unidade de Tramite
S - Protocolo Setorial
C - Protocolo Central
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 |
UNIDADE_TRAMITE
public static final ProcessoUtil.TipoUnidadeTramite UNIDADE_TRAMITE
PROTOCOLO_SETORIAL
public static final ProcessoUtil.TipoUnidadeTramite PROTOCOLO_SETORIAL
PROTOCOLO_CENTRAL
public static final ProcessoUtil.TipoUnidadeTramite PROTOCOLO_CENTRAL
ARQUIVO_CENTRAL
public static final ProcessoUtil.TipoUnidadeTramite ARQUIVO_CENTRAL
values
public static final ProcessoUtil.TipoUnidadeTramite[] 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.TipoUnidadeTramite c : ProcessoUtil.TipoUnidadeTramite.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.TipoUnidadeTramite 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()
getTipoUnidadeTramite
public static ProcessoUtil.TipoUnidadeTramite getTipoUnidadeTramite(java.lang.String codigo)
getDescricao
public java.lang.String getDescricao()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Enum<ProcessoUtil.TipoUnidadeTramite>