- 使用 Spring Initializr 创建 Spring Boot 应用程序
- 在Spring Boot中配置Cassandra
- 在 Spring Boot 上配置 Tomcat 连接池
- 将Camel消息路由到嵌入WildFly的Artemis上
本文整理了Java中org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer.isMappingMode()
方法的一些代码示例,展示了XMLPersistenceMetaDataSerializer.isMappingMode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XMLPersistenceMetaDataSerializer.isMappingMode()
方法的具体详情如下:
包路径:org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer
类名称:XMLPersistenceMetaDataSerializer
方法名:isMappingMode
[英]Convenience method for interpreting #getMode.
[中]解释#getMode的便捷方法。
代码示例来源:origin: org.apache.openjpa/openjpa-all
@Override
protected Collection getObjects() {
List all = new ArrayList();
if (isQueryMode())
addQueryMetaDatas(all);
if (isMappingMode())
addSequenceMetaDatas(all);
if ((isMetaDataMode() || isMappingMode()) && _metas != null)
all.addAll(_metas.values());
if (isMappingMode())
addSystemMappingElements(all);
serializationSort(all);
return all;
}
代码示例来源:origin: org.apache.openejb.patch/openjpa-persistence
@Override
protected Collection getObjects() {
List all = new ArrayList();
if (isQueryMode())
addQueryMetaDatas(all);
if (isMappingMode())
addSequenceMetaDatas(all);
if ((isMetaDataMode() || isMappingMode()) && _metas != null)
all.addAll(_metas.values());
if (isMappingMode())
addSystemMappingElements(all);
serializationSort(all);
return all;
}
代码示例来源:origin: org.apache.openjpa/openjpa-persistence
/**
* Convenience method for interpreting {@link #getMode}. Takes into
* account whether mapping information is loaded for the given instance.
*/
protected boolean isMappingMode(ValueMetaData vmd) {
return isMappingMode(vmd.getFieldMetaData().getDefiningMetaData());
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
/**
* Convenience method for interpreting {@link #getMode}. Takes into
* account whether mapping information is loaded for the given instance.
*/
protected boolean isMappingMode(ValueMetaData vmd) {
return isMappingMode(vmd.getFieldMetaData().getDefiningMetaData());
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
/**
* Convenience method for interpreting {@link #getMode}. Takes into
* account whether mapping information is loaded for the given instance.
*/
protected boolean isMappingMode(ValueMetaData vmd) {
return isMappingMode(vmd.getFieldMetaData().getDefiningMetaData());
}
代码示例来源:origin: org.apache.openjpa/openjpa-persistence
@Override
protected Collection getObjects() {
List all = new ArrayList();
if (isQueryMode())
addQueryMetaDatas(all);
if (isMappingMode())
addSequenceMetaDatas(all);
if ((isMetaDataMode() || isMappingMode()) && _metas != null)
all.addAll(_metas.values());
if (isMappingMode())
addSystemMappingElements(all);
serializationSort(all);
return all;
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
@Override
protected Collection getObjects() {
List all = new ArrayList();
if (isQueryMode())
addQueryMetaDatas(all);
if (isMappingMode())
addSequenceMetaDatas(all);
if ((isMetaDataMode() || isMappingMode()) && _metas != null)
all.addAll(_metas.values());
if (isMappingMode())
addSystemMappingElements(all);
serializationSort(all);
return all;
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
@Override
protected Collection getObjects() {
List all = new ArrayList();
if (isQueryMode())
addQueryMetaDatas(all);
if (isMappingMode())
addSequenceMetaDatas(all);
if ((isMetaDataMode() || isMappingMode()) && _metas != null)
all.addAll(_metas.values());
if (isMappingMode())
addSystemMappingElements(all);
serializationSort(all);
return all;
}
代码示例来源:origin: org.apache.openejb.patch/openjpa-persistence
/**
* Convenience method for interpreting {@link #getMode}. Takes into
* account whether mapping information is loaded for the given instance.
*/
protected boolean isMappingMode(ValueMetaData vmd) {
return isMappingMode(vmd.getFieldMetaData().getDefiningMetaData());
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
/**
* Convenience method for interpreting {@link #getMode}. Takes into
* account whether mapping information is loaded for the given instance.
*/
protected boolean isMappingMode(ValueMetaData vmd) {
return isMappingMode(vmd.getFieldMetaData().getDefiningMetaData());
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
/**
* Convenience method for interpreting {@link #getMode}. Takes into
* account whether mapping information is loaded for the given instance.
*/
protected boolean isMappingMode(ClassMetaData meta) {
return isMappingMode() && (meta.getSourceMode() & MODE_MAPPING) != 0
&& (meta.getEmbeddingMetaData() != null
|| !meta.isEmbeddedOnly())
&& (meta.getEmbeddingMetaData() == null
|| isMappingMode(meta.getEmbeddingMetaData()));
}
代码示例来源:origin: org.apache.openjpa/openjpa-persistence
/**
* Convenience method for interpreting {@link #getMode}. Takes into
* account whether mapping information is loaded for the given instance.
*/
protected boolean isMappingMode(ClassMetaData meta) {
return isMappingMode() && (meta.getSourceMode() & MODE_MAPPING) != 0
&& (meta.getEmbeddingMetaData() != null
|| !meta.isEmbeddedOnly())
&& (meta.getEmbeddingMetaData() == null
|| isMappingMode(meta.getEmbeddingMetaData()));
}
代码示例来源:origin: org.apache.openejb.patch/openjpa-persistence
/**
* Convenience method for interpreting {@link #getMode}. Takes into
* account whether mapping information is loaded for the given instance.
*/
protected boolean isMappingMode(ClassMetaData meta) {
return isMappingMode() && (meta.getSourceMode() & MODE_MAPPING) != 0
&& (meta.getEmbeddingMetaData() != null
|| !meta.isEmbeddedOnly())
&& (meta.getEmbeddingMetaData() == null
|| isMappingMode(meta.getEmbeddingMetaData()));
}
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
/**
* Convenience method for interpreting {@link #getMode}. Takes into
* account whether mapping information is loaded for the given instance.
*/
protected boolean isMappingMode(ClassMetaData meta) {
return isMappingMode() && (meta.getSourceMode() & MODE_MAPPING) != 0
&& (meta.getEmbeddingMetaData() != null
|| !meta.isEmbeddedOnly())
&& (meta.getEmbeddingMetaData() == null
|| isMappingMode(meta.getEmbeddingMetaData()));
}
代码示例来源:origin: org.apache.openejb.patch/openjpa
/**
* Convenience method for interpreting {@link #getMode}. Takes into
* account whether mapping information is loaded for the given instance.
*/
protected boolean isMappingMode(ClassMetaData meta) {
return isMappingMode() && (meta.getSourceMode() & MODE_MAPPING) != 0
&& (meta.getEmbeddingMetaData() != null
|| !meta.isEmbeddedOnly())
&& (meta.getEmbeddingMetaData() == null
|| isMappingMode(meta.getEmbeddingMetaData()));
}
代码示例来源:origin: org.apache.openjpa/openjpa-all
if (isMetaDataMode())
addClassAttributes(meta, access);
if (isMappingMode())
addClassMappingAttributes(meta);
if (isMappingMode())
serializeClassMappingContent(meta);
if (isMetaDataMode())
serializeIdClass(meta);
if (isMappingMode())
serializeInheritanceContent(meta);
if (isMappingMode()) {
List seqs = (_seqs == null) ? null : _seqs.get
(meta.getDescribedType().getName());
serializeQuery((QueryMetaData) queries.get(i));
if (isMappingMode())
serializeQueryMappings(meta);
if (isMappingMode()) {
FieldMetaData fmd;
FieldMetaData orig;
if (fields.size() > 0 && (isMetaDataMode() || isMappingMode())) {
startElement("attributes");
FieldMetaData orig;
代码示例来源:origin: org.apache.openjpa/openjpa-persistence
if (isMetaDataMode())
addClassAttributes(meta, access);
if (isMappingMode())
addClassMappingAttributes(meta);
if (isMappingMode())
serializeClassMappingContent(meta);
if (isMetaDataMode())
serializeIdClass(meta);
if (isMappingMode())
serializeInheritanceContent(meta);
if (isMappingMode()) {
List seqs = (_seqs == null) ? null : _seqs.get
(meta.getDescribedType().getName());
serializeQuery((QueryMetaData) queries.get(i));
if (isMappingMode())
serializeQueryMappings(meta);
if (isMappingMode()) {
FieldMetaData fmd;
FieldMetaData orig;
if (fields.size() > 0 && (isMetaDataMode() || isMappingMode())) {
startElement("attributes");
FieldMetaData orig;
代码示例来源:origin: org.apache.openjpa/com.springsource.org.apache.openjpa
break;
case TYPE_SEQ:
if (isMappingMode())
serializeSequence((SequenceMetaData) obj);
case TYPE_QUERY:
break;
case TYPE_CLASS_SEQS:
if (isMappingMode())
for (SequenceMetaData seq : ((ClassSeqs) obj)
.getSequences())
break;
default:
if (isMappingMode())
serializeSystemMappingElement(obj);
break;
代码示例来源:origin: org.apache.openjpa/openjpa-persistence
break;
case TYPE_SEQ:
if (isMappingMode())
serializeSequence((SequenceMetaData) obj);
break;
break;
case TYPE_CLASS_SEQS:
if (isMappingMode())
for (SequenceMetaData seq : ((ClassSeqs) obj)
.getSequences())
break;
default:
if (isMappingMode())
serializeSystemMappingElement(obj);
break;
代码示例来源:origin: org.apache.openejb.patch/openjpa-persistence
break;
case TYPE_SEQ:
if (isMappingMode())
serializeSequence((SequenceMetaData) obj);
break;
break;
case TYPE_CLASS_SEQS:
if (isMappingMode())
for (SequenceMetaData seq : ((ClassSeqs) obj)
.getSequences())
break;
default:
if (isMappingMode())
serializeSystemMappingElement(obj);
break;
本文整理了Java中org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer.isMappingMode()方法的一些代码示例,展
本文整理了Java中org.apache.openjpa.persistence.XMLPersistenceMetaDataParser.isMappingMode()方法的一些代码示例,展示了XM
我是一名优秀的程序员,十分优秀!