当前位置: 首页>>代码示例>>Java>>正文


Java Closure.TRANSITIVE_CLOSURE属性代码示例

本文整理汇总了Java中gate.creole.ontology.OConstants.Closure.TRANSITIVE_CLOSURE属性的典型用法代码示例。如果您正苦于以下问题:Java Closure.TRANSITIVE_CLOSURE属性的具体用法?Java Closure.TRANSITIVE_CLOSURE怎么用?Java Closure.TRANSITIVE_CLOSURE使用的例子?那么, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在gate.creole.ontology.OConstants.Closure的用法示例。


在下文中一共展示了Closure.TRANSITIVE_CLOSURE属性的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getSubClasses

public Set<OClass> getSubClasses(byte closure) {
  //throw new UnsupportedOperationException("Method with these parameters not supported any more");
  gate.creole.ontology.OConstants.Closure theClosure =
      (closure == OConstants.DIRECT_CLOSURE) ?
    Closure.DIRECT_CLOSURE : Closure.TRANSITIVE_CLOSURE;
  return getSubClasses(theClosure);
}
 
开发者ID:Network-of-BioThings,项目名称:GettinCRAFTy,代码行数:7,代码来源:OClassImpl.java

示例2: isSuperClassOf

@Deprecated
public boolean isSuperClassOf(OClass aClass, byte closure) {
  //throw new UnsupportedOperationException("Method with these parameters not supported any more");
  Closure theClosure = Closure.TRANSITIVE_CLOSURE;
  if(closure == OConstants.DIRECT_CLOSURE) {
    theClosure = Closure.DIRECT_CLOSURE;
  }
  return ontologyService.isSuperClassOf(this.nodeId.toString(), aClass
          .getONodeID().toString(), theClosure);
}
 
开发者ID:Network-of-BioThings,项目名称:GettinCRAFTy,代码行数:10,代码来源:OClassImpl.java

示例3: isSubClassOf

@Deprecated
public boolean isSubClassOf(OClass aClass, byte closure) {
  //throw new UnsupportedOperationException("Method with these parameters not supported any more");
  Closure theClosure = Closure.TRANSITIVE_CLOSURE;
  if(closure == OConstants.DIRECT_CLOSURE) {
    theClosure = Closure.DIRECT_CLOSURE;
  }
  return ontologyService.isSubClassOf(aClass.getONodeID().toString(),
          this.nodeId.toString(), theClosure);
}
 
开发者ID:Network-of-BioThings,项目名称:GettinCRAFTy,代码行数:10,代码来源:OClassImpl.java

示例4: getOInstances

public Set<OInstance> getOInstances(OClass theClass, byte closure) {
    //throw new UnsupportedOperationException("Method not supported any more with these parameters");
    Closure theClosure = closure == OConstants.DIRECT_CLOSURE ?
            Closure.DIRECT_CLOSURE : Closure.TRANSITIVE_CLOSURE;
    return getOInstances(theClass, theClosure);
}
 
开发者ID:naditina,项目名称:gate-semano,代码行数:6,代码来源:OWLOntology.java

示例5: getOClasses

public Set<OClass> getOClasses(byte closure) {
    //throw new UnsupportedOperationException("Method with this parameter not longer supported");
    Closure theClosure = closure == OConstants.DIRECT_CLOSURE ?
            Closure.DIRECT_CLOSURE : Closure.TRANSITIVE_CLOSURE;
    return getOClasses(theClosure);
}
 
开发者ID:naditina,项目名称:gate-semano,代码行数:6,代码来源:OInstanceImpl.java

示例6: isInstanceOf

public boolean isInstanceOf(OClass aClass, byte closure) {
    //throw new UnsupportedOperationException("Method with these parameters not longer supported");
    Closure theClosure = closure == OConstants.DIRECT_CLOSURE ?
            Closure.DIRECT_CLOSURE : Closure.TRANSITIVE_CLOSURE;
    return isInstanceOf(aClass, theClosure);
}
 
开发者ID:naditina,项目名称:gate-semano,代码行数:6,代码来源:OInstanceImpl.java

示例7: getOInstances

public Set<OInstance> getOInstances(OClass theClass, byte closure) {
  //throw new UnsupportedOperationException("Method not supported any more with these parameters");
  Closure theClosure = closure == OConstants.DIRECT_CLOSURE ?
    Closure.DIRECT_CLOSURE : Closure.TRANSITIVE_CLOSURE;
  return getOInstances(theClass,theClosure);
}
 
开发者ID:Network-of-BioThings,项目名称:GettinCRAFTy,代码行数:6,代码来源:AbstractOntologyImpl.java

示例8: getOClasses

public Set<OClass> getOClasses(byte closure) {
  //throw new UnsupportedOperationException("Method with this parameter not longer supported");
  Closure theClosure = closure == OConstants.DIRECT_CLOSURE ?
    Closure.DIRECT_CLOSURE : Closure.TRANSITIVE_CLOSURE;
  return getOClasses(theClosure);
}
 
开发者ID:Network-of-BioThings,项目名称:GettinCRAFTy,代码行数:6,代码来源:OInstanceImpl.java

示例9: isInstanceOf

public boolean isInstanceOf(OClass aClass, byte closure) {
  //throw new UnsupportedOperationException("Method with these parameters not longer supported");
  Closure theClosure = closure == OConstants.DIRECT_CLOSURE ?
    Closure.DIRECT_CLOSURE : Closure.TRANSITIVE_CLOSURE;
  return isInstanceOf(aClass, theClosure);
}
 
开发者ID:Network-of-BioThings,项目名称:GettinCRAFTy,代码行数:6,代码来源:OInstanceImpl.java

示例10: getSuperClasses

public Set<OClass> getSuperClasses(byte closure) {
  //throw new UnsupportedOperationException("Method with these parameters not supported any more");
  Closure theClosure = closure == OConstants.DIRECT_CLOSURE ?
    Closure.DIRECT_CLOSURE : Closure.TRANSITIVE_CLOSURE;
  return getSuperClasses(theClosure);
}
 
开发者ID:Network-of-BioThings,项目名称:GettinCRAFTy,代码行数:6,代码来源:OClassImpl.java


注:本文中的gate.creole.ontology.OConstants.Closure.TRANSITIVE_CLOSURE属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。