Package hydra.owl.syntax
Class SubObjectPropertyOf
- java.lang.Object
-
- hydra.owl.syntax.SubObjectPropertyOf
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SubObjectPropertyOf>
public class SubObjectPropertyOf extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<SubObjectPropertyOf>
An OWL axiom asserting an object-property subsumption relationship- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubObjectPropertyOf.BuilderA fluent builder forSubObjectPropertyOf.
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Annotation>annotationsstatic NameANNOTATIONSName of thehydra.owl.syntax.SubObjectPropertyOf.annotationsfield.static NameSUB_PROPERTYName of thehydra.owl.syntax.SubObjectPropertyOf.subPropertyfield.java.util.List<ObjectPropertyExpression>subPropertystatic NameSUPER_PROPERTYName of thehydra.owl.syntax.SubObjectPropertyOf.superPropertyfield.ObjectPropertyExpressionsuperPropertystatic NameTYPE_Name of thehydra.owl.syntax.SubObjectPropertyOftype.
-
Constructor Summary
Constructors Constructor Description SubObjectPropertyOf(java.util.List<Annotation> annotations, java.util.List<ObjectPropertyExpression> subProperty, ObjectPropertyExpression superProperty)Constructs an immutableSubObjectPropertyOf.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SubObjectPropertyOf.Builderbuilder()Creates a new fluent builder forSubObjectPropertyOf.intcompareTo(SubObjectPropertyOf other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()SubObjectPropertyOfwithAnnotations(java.util.List<Annotation> annotations)Returns a copy of thisSubObjectPropertyOfwithannotationsreplaced.SubObjectPropertyOfwithSubProperty(java.util.List<ObjectPropertyExpression> subProperty)Returns a copy of thisSubObjectPropertyOfwithsubPropertyreplaced.SubObjectPropertyOfwithSuperProperty(ObjectPropertyExpression superProperty)Returns a copy of thisSubObjectPropertyOfwithsuperPropertyreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.owl.syntax.SubObjectPropertyOftype.
-
ANNOTATIONS
public static final Name ANNOTATIONS
Name of thehydra.owl.syntax.SubObjectPropertyOf.annotationsfield.
-
SUB_PROPERTY
public static final Name SUB_PROPERTY
Name of thehydra.owl.syntax.SubObjectPropertyOf.subPropertyfield.
-
SUPER_PROPERTY
public static final Name SUPER_PROPERTY
Name of thehydra.owl.syntax.SubObjectPropertyOf.superPropertyfield.
-
annotations
public final java.util.List<Annotation> annotations
-
subProperty
public final java.util.List<ObjectPropertyExpression> subProperty
-
superProperty
public final ObjectPropertyExpression superProperty
-
-
Constructor Detail
-
SubObjectPropertyOf
public SubObjectPropertyOf(java.util.List<Annotation> annotations, java.util.List<ObjectPropertyExpression> subProperty, ObjectPropertyExpression superProperty)
Constructs an immutableSubObjectPropertyOf.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(SubObjectPropertyOf other)
- Specified by:
compareToin interfacejava.lang.Comparable<SubObjectPropertyOf>
-
withAnnotations
public SubObjectPropertyOf withAnnotations(java.util.List<Annotation> annotations)
Returns a copy of thisSubObjectPropertyOfwithannotationsreplaced.
-
withSubProperty
public SubObjectPropertyOf withSubProperty(java.util.List<ObjectPropertyExpression> subProperty)
Returns a copy of thisSubObjectPropertyOfwithsubPropertyreplaced.
-
withSuperProperty
public SubObjectPropertyOf withSuperProperty(ObjectPropertyExpression superProperty)
Returns a copy of thisSubObjectPropertyOfwithsuperPropertyreplaced.
-
builder
public static SubObjectPropertyOf.Builder builder()
Creates a new fluent builder forSubObjectPropertyOf.
-
-