本文整理了Java中org.jbundle.base.db.Record.getRecord
方法的一些代码示例,展示了Record.getRecord
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.getRecord
方法的具体详情如下:
包路径:org.jbundle.base.db.Record
类名称:Record
方法名:getRecord
[英]Get the record with this file name. This is more usefull in the queryrecord.
[中]获取具有此文件名的记录。这在queryrecord中更有用。
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Get this field in the table/record.
* @param strTableName the name of the table this field is in.
* @param iFieldSeq The sequence of the field in the record.
* @return The field.
*/
public BaseField getField(String strTableName, int iFieldSeq) // Lookup this field
{
if (this.getRecord(strTableName) != this)
return null;
return this.getField(iFieldSeq);
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base
/**
* Get this field in the table/record.
* @param strTableName the name of the table this field is in (for query records).
* @param The field name.
* @return The field.
*/
public BaseField getField(String strTableName, String strFieldName) // Lookup this field
{
if (this.getRecord(strTableName) != this)
return null;
return this.getField(strFieldName);
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Get this field in the table/record.
* @param strTableName the name of the table this field is in (for query records).
* @param The field name.
* @return The field.
*/
public BaseField getField(String strTableName, String strFieldName) // Lookup this field
{
if (this.getRecord(strTableName) != this)
return null;
return this.getField(strFieldName);
}
/**
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
/**
* Get this field in the table/record.
* @param strTableName the name of the table this field is in.
* @param iFieldSeq The sequence of the field in the record.
* @return The field.
*/
public BaseField getField(String strTableName, int iFieldSeq) // Lookup this field
{
if (this.getRecord(strTableName) != this)
return null;
return this.getField(iFieldSeq);
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base
/**
* Get this field in the table/record.
* @param strTableName the name of the table this field is in.
* @param iFieldSeq The sequence of the field in the record.
* @return The field.
*/
public BaseField getField(String strTableName, int iFieldSeq) // Lookup this field
{
if (this.getRecord(strTableName) != this)
return null;
return this.getField(iFieldSeq);
}
/**
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
/**
* Get this field in the table/record.
* @param strTableName the name of the table this field is in (for query records).
* @param The field name.
* @return The field.
*/
public BaseField getField(String strTableName, String strFieldName) // Lookup this field
{
if (this.getRecord(strTableName) != this)
return null;
return this.getField(strFieldName);
}
/**
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
/**
* Get this table in the query.
* @param strFileName The record to retrieve.
* @return The record with this name.
*/
public Record getRecord(String sFileName)
{
Record pQueryCore = null;
Record pStmtTable = null;
pQueryCore = super.getRecord(sFileName);
if (pQueryCore != null)
return pQueryCore;
for (int i = 0; i < this.getRecordlistCount(); i++)
{
pStmtTable = this.getRecordlistAt(i);
pQueryCore = pStmtTable.getRecord(sFileName);
if (pQueryCore != null)
return pQueryCore;
}
return null;
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base
/**
* Get this table in the query.
* @param strFileName The record to retrieve.
* @return The record with this name.
*/
public Record getRecord(String sFileName)
{
Record pQueryCore = null;
Record pStmtTable = null;
pQueryCore = super.getRecord(sFileName);
if (pQueryCore != null)
return pQueryCore;
for (int i = 0; i < this.getRecordlistCount(); i++)
{
pStmtTable = this.getRecordlistAt(i);
pQueryCore = pStmtTable.getRecord(sFileName);
if (pQueryCore != null)
return pQueryCore;
}
return null;
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Get this table in the query.
* @param strFileName The record to retrieve.
* @return The record with this name.
*/
public Record getRecord(String sFileName)
{
Record pQueryCore = null;
Record pStmtTable = null;
pQueryCore = super.getRecord(sFileName);
if (pQueryCore != null)
return pQueryCore;
for (int i = 0; i < this.getRecordlistCount(); i++)
{
pStmtTable = this.getRecordlistAt(i);
pQueryCore = pStmtTable.getRecord(sFileName);
if (pQueryCore != null)
return pQueryCore;
}
return null;
}
/**
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
/**
* Lookup this record for this recordowner.
* @param The record's name (if null, return the screenrecord, if blank, return the main record).
* @return The record with this name (or null if not found).
*/
public Record getRecord(String strFileName)
{
if (strFileName == null)
return this.getScreenRecord();
if (strFileName.length() == 0)
return this.getMainRecord();
for (Enumeration<FieldList> e = this.elements() ; e.hasMoreElements() ;)
{ // This should only be called for Imaged GridScreens (Child windows would be deleted by now if Component)
Record record = (Record)e.nextElement();
record = record.getRecord(strFileName);
if (record != null)
return record;
}
return null; // Not found
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Lookup this record for this recordowner.
* @param The record's name (if null, return the screenrecord, if blank, return the main record).
* @return The record with this name (or null if not found).
*/
public Record getRecord(String strFileName)
{
if (strFileName == null)
return this.getScreenRecord();
if (strFileName.length() == 0)
return this.getMainRecord();
for (Enumeration<FieldList> e = this.elements() ; e.hasMoreElements() ;)
{ // This should only be called for Imaged GridScreens (Child windows would be deleted by now if Component)
Record record = (Record)e.nextElement();
record = record.getRecord(strFileName);
if (record != null)
return record;
}
return null; // Not found
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base
/**
* Lookup this record for this recordowner.
* @param The record's name (if null, return the screenrecord, if blank, return the main record).
* @return The record with this name (or null if not found).
*/
public Record getRecord(String strFileName)
{
if (strFileName == null)
return this.getScreenRecord();
if (strFileName.length() == 0)
return this.getMainRecord();
for (Enumeration<Rec> e = this.elements() ; e.hasMoreElements() ;)
{ // This should only be called for Imaged GridScreens (Child windows would be deleted by now if Component)
Record record = (Record)e.nextElement();
record = record.getRecord(strFileName);
if (record != null)
return record;
}
return null; // Not found
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
Record pQueryTable = currentTable.getRecord().getRecord(infoList.m_strFileName);
if (pQueryTable != null)
代码示例来源:origin: org.jbundle.base/org.jbundle.base
Record pQueryTable = currentTable.getRecord().getRecord(infoList.m_strFileName);
if (pQueryTable != null)
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
Record pQueryTable = currentTable.getRecord().getRecord(infoList.m_strFileName);
if (pQueryTable != null)
内容来源于网络,如有侵权,请联系作者删除!