本文整理了Java中org.jbundle.thin.base.db.FieldList.setKeyArea()
方法的一些代码示例,展示了FieldList.setKeyArea()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FieldList.setKeyArea()
方法的具体详情如下:
包路径:org.jbundle.thin.base.db.FieldList
类名称:FieldList
方法名:setKeyArea
[英]Set the default key order.
[中]设置默认键顺序。
代码示例来源:origin: org.jbundle.base/org.jbundle.base
/**
* Set the default key order.
* @param String strKeyName the current index.
* @return The new default key area (null if not found).
*/
public KeyArea setKeyArea(String strKeyName)
{
return (KeyArea)super.setKeyArea(strKeyName);
}
/**
代码示例来源:origin: org.jbundle.thin.base.db/org.jbundle.thin.base.db
/**
* Get the name of the current key.
* Note: This is a convience method, this is the same as setKeyArea (with no return).
* @param strKeyName The key's name.
*/
public void setKeyName(String strKeyName)
{
this.setKeyArea(strKeyName);
}
/**
代码示例来源:origin: org.jbundle.thin.base.db/org.jbundle.thin.base.db
/**
* Set the default key order.
* @param String strKeyName the current index.
* @return The new default key area (null if not found).
*/
public KeyAreaInfo getKeyArea(String strKeyName)
{
return this.setKeyArea(strKeyName);
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Set the default key order.
* @param String strKeyName the current index.
* @return The new default key area (null if not found).
*/
public KeyArea setKeyArea(String strKeyName)
{
return (KeyArea)super.setKeyArea(strKeyName);
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base
/**
* Set the default key order.
* @param String strKeyName the current index.
* @return The new default key area (null if not found).
*/
public KeyArea getKeyArea(String strKeyName)
{
return (KeyArea)super.setKeyArea(strKeyName);
}
/**
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
/**
* Set the default key order.
* @param String strKeyName the current index.
* @return The new default key area (null if not found).
*/
public KeyArea setKeyArea(String strKeyName)
{
return (KeyArea)super.setKeyArea(strKeyName);
}
/**
代码示例来源:origin: org.jbundle.thin.base.db/org.jbundle.thin.base.db
/**
* Reposition to this record using this bookmark.
* @param bookmark The handle to use to position the record.
* @param iHandleType The type of handle (DATA_SOURCE/OBJECT_ID,OBJECT_SOURCE,BOOKMARK).
* @return - true - record found/false - record not found
* @exception FILE_NOT_OPEN.
* @exception DBException File exception.
*/
public boolean doSetHandle(Object bookmark, int iHandleType) throws DBException
{
String strCurrentOrder = this.getRecord().getKeyName();
this.getRecord().setKeyArea(Constants.PRIMARY_KEY);
this.getRecord().getCounterField().setData(bookmark);
boolean bSuccess = this.seek(Constants.EQUALS);
this.getRecord().setKeyArea(strCurrentOrder);
return bSuccess;
}
/**
代码示例来源:origin: com.tourgeek.thin.app/com.tourgeek.thin.app.booking
recBooking.getField(strKeyField).setString(strKeyValue);
String strOldKeyArea = recBooking.getKeyName();
recBooking.setKeyArea(strKeyField);
bSuccess = recBooking.getTable().seek(Constants.EQUALS);
recBooking.setKeyArea(strOldKeyArea);
if (bSuccess)
内容来源于网络,如有侵权,请联系作者删除!