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


Java OWLAnnotationPropertyRangeAxiom类代码示例

本文整理汇总了Java中org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom的典型用法代码示例。如果您正苦于以下问题:Java OWLAnnotationPropertyRangeAxiom类的具体用法?Java OWLAnnotationPropertyRangeAxiom怎么用?Java OWLAnnotationPropertyRangeAxiom使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


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

示例1: equals

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
public boolean equals(Object obj) {
    if (this == obj) {
        return true;
    }
    if (!super.equals(obj)) {
        return false;
    }
    // superclass is responsible for null, identity, owlaxiom type and
    // annotations
    if (!(obj instanceof OWLAnnotationPropertyRangeAxiom)) {
        return false;
    }
    OWLAnnotationPropertyRangeAxiom other = (OWLAnnotationPropertyRangeAxiom) obj;
    return property.equals(other.getProperty())
            && range.equals(other.getRange());
}
 
开发者ID:matthewhorridge,项目名称:owlapi-gwt,代码行数:18,代码来源:OWLAnnotationPropertyRangeAxiomImpl.java

示例2: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
public T visit(OWLAnnotationPropertyRangeAxiom axiom) {
	throw new IllegalArgumentException(
			OWLAnnotationPropertyRangeAxiom.class.getSimpleName()
					+ " cannot be converted to "
					+ getTargetClass().getSimpleName());
}
 
开发者ID:liveontologies,项目名称:elk-reasoner,代码行数:8,代码来源:AbstractOwlAxiomConverterVisitor.java

示例3: getAxiomWithoutAnnotations

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
public OWLAnnotationPropertyRangeAxiom getAxiomWithoutAnnotations() {
    if (!isAnnotated()) {
        return this;
    }
    return new OWLAnnotationPropertyRangeAxiomImpl(getProperty(),
            getRange(), NO_ANNOTATIONS);
}
 
开发者ID:matthewhorridge,项目名称:owlapi-gwt,代码行数:9,代码来源:OWLAnnotationPropertyRangeAxiomImpl.java

示例4: compareObjectOfSameType

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
protected int compareObjectOfSameType(OWLObject object) {
    OWLAnnotationPropertyRangeAxiom other = (OWLAnnotationPropertyRangeAxiom) object;
    int diff = property.compareTo(other.getProperty());
    if (diff != 0) {
        return diff;
    }
    return range.compareTo(other.getRange());
}
 
开发者ID:matthewhorridge,项目名称:owlapi-gwt,代码行数:10,代码来源:OWLAnnotationPropertyRangeAxiomImpl.java

示例5: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
public void visit(OWLAnnotationPropertyRangeAxiom axiom) {
    notSupported(axiom);
}
 
开发者ID:kbss-cvut,项目名称:jopa,代码行数:4,代码来源:IntegrityConstraintParser.java

示例6: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
public void visit(OWLAnnotationPropertyRangeAxiom axiom) {
}
 
开发者ID:robertoyus,项目名称:HermiT-android,代码行数:3,代码来源:OWLNormalization.java

示例7: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
public Boolean visit(OWLAnnotationPropertyRangeAxiom axiom) {
    return Boolean.TRUE;
}
 
开发者ID:robertoyus,项目名称:HermiT-android,代码行数:4,代码来源:EntailmentChecker.java

示例8: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
public OWLAnnotationPropertyRangeAxiom visit(
		ElkAnnotationPropertyRangeAxiom axiom) {
	return owlFactory_.getOWLAnnotationPropertyRangeAxiom(
			convert(axiom.getProperty()), convert(axiom.getRange()));
}
 
开发者ID:liveontologies,项目名称:elk-reasoner,代码行数:7,代码来源:AbstractElkObjectConverter.java

示例9: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
public ElkAnnotationAxiom visit(OWLAnnotationPropertyRangeAxiom owlAnnotationPropertyRange) {
	return new ElkAnnotationPropertyRangeAxiomWrap<OWLAnnotationPropertyRangeAxiom>(owlAnnotationPropertyRange);
}
 
开发者ID:liveontologies,项目名称:elk-reasoner,代码行数:5,代码来源:OwlAnnotationAxiomConverterVisitor.java

示例10: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
public ElkAxiom visit(
		OWLAnnotationPropertyRangeAxiom owlAnnotationPropertyRange) {
	return CONVERTER.convert(owlAnnotationPropertyRange);
}
 
开发者ID:liveontologies,项目名称:elk-reasoner,代码行数:6,代码来源:OwlAxiomConverterVisitor.java

示例11: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
public void visit(OWLAnnotationPropertyRangeAxiom axiom) {
	defaultVisit(axiom);
}
 
开发者ID:liveontologies,项目名称:elk-reasoner,代码行数:5,代码来源:FailingOwlAxiomVisitor.java

示例12: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
public OWLAxiom visit(OWLAnnotationPropertyRangeAxiom axiom) {
	return factory.getOWLAnnotationPropertyRangeAxiom(axiom.getProperty(), axiom.getRange(), annotations);
}
 
开发者ID:owlcollab,项目名称:owltools,代码行数:5,代码来源:AxiomAnnotationTools.java

示例13: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
public void visit(OWLAnnotationPropertyRangeAxiom axiom) {
}
 
开发者ID:owlcollab,项目名称:owltools,代码行数:4,代码来源:CardinalityContraintsTools.java

示例14: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
public void visit(OWLAnnotationPropertyRangeAxiom arg0) {
	throw new NotImplementedException();
}
 
开发者ID:wolpertinger-reasoner,项目名称:Wolpertinger,代码行数:4,代码来源:DebugTranslation.java

示例15: visit

import org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom; //导入依赖的package包/类
@Override
public Boolean visit(OWLAnnotationPropertyRangeAxiom axiom) {
	return true;
}
 
开发者ID:julianmendez,项目名称:born,代码行数:5,代码来源:CycleDetector.java


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