public enum AttributeClass extends java.lang.Enum<AttributeClass>
Enum Constant and Description |
---|
Boolean |
Date |
DateTime |
Double |
Integer |
Long |
Raw |
String |
Time |
Modifier and Type | Method and Description |
---|---|
static AttributeClass |
forMaxType(java.lang.String maxType)
Return the attribute for the given Maximo MaxType.
|
void |
setPreparedParam(java.sql.PreparedStatement ps,
int i,
java.lang.Object object,
boolean isDB2)
Set a parameter in a prepared statement.
|
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 Long
public static final AttributeClass Double
public static final AttributeClass DateTime
public static final AttributeClass Date
public static final AttributeClass Time
public static final AttributeClass Raw
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)
maxType
- public void setPreparedParam(java.sql.PreparedStatement ps, int i, java.lang.Object object, boolean isDB2) throws java.sql.SQLException
ps
- i
- object
- isDB2
- java.sql.SQLException