public class ClassType extends AmberType
| Modifier and Type | Method and Description |
|---|---|
static ClassType |
create()
Returns the singleton Class type.
|
int |
generateLoad(JavaWriter out,
java.lang.String rs,
java.lang.String indexVar,
int index)
Generates a string to load the property.
|
void |
generateSet(JavaWriter out,
java.lang.String pstmt,
java.lang.String index,
java.lang.String value)
Generates a string to set the property.
|
void |
generateSetNull(JavaWriter out,
java.lang.String pstmt,
java.lang.String index)
Generates a string to set the property.
|
java.lang.String |
getName()
Returns the type name.
|
java.lang.Object |
getObject(java.sql.ResultSet rs,
int index)
Gets the value.
|
static java.lang.Class |
toClass(java.lang.String name)
Gets the value.
|
findItem, fromObject, generateCastFromObject, generateCreateColumnSQL, generateEquals, generateIncrementVersion, generateIsNull, generateLoad, generateLoadForeign, generateLoadNative, generateNull, generateSetVersion, getColumnCount, getForeignType, getForeignTypeName, getJavaTypeName, getObject, init, isAssignableTo, isAutoIncrement, isBoolean, isNumeric, setParameter, toObject, toObjectpublic static ClassType create()
public java.lang.String getName()
public int generateLoad(JavaWriter out, java.lang.String rs, java.lang.String indexVar, int index) throws java.io.IOException
generateLoad in class AmberTypejava.io.IOExceptionpublic void generateSet(JavaWriter out, java.lang.String pstmt, java.lang.String index, java.lang.String value) throws java.io.IOException
generateSet in class AmberTypejava.io.IOExceptionpublic void generateSetNull(JavaWriter out, java.lang.String pstmt, java.lang.String index) throws java.io.IOException
generateSetNull in class AmberTypejava.io.IOExceptionpublic static java.lang.Class toClass(java.lang.String name)
throws java.sql.SQLException
java.sql.SQLException