|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.j256.ormlite.stmt.BaseSelectArg
public abstract class BaseSelectArg
Base class for other select argument classes.
| Constructor Summary | |
|---|---|
BaseSelectArg()
|
|
BaseSelectArg(SqlType sqlType)
|
|
BaseSelectArg(String columName)
|
|
| 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. |
protected abstract Object |
getValue()
Return the stored value. |
protected abstract boolean |
isValueSet()
Return true if the value is set. |
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. |
abstract void |
setValue(Object value)
Set the value associated with this argument. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BaseSelectArg()
public BaseSelectArg(String columName)
public BaseSelectArg(SqlType sqlType)
| Method Detail |
|---|
protected abstract Object getValue()
public abstract void setValue(Object value)
ArgumentHolder
setValue in interface ArgumentHolderprotected abstract boolean isValueSet()
public String getColumnName()
ArgumentHolder
getColumnName 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 ArgumentHolder
public Object getSqlArgValue()
throws SQLException
ArgumentHolder
getSqlArgValue in interface ArgumentHolderSQLExceptionpublic FieldType getFieldType()
ArgumentHolder
getFieldType in interface ArgumentHolderpublic SqlType getSqlType()
ArgumentHolder
getSqlType in interface ArgumentHolderpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||