public class ByteArrayType extends AmberArrayType
Modifier and Type | Method and Description |
---|---|
static ByteArrayType |
create()
Returns the singleton ByteArray type.
|
int |
generateLoad(JavaWriter out,
java.lang.String rs,
java.lang.String indexVar,
int index)
Generates a string to load the property.
|
int |
generateLoadNative(JavaWriter out,
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.
|
java.lang.String |
getJavaObjectTypeName()
Returns the java type for a single entry.
|
java.lang.String |
getJavaTypeName()
Returns the java type.
|
java.lang.String |
getName()
Returns the type name.
|
java.lang.Object |
getObject(java.sql.ResultSet rs,
int index)
Gets the value.
|
java.lang.String |
getPrimitiveArrayTypeName()
Returns the corresponding primitive array
type name.
|
void |
setParameter(java.sql.PreparedStatement pstmt,
int index,
java.lang.Object value)
Sets the value.
|
findItem, fromObject, generateCastFromObject, generateCreateColumnSQL, generateEquals, generateIncrementVersion, generateIsNull, generateLoad, generateLoadForeign, generateNull, generateSetNull, generateSetVersion, getColumnCount, getForeignType, getForeignTypeName, getObject, init, isAssignableTo, isAutoIncrement, isBoolean, isNumeric, toObject, toObject
public static ByteArrayType create()
public java.lang.String getName()
public java.lang.String getJavaTypeName()
getJavaTypeName
in class AmberType
public java.lang.String getJavaObjectTypeName()
getJavaObjectTypeName
in class AmberArrayType
public java.lang.String getPrimitiveArrayTypeName()
getPrimitiveArrayTypeName
in class AmberArrayType
public int generateLoad(JavaWriter out, java.lang.String rs, java.lang.String indexVar, int index) throws java.io.IOException
generateLoad
in class AmberType
java.io.IOException
public int generateLoadNative(JavaWriter out, int index) throws java.io.IOException
generateLoadNative
in class AmberType
java.io.IOException
public void generateSet(JavaWriter out, java.lang.String pstmt, java.lang.String index, java.lang.String value) throws java.io.IOException
generateSet
in class AmberType
java.io.IOException
public void setParameter(java.sql.PreparedStatement pstmt, int index, java.lang.Object value) throws java.sql.SQLException
setParameter
in class AmberType
java.sql.SQLException