org.eclipse.xsd.XSDSchema.getIdentityConstraintDefinitions()方法的使用及代码示例

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

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

XSDSchema.getIdentityConstraintDefinitions介绍

[英]Returns the value of the 'Identity Constraint Definitions' reference list. The list contents are of type org.eclipse.xsd.XSDIdentityConstraintDefinition.

This represents the identity constraint definitions infoset property. It is computed from the #getContents() and should typically not be set directly. Actually, there is no such property defined but this seems to be an oversight; it is needed to resolve a org.eclipse.xsd.XSDIdentityConstraintDefinition#getReferencedKey.
[中]返回“标识约束定义”引用列表的值。列表内容的类型为org。日食xsd。XSDIdentityConstraintDefinition。
这表示identity constraint definitionsinfoset属性。它是根据#getContents()计算的,通常不应直接设置。实际上,没有定义这样的属性,但这似乎是一种疏忽;需要解析一个组织。日食xsd。XSDIdentityConstraintDefinition#getReferencedKey。

代码示例

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

@Override
protected void adoptBy(XSDSchema xsdSchema)
{
 super.adoptBy(xsdSchema);
 if (!xsdSchema.getIdentityConstraintDefinitions().contains(this))
 {
  XSDNamedComponentImpl.addToSortedList(xsdSchema.getIdentityConstraintDefinitions(), this);
 }
}

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

@Override
protected void adoptBy(XSDSchema xsdSchema)
{
 super.adoptBy(xsdSchema);
 if (!xsdSchema.getIdentityConstraintDefinitions().contains(this))
 {
  XSDNamedComponentImpl.addToSortedList(xsdSchema.getIdentityConstraintDefinitions(), this);
 }
}

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

@Override
protected void orphanBy(XSDSchema xsdSchema)
{
 xsdSchema.getIdentityConstraintDefinitions().remove(this);
 super.orphanBy(xsdSchema);
}

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

@Override
protected void orphanBy(XSDSchema xsdSchema)
{
 xsdSchema.getIdentityConstraintDefinitions().remove(this);
 super.orphanBy(xsdSchema);
}

代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui

visitElementDeclaration(element);
for (Iterator iterator = schema.getIdentityConstraintDefinitions().iterator(); iterator.hasNext();)

代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui

visitElementDeclaration(element);
for (Iterator iterator = schema.getIdentityConstraintDefinitions().iterator(); iterator.hasNext();)

代码示例来源:origin: org.eclipse/org.eclipse.wst.xsd.ui

objects = schema.getIdentityConstraintDefinitions();

代码示例来源:origin: org.eclipse.emf/org.eclipse.xsd.edit

(XSDEditPlugin.INSTANCE.getString("_UI_IdentityConstraints_label"), 
   XSDEditPlugin.INSTANCE.getImage("full/obj16/XSDIdentityConstraintDefinitionKey"),
   xsdSchema.getIdentityConstraintDefinitions()));
children.add
 (new ChildItemProvider

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

public void propogateComponents(XSDSchema otherXSDSchema)
{
 otherXSDSchema.getAnnotations().addAll(getAnnotations());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getAttributeDeclarations(), getAttributeDeclarations());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getAttributeGroupDefinitions(), getAttributeGroupDefinitions());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getElementDeclarations(), getElementDeclarations());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getModelGroupDefinitions(), getModelGroupDefinitions());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getTypeDefinitions(), getTypeDefinitions());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getNotationDeclarations(), getNotationDeclarations());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getIdentityConstraintDefinitions(), getIdentityConstraintDefinitions());
}

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

public void propogateComponents(XSDSchema otherXSDSchema)
{
 otherXSDSchema.getAnnotations().addAll(getAnnotations());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getAttributeDeclarations(), getAttributeDeclarations());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getAttributeGroupDefinitions(), getAttributeGroupDefinitions());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getElementDeclarations(), getElementDeclarations());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getModelGroupDefinitions(), getModelGroupDefinitions());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getTypeDefinitions(), getTypeDefinitions());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getNotationDeclarations(), getNotationDeclarations());
 XSDNamedComponentImpl.mergeToSortedList
  (otherXSDSchema.getIdentityConstraintDefinitions(), getIdentityConstraintDefinitions());
}

相关文章

微信公众号

最新文章

更多