public enum AttributeClass extends java.lang.Enum<AttributeClass>
Enum Constant and Description |
---|
Boolean |
Date |
Double |
Integer |
String |
Modifier and Type | Method and Description |
---|---|
static AttributeClass |
forMaxType(java.lang.String maxType) |
void |
setPreparedParam(java.sql.PreparedStatement ps,
int i,
java.lang.Object object) |
static AttributeClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AttributeClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AttributeClass String
public static final AttributeClass Boolean
public static final AttributeClass Integer
public static final AttributeClass Double
public static final AttributeClass Date
public static AttributeClass[] values()
for (AttributeClass c : AttributeClass.values()) System.out.println(c);
public static AttributeClass valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AttributeClass forMaxType(java.lang.String maxType)
public void setPreparedParam(java.sql.PreparedStatement ps, int i, java.lang.Object object) throws java.sql.SQLException
ps
- i
- object
- java.sql.SQLException