本文整理了Java中org.eclipse.persistence.internal.oxm.QNameInheritancePolicy.setClassIndicatorField
方法的一些代码示例,展示了QNameInheritancePolicy.setClassIndicatorField
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。QNameInheritancePolicy.setClassIndicatorField
方法的具体详情如下:
包路径:org.eclipse.persistence.internal.oxm.QNameInheritancePolicy
类名称: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()));
内容来源于网络,如有侵权,请联系作者删除!