本文整理汇总了Java中org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom类的典型用法代码示例。如果您正苦于以下问题:Java OWLAnnotationPropertyDomainAxiom类的具体用法?Java OWLAnnotationPropertyDomainAxiom怎么用?Java OWLAnnotationPropertyDomainAxiom使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
OWLAnnotationPropertyDomainAxiom类属于org.semanticweb.owlapi.model包,在下文中一共展示了OWLAnnotationPropertyDomainAxiom类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: equals
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的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 OWLAnnotationPropertyDomainAxiom)) {
return false;
}
OWLAnnotationPropertyDomainAxiom other = (OWLAnnotationPropertyDomainAxiom) obj;
return property.equals(other.getProperty())
&& domain.equals(other.getDomain());
}
示例2: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
@Override
public T visit(OWLAnnotationPropertyDomainAxiom axiom) {
throw new IllegalArgumentException(
OWLAnnotationPropertyDomainAxiom.class.getSimpleName()
+ " cannot be converted to "
+ getTargetClass().getSimpleName());
}
示例3: getAxiomWithoutAnnotations
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
@Override
public OWLAnnotationPropertyDomainAxiom getAxiomWithoutAnnotations() {
if (!isAnnotated()) {
return this;
}
return new OWLAnnotationPropertyDomainAxiomImpl(getProperty(),
getDomain(), NO_ANNOTATIONS);
}
示例4: compareObjectOfSameType
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
@Override
protected int compareObjectOfSameType(OWLObject object) {
OWLAnnotationPropertyDomainAxiom other = (OWLAnnotationPropertyDomainAxiom) object;
int diff = property.compareTo(other.getProperty());
if (diff != 0) {
return diff;
}
return domain.compareTo(other.getDomain());
}
示例5: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
public void visit(OWLAnnotationPropertyDomainAxiom axiom) {
notSupported(axiom);
}
示例6: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
public void visit(OWLAnnotationPropertyDomainAxiom axiom) {
}
示例7: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
public Boolean visit(OWLAnnotationPropertyDomainAxiom axiom) {
return Boolean.TRUE;
}
示例8: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
@Override
public OWLAnnotationPropertyDomainAxiom visit(
ElkAnnotationPropertyDomainAxiom axiom) {
return owlFactory_.getOWLAnnotationPropertyDomainAxiom(
convert(axiom.getProperty()), convert(axiom.getDomain()));
}
示例9: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
@Override
public ElkAnnotationAxiom visit(OWLAnnotationPropertyDomainAxiom owlAnnotationPropertyDomain) {
return new ElkAnnotationPropertyDomainAxiomWrap<OWLAnnotationPropertyDomainAxiom>(owlAnnotationPropertyDomain);
}
示例10: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
@Override
public ElkAxiom visit(
OWLAnnotationPropertyDomainAxiom owlAnnotationPropertyDomain) {
return CONVERTER.convert(owlAnnotationPropertyDomain);
}
示例11: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
@Override
public void visit(OWLAnnotationPropertyDomainAxiom axiom) {
defaultVisit(axiom);
}
示例12: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
@Override
public OWLAxiom visit(OWLAnnotationPropertyDomainAxiom axiom) {
return factory.getOWLAnnotationPropertyDomainAxiom(axiom.getProperty(), axiom.getDomain(), annotations);
}
示例13: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
@Override
public void visit(OWLAnnotationPropertyDomainAxiom axiom) {
}
示例14: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
public void visit(OWLAnnotationPropertyDomainAxiom arg0) {
throw new NotImplementedException();
}
示例15: visit
import org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom; //导入依赖的package包/类
@Override
public Boolean visit(OWLAnnotationPropertyDomainAxiom axiom) {
return true;
}