本文整理了Java中org.jbundle.thin.base.db.FieldList.isAutoSequence()
方法的一些代码示例,展示了FieldList.isAutoSequence()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。FieldList.isAutoSequence()
方法的具体详情如下:
包路径:org.jbundle.thin.base.db.FieldList
类名称:FieldList
方法名:isAutoSequence
[英]Does this fieldlist have a primary key that is auto-sequence. This can be turned off (in thick) by setting table.setProperty(AUTO_SEQUENCE_KEY, FALSE), which is primarily used to restore an archive with changing the autosequenced values.
[中]此字段列表是否有自动排序的主键。这可以通过设置表格来关闭(以粗体显示)。setProperty(AUTO_SEQUENCE_KEY,FALSE),主要用于通过更改autosequenced值来恢复存档。
代码示例来源:origin: org.jbundle.base/org.jbundle.base
/**
* Does this fieldlist have a primary key that is auto-sequence.
* This can be turned off (in thick) by setting table.setProperty(AUTO_SEQUENCE_KEY, FALSE),
* which is primarily used to restore an archive with changing the autosequenced values.
* Note: Thin FieldList's ALWAYS have auto-sequence keys.
* @return True if autosequence key.
*/
public boolean isAutoSequence()
{
if (this.getCounterField() != null)
if (!DBConstants.FALSE.equalsIgnoreCase(this.getTable().getProperty(SQLParams.AUTO_SEQUENCE_ENABLED)))
return super.isAutoSequence(); // Yes, this record has an autosequence key that is enabled.
return false;
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Does this fieldlist have a primary key that is auto-sequence.
* This can be turned off (in thick) by setting table.setProperty(AUTO_SEQUENCE_KEY, FALSE),
* which is primarily used to restore an archive with changing the autosequenced values.
* Note: Thin FieldList's ALWAYS have auto-sequence keys.
* @return True if autosequence key.
*/
public boolean isAutoSequence()
{
if (this.getCounterField() != null)
if (!DBConstants.FALSE.equalsIgnoreCase(this.getTable().getProperty(SQLParams.AUTO_SEQUENCE_ENABLED)))
return super.isAutoSequence(); // Yes, this record has an autosequence key that is enabled.
return false;
}
/**
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
/**
* Does this fieldlist have a primary key that is auto-sequence.
* This can be turned off (in thick) by setting table.setProperty(AUTO_SEQUENCE_KEY, FALSE),
* which is primarily used to restore an archive with changing the autosequenced values.
* Note: Thin FieldList's ALWAYS have auto-sequence keys.
* @return True if autosequence key.
*/
public boolean isAutoSequence()
{
if (this.getCounterField() != null)
if (!DBConstants.FALSE.equalsIgnoreCase(this.getTable().getProperty(SQLParams.AUTO_SEQUENCE_ENABLED)))
return super.isAutoSequence(); // Yes, this record has an autosequence key that is enabled.
return false;
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base
boolean bAutoSequence = fieldList.isAutoSequence();
boolean[] rgListeners = null;
Object[] rgFieldListeners = null;
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
boolean bAutoSequence = fieldList.isAutoSequence();
boolean[] rgListeners = null;
Object[] rgFieldListeners = null;
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
boolean bAutoSequence = fieldList.isAutoSequence();
boolean[] rgListeners = null;
Object[] rgFieldListeners = null;
代码示例来源:origin: org.jbundle.thin.base.db/org.jbundle.thin.base.db
if (field != null)
if (!field.isNull())
if (!table.getRecord().isAutoSequence())
内容来源于网络,如有侵权,请联系作者删除!