br.gov.mj.frameworkprocessos.processo.ejb
Enum ProcessoUtil.TipoPessoa
java.lang.Object
java.lang.Enum<ProcessoUtil.TipoPessoa>
br.gov.mj.frameworkprocessos.processo.ejb.ProcessoUtil.TipoPessoa
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ProcessoUtil.TipoPessoa>
- Enclosing class:
- ProcessoUtil
public static enum ProcessoUtil.TipoPessoa
- extends java.lang.Enum<ProcessoUtil.TipoPessoa>
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 |
TIPO_PESSOA_FISICA
public static final ProcessoUtil.TipoPessoa TIPO_PESSOA_FISICA
TIPO_PESSOA_JURIDICA
public static final ProcessoUtil.TipoPessoa TIPO_PESSOA_JURIDICA
TIPO_PESSOA_NAO_IDENTIFICADA
public static final ProcessoUtil.TipoPessoa TIPO_PESSOA_NAO_IDENTIFICADA
values
public static final ProcessoUtil.TipoPessoa[] 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.TipoPessoa c : ProcessoUtil.TipoPessoa.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.TipoPessoa 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()
getTipoPessoa
public static ProcessoUtil.TipoPessoa getTipoPessoa(java.lang.String codigo)