org.jbundle.model.db.Field.isVirtual()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(70)

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

Field.isVirtual介绍

暂无

代码示例

代码示例来源:origin: org.jbundle.thin.base.db/org.jbundle.thin.base.db

/**
 * Move all the fields to the output buffer.
 * @exception Exception File exception.
 */
public void fieldsToData(Rec record) throws DBException
{
  this.setupNewDataSource();
  int fieldCount = record.getFieldCount(); // Number of fields to write out
  for (int iFieldSeq = Constants.MAIN_FIELD; iFieldSeq < fieldCount + Constants.MAIN_FIELD; iFieldSeq++)
  {
    Field field = record.getField(iFieldSeq);
    if (field.isVirtual()) //x || (!field.isSelected()))
      continue;               // This field is never moved to a buffer
    this.fieldToData(field);
  }
}
/**

代码示例来源:origin: org.jbundle.thin.base.db/org.jbundle.thin.base.db

/**
 * Move the data source buffer to all the fields.
 *  <p /><pre>
 *  Make sure you do the following steps:
 *  1) Move the data fields to the correct record data fields, with mode Constants.READ_MOVE.
 *  2) Set the data source or set to null, so I can cache the source if necessary.
 *  3) Save the objectID if it is not an Integer type, so I can serialize the source of this object.
 *  </pre>
 * @exception Exception File exception.
 * @return Any error encountered moving the data.
 */
public int dataToFields(Rec record) throws DBException
{
  int iFieldCount = record.getFieldCount();      // Number of fields to read in
  for (int iFieldSeq = Constants.MAIN_FIELD; iFieldSeq < iFieldCount + Constants.MAIN_FIELD; iFieldSeq++)
  {
    Field field = record.getField(iFieldSeq);
    if (field.isVirtual()) //x|| (!field.isSelected()))
      field.initField(Constants.DONT_DISPLAY);
    else
      this.dataToField(field);
  }
  return Constants.NORMAL_RETURN;
}
/**

代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed

&& (field.isVirtual()))
    return DBConstants.NORMAL_RETURN;   // Don't acknowledge a virtual field change
if ((field instanceof CounterField)

代码示例来源:origin: org.jbundle.base/org.jbundle.base

&& (field.isVirtual()))
    return DBConstants.NORMAL_RETURN;   // Don't acknowledge a virtual field change
if ((field instanceof CounterField)

代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db

&& (field.isVirtual()))
    return DBConstants.NORMAL_RETURN;   // Don't acknowledge a virtual field change
if ((field instanceof CounterField)

相关文章