org.jbundle.base.db.Record.getRecord()方法的使用及代码示例

x33g5p2x  于2022-01-28 转载在 其他  
字(6.4k)|赞(0)|评价(0)|浏览(75)

本文整理了Java中org.jbundle.base.db.Record.getRecord方法的一些代码示例,展示了Record.getRecord的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.getRecord方法的具体详情如下:
包路径:org.jbundle.base.db.Record
类名称:Record
方法名:getRecord

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)

相关文章

微信公众号

最新文章

更多

Record类方法