org.eclipse.persistence.internal.oxm.QNameInheritancePolicy.setClassIndicatorField()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(3.1k)|赞(0)|评价(0)|浏览(99)

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

QNameInheritancePolicy.setClassIndicatorField介绍

[英]PUBLIC: To set the class indicator field name. This is the name of the field in the table that stores what type of object this is.
[中]PUBLIC:设置类指示符字段名。这是表中存储对象类型的字段的名称。

代码示例

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

/**
 * PUBLIC:
 * To set the class indicator field name.
 * This is the name of the field in the table that stores what type of object this is.
 */
public void setClassIndicatorFieldName(String fieldName) {
  if (fieldName == null) {
    setClassIndicatorField(null);
  } else {
    setClassIndicatorField(new XMLField(fieldName));
  }
}

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

/**
 * PUBLIC:
 * To set the class indicator field name.
 * This is the name of the field in the table that stores what type of object this is.
 */
public void setClassIndicatorFieldName(String fieldName) {
  if (fieldName == null) {
    setClassIndicatorField(null);
  } else {
    setClassIndicatorField(new XMLField(fieldName));
  }
}

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

/**
   * PUBLIC:
   * To set the class indicator field name.
   * This is the name of the field in the table that stores what type of object this is.
   */
  public void setClassIndicatorFieldName(String fieldName) {
    if (fieldName == null) {
      setClassIndicatorField(null);
    } else {
      setClassIndicatorField(new XMLField(fieldName));
    }
  }
}

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

} catch (ClassCastException ex) {
  classIndicatorXMLField = new XMLField(getClassIndicatorField().getName());            
  setClassIndicatorField(classIndicatorXMLField);

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

} catch (ClassCastException ex) {
  classIndicatorXMLField = new XMLField(getClassIndicatorField().getName());
  setClassIndicatorField(classIndicatorXMLField);

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

} catch (ClassCastException ex) {
  classIndicatorXMLField = new XMLField(getClassIndicatorField().getName());            
  setClassIndicatorField(classIndicatorXMLField);

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

getDescriptor().setAdditionalTablePrimaryKeyFields(Helper.concatenateMaps(getParentDescriptor().getAdditionalTablePrimaryKeyFields(), getDescriptor().getAdditionalTablePrimaryKeyFields()));
setClassIndicatorField(getParentDescriptor().getInheritancePolicy().getClassIndicatorField());
  setClassIndicatorField(getDescriptor().buildField(getClassIndicatorField()));

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

getDescriptor().setAdditionalTablePrimaryKeyFields(Helper.concatenateMaps(getParentDescriptor().getAdditionalTablePrimaryKeyFields(), getDescriptor().getAdditionalTablePrimaryKeyFields()));
setClassIndicatorField(getParentDescriptor().getInheritancePolicy().getClassIndicatorField());
  setClassIndicatorField(getDescriptor().buildField(getClassIndicatorField()));

相关文章