org.eclipse.persistence.oxm.mappings.XMLCompositeCollectionMapping.setGetMethodName()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(12.5k)|赞(0)|评价(0)|浏览(112)

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

XMLCompositeCollectionMapping.setGetMethodName介绍

暂无

代码示例

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getAttributeOverrideMapping() {
  XMLCompositeCollectionMapping attributeOverridesMapping = new XMLCompositeCollectionMapping();
  attributeOverridesMapping.setAttributeName("m_attributeOverrides");
  attributeOverridesMapping.setGetMethodName("getAttributeOverrides");
  attributeOverridesMapping.setSetMethodName("setAttributeOverrides");
  attributeOverridesMapping.setReferenceClass(AttributeOverrideMetadata.class);
  attributeOverridesMapping.setXPath("orm:attribute-override");
  return attributeOverridesMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getConstructorColumnMapping() {
  XMLCompositeCollectionMapping mapping = new XMLCompositeCollectionMapping();
  mapping.setAttributeName("m_columnResults");
  mapping.setGetMethodName("getColumnResults");
  mapping.setSetMethodName("setColumnResults");
  mapping.setReferenceClass(ColumnResultMetadata.class);
  mapping.setXPath("orm:column");
  return mapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getHintMapping() {
  XMLCompositeCollectionMapping hintMapping = new XMLCompositeCollectionMapping();
  hintMapping.setAttributeName("m_hints");
  hintMapping.setGetMethodName("getHints");
  hintMapping.setSetMethodName("setHints");
  hintMapping.setReferenceClass(QueryHintMetadata.class);
  hintMapping.setXPath("orm:hint");
  return hintMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getInverseJoinColumnMapping() {
  XMLCompositeCollectionMapping joinColumnMapping = new XMLCompositeCollectionMapping();
  joinColumnMapping.setAttributeName("m_inverseJoinColumns");
  joinColumnMapping.setGetMethodName("getInverseJoinColumns");
  joinColumnMapping.setSetMethodName("setInverseJoinColumns");
  joinColumnMapping.setReferenceClass(JoinColumnMetadata.class);
  joinColumnMapping.setXPath("orm:inverse-join-column");
  return joinColumnMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getNamedNativeQueryMapping() {
  XMLCompositeCollectionMapping namedNativeQueryMapping = new XMLCompositeCollectionMapping();
  namedNativeQueryMapping.setAttributeName("m_namedNativeQueries");
  namedNativeQueryMapping.setGetMethodName("getNamedNativeQueries");
  namedNativeQueryMapping.setSetMethodName("setNamedNativeQueries");
  namedNativeQueryMapping.setReferenceClass(NamedNativeQueryMetadata.class);
  namedNativeQueryMapping.setXPath("orm:named-native-query");
  return namedNativeQueryMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getNamedPLSQLStoredProcedureQueryMapping() {
  XMLCompositeCollectionMapping namedStoredFunctionQueryMapping = new XMLCompositeCollectionMapping();
  namedStoredFunctionQueryMapping.setAttributeName("m_namedPLSQLStoredProcedureQueries");
  namedStoredFunctionQueryMapping.setGetMethodName("getNamedPLSQLStoredProcedureQueries");
  namedStoredFunctionQueryMapping.setSetMethodName("setNamedPLSQLStoredProcedureQueries");
  namedStoredFunctionQueryMapping.setReferenceClass(NamedPLSQLStoredProcedureQueryMetadata.class);
  namedStoredFunctionQueryMapping.setXPath("orm:named-plsql-stored-procedure-query");
  return namedStoredFunctionQueryMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getObjectTypeConverterMapping() {
  XMLCompositeCollectionMapping objectTypeConvertersMapping = new XMLCompositeCollectionMapping();
  objectTypeConvertersMapping.setAttributeName("m_objectTypeConverters");
  objectTypeConvertersMapping.setGetMethodName("getObjectTypeConverters");
  objectTypeConvertersMapping.setSetMethodName("setObjectTypeConverters");
  objectTypeConvertersMapping.setReferenceClass(ObjectTypeConverterMetadata.class);
  objectTypeConvertersMapping.setXPath("orm:object-type-converter");
  return objectTypeConvertersMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getOracleArrayTypeMapping() {
  XMLCompositeCollectionMapping mapping = new XMLCompositeCollectionMapping();
  mapping.setAttributeName("m_oracleArrayTypes");
  mapping.setGetMethodName("getOracleArrayTypes");
  mapping.setSetMethodName("setOracleArrayTypes");
  mapping.setReferenceClass(OracleArrayTypeMetadata.class);
  mapping.setXPath("orm:oracle-array");
  return mapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getPLSQLRecordMapping() {
  XMLCompositeCollectionMapping mapping = new XMLCompositeCollectionMapping();
  mapping.setAttributeName("m_plsqlRecords");
  mapping.setGetMethodName("getPLSQLRecords");
  mapping.setSetMethodName("setPLSQLRecords");
  mapping.setReferenceClass(PLSQLRecordMetadata.class);
  mapping.setXPath("orm:plsql-record");
  return mapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getSubgraphMapping() {
  XMLCompositeCollectionMapping mapping = new XMLCompositeCollectionMapping();
  mapping.setAttributeName("m_subgraphs");
  mapping.setGetMethodName("getSubgraphs");
  mapping.setSetMethodName("setSubgraphs");
  mapping.setReferenceClass(NamedSubgraphMetadata.class);
  mapping.setXPath("orm:subgraph");
  return mapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getSerializedConverterMapping() {
  XMLCompositeCollectionMapping typeConvertersMapping = new XMLCompositeCollectionMapping();
  typeConvertersMapping.setAttributeName("m_serializedConverters");
  typeConvertersMapping.setGetMethodName("getSerializedConverters");
  typeConvertersMapping.setSetMethodName("setSerializedConverters");
  typeConvertersMapping.setReferenceClass(SerializedConverterMetadata.class);
  typeConvertersMapping.setXPath("orm:serialized-converter");
  return typeConvertersMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getConverterMapping() {
  XMLCompositeCollectionMapping convertersMapping = new XMLCompositeCollectionMapping();
  convertersMapping.setAttributeName("m_converters");
  convertersMapping.setGetMethodName("getConverters");
  convertersMapping.setSetMethodName("setConverters");
  convertersMapping.setReferenceClass(ConverterMetadata.class);
  convertersMapping.setXPath("orm:converter");
  return convertersMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getDiscriminatorClassMapping() {
  XMLCompositeCollectionMapping discriminatorClassMapping = new XMLCompositeCollectionMapping();
  discriminatorClassMapping.setAttributeName("m_discriminatorClasses");
  discriminatorClassMapping.setGetMethodName("getDiscriminatorClasses");
  discriminatorClassMapping.setSetMethodName("setDiscriminatorClasses");
  discriminatorClassMapping.setReferenceClass(DiscriminatorClassMetadata.class);
  discriminatorClassMapping.setXPath("orm:discriminator-class");
  return discriminatorClassMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getEntityListenersMapping() {
  XMLCompositeCollectionMapping entityListenersMapping = new XMLCompositeCollectionMapping();
  entityListenersMapping.setAttributeName("m_entityListeners");
  entityListenersMapping.setGetMethodName("getEntityListeners");
  entityListenersMapping.setSetMethodName("setEntityListeners");
  entityListenersMapping.setReferenceClass(EntityListenerMetadata.class);
  entityListenersMapping.setXPath("orm:entity-listeners/orm:entity-listener");
  return entityListenersMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getMapKeyAssociationOverrideMapping() {
  XMLCompositeCollectionMapping associationOverridesMapping = new XMLCompositeCollectionMapping();
  associationOverridesMapping.setAttributeName("m_mapKeyAssociationOverrides");
  associationOverridesMapping.setGetMethodName("getMapKeyAssociationOverrides");
  associationOverridesMapping.setSetMethodName("setMapKeyAssociationOverrides");
  associationOverridesMapping.setReferenceClass(AssociationOverrideMetadata.class);
  associationOverridesMapping.setXPath("orm:map-key-association-override");
  return associationOverridesMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getMixedConverterMapping() {
  XMLCompositeCollectionMapping convertersMapping = new XMLCompositeCollectionMapping();
  convertersMapping.setAttributeName("m_mixedConverters");
  convertersMapping.setGetMethodName("getMixedConverters");
  convertersMapping.setSetMethodName("setMixedConverters");
  convertersMapping.setReferenceClass(MixedConverterMetadata.class);
  convertersMapping.setXPath("orm:converter");
  return convertersMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getNamedStoredProcedureQueryMapping() {
  XMLCompositeCollectionMapping namedStoredProcedureQueryMapping = new XMLCompositeCollectionMapping();
  namedStoredProcedureQueryMapping.setAttributeName("m_namedStoredProcedureQueries");
  namedStoredProcedureQueryMapping.setGetMethodName("getNamedStoredProcedureQueries");
  namedStoredProcedureQueryMapping.setSetMethodName("setNamedStoredProcedureQueries");
  namedStoredProcedureQueryMapping.setReferenceClass(NamedStoredProcedureQueryMetadata.class);
  namedStoredProcedureQueryMapping.setXPath("orm:named-stored-procedure-query");
  return namedStoredProcedureQueryMapping;
}

代码示例来源:origin: com.haulmont.thirdparty/eclipselink

/**
 * INTERNAL:
 */
protected XMLCompositeCollectionMapping getParametersMapping() {
  XMLCompositeCollectionMapping parametersMapping = new XMLCompositeCollectionMapping();
  parametersMapping.setAttributeName("m_parameters");
  parametersMapping.setGetMethodName("getParameters");
  parametersMapping.setSetMethodName("setParameters");
  parametersMapping.setReferenceClass(StoredProcedureParameterMetadata.class);
  parametersMapping.setXPath("orm:parameter");
  return parametersMapping;
}

代码示例来源:origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

protected ClassDescriptor buildNamespaceResolverDescriptor() {
  XMLDescriptor descriptor = new XMLDescriptor();
  descriptor.setJavaClass(NamespaceResolver.class);
  XMLCompositeCollectionMapping namespaceMapping = new XMLCompositeCollectionMapping();
  namespaceMapping.setXPath(getPrimaryNamespaceXPath() + "namespaces/" + getPrimaryNamespaceXPath() + "namespace");
  namespaceMapping.setAttributeName("namespaces");
  namespaceMapping.setGetMethodName("getNamespaces");
  namespaceMapping.setSetMethodName("setNamespaces");
  namespaceMapping.setReferenceClass(Namespace.class);
  descriptor.addMapping(namespaceMapping);
  return descriptor;
}

代码示例来源:origin: org.eclipse.persistence/org.eclipse.persistence.core

protected ClassDescriptor buildNamespaceResolverDescriptor() {
  XMLDescriptor descriptor = new XMLDescriptor();
  descriptor.setJavaClass(NamespaceResolver.class);
  XMLCompositeCollectionMapping namespaceMapping = new XMLCompositeCollectionMapping();
  namespaceMapping.setXPath(getPrimaryNamespaceXPath() + "namespaces/" + getPrimaryNamespaceXPath() + "namespace");
  namespaceMapping.setAttributeName("namespaces");
  namespaceMapping.setGetMethodName("getNamespaces");
  namespaceMapping.setSetMethodName("setNamespaces");
  namespaceMapping.setReferenceClass(Namespace.class);
  descriptor.addMapping(namespaceMapping);
  return descriptor;
}

相关文章

XMLCompositeCollectionMapping类方法