Package br.com.senior.hcm.payroll.pojos
Enum DocumentType
- java.lang.Object
-
- java.lang.Enum<DocumentType>
-
- br.com.senior.hcm.payroll.pojos.DocumentType
-
- All Implemented Interfaces:
Serializable,Comparable<DocumentType>
public enum DocumentType extends Enum<DocumentType>
Gets or Sets documentType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDocumentType.Adapter
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentTypefromValue(String text)StringgetValue()StringtoString()static DocumentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DocumentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VOTER_REGISTRATION_CARD
public static final DocumentType VOTER_REGISTRATION_CARD
-
DRIVERS_LICENSE
public static final DocumentType DRIVERS_LICENSE
-
RESERVIST_CERTIFICATE
public static final DocumentType RESERVIST_CERTIFICATE
-
CIVIL_CERTIFICATE
public static final DocumentType CIVIL_CERTIFICATE
-
PASSPORT
public static final DocumentType PASSPORT
-
CIVILIAN_IDENTITY_REGISTRY
public static final DocumentType CIVILIAN_IDENTITY_REGISTRY
-
NATURALIZATION_DECREE
public static final DocumentType NATURALIZATION_DECREE
-
NATIONAL_HEALTH_CARD
public static final DocumentType NATIONAL_HEALTH_CARD
-
DECLARATION_OF_LIVE_BIRTH
public static final DocumentType DECLARATION_OF_LIVE_BIRTH
-
PROFESSIONAL_COUNCIL
public static final DocumentType PROFESSIONAL_COUNCIL
-
RG
public static final DocumentType RG
-
CPF
public static final DocumentType CPF
-
DEATH_CERTIFICATE
public static final DocumentType DEATH_CERTIFICATE
-
PROVISION_FUND
public static final DocumentType PROVISION_FUND
-
SOCIAL_INSURANCE
public static final DocumentType SOCIAL_INSURANCE
-
IDENTIFICATION_DOCUMENT
public static final DocumentType IDENTIFICATION_DOCUMENT
-
-
Method Detail
-
values
public static DocumentType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DocumentType c : DocumentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DocumentType valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<DocumentType>
-
fromValue
public static DocumentType fromValue(String text)
-
-