Package com.ormfile.orm.enums
Enum Class OrmFileStringToDataTypes
- All Implemented Interfaces:
Serializable
,Comparable<OrmFileStringToDataTypes>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCasting de @link java.lang.String a booleanCasting de String a byteCasting de String a charCasting de String a doubleCasting de String a floatCasting de String a intCasting de String a @link java.time.LocalDateCasting de String a LocalDateTimeCasting de String a longCasting de String a shortDefinir tipo de datos StringCasting de String a UUIDCasting de String a Date -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic OrmFileStringToDataTypes
Returns the enum constant of this class with the specified name.static OrmFileStringToDataTypes[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STRING_BYTE
Casting de String a byte -
STRING_SHORT
Casting de String a short -
STRING_INT
Casting de String a int -
STRING_LONG
Casting de String a long -
STRING_FLOAT
Casting de String a float -
STRING_DOUBLE
Casting de String a double -
STRING_CHAR
Casting de String a char -
STRING_STRING
Definir tipo de datos String -
STRING_BOOL
Casting de @link java.lang.String a boolean -
STRING_LOCALDATE
Casting de String a @link java.time.LocalDate -
STRING_LOCALDATETIME
Casting de String a LocalDateTime -
STRINGT_DATE
Casting de String a Date -
STRING_UUID
Casting de String a UUID
-
-
Constructor Details
-
OrmFileStringToDataTypes
private OrmFileStringToDataTypes()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-