本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}