|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j256.ormlite.stmt.BaseArgumentHolder
public abstract class BaseArgumentHolder
Base class for other select argument classes.
Constructor Summary | |
---|---|
BaseArgumentHolder()
|
|
BaseArgumentHolder(SqlType sqlType)
|
|
BaseArgumentHolder(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 BaseArgumentHolder()
public BaseArgumentHolder(String columName)
public BaseArgumentHolder(SqlType sqlType)
Method Detail |
---|
protected abstract Object getValue()
public abstract void setValue(Object value)
ArgumentHolder
setValue
in interface ArgumentHolder
protected abstract boolean isValueSet()
public String getColumnName()
ArgumentHolder
getColumnName
in interface ArgumentHolder
public void setMetaInfo(String columnName)
ArgumentHolder
setMetaInfo
in interface ArgumentHolder
public 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 ArgumentHolder
SQLException
public FieldType getFieldType()
ArgumentHolder
getFieldType
in interface ArgumentHolder
public SqlType getSqlType()
ArgumentHolder
getSqlType
in interface ArgumentHolder
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |