|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.j256.ormlite.stmt.NullArgHolder
public class NullArgHolder
An argument to a select SQL statement for null arguments. This overrides the protections around multiple columns since it will always have a null value.
| Constructor Summary | |
|---|---|
NullArgHolder()
|
|
| Method Summary | |
|---|---|
String |
getColumnName()
Return the column-name associated with this argument. |
FieldType |
getFieldType()
Return the field type associated with this class. |
Object |
getSqlArgValue()
Return the value associated with this argument suitable for passing to SQL. |
SqlType |
getSqlType()
Return the SQL type associated with this class. |
void |
setMetaInfo(FieldType fieldType)
Used internally by the package to set the fieldType associated with this argument. |
void |
setMetaInfo(String columnName)
Used internally by the package to set the column-name associated with this argument. |
void |
setMetaInfo(String columnName,
FieldType fieldType)
Used internally by the package to set the column-name and fieldType associated with this argument. |
void |
setValue(Object value)
Set the value associated with this argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NullArgHolder()
| Method Detail |
|---|
public String getColumnName()
ArgumentHolder
getColumnName in interface ArgumentHolderpublic void setValue(Object value)
ArgumentHolder
setValue in interface ArgumentHolderpublic void setMetaInfo(String columnName)
ArgumentHolder
setMetaInfo in interface ArgumentHolderpublic void setMetaInfo(FieldType fieldType)
ArgumentHolder
setMetaInfo in interface ArgumentHolder
public void setMetaInfo(String columnName,
FieldType fieldType)
ArgumentHolder
setMetaInfo in interface ArgumentHolderpublic Object getSqlArgValue()
ArgumentHolder
getSqlArgValue in interface ArgumentHolderpublic SqlType getSqlType()
ArgumentHolder
getSqlType in interface ArgumentHolderpublic FieldType getFieldType()
ArgumentHolder
getFieldType in interface ArgumentHolder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||