Package hydra.owl.syntax
Class SubDataPropertyOf
- java.lang.Object
-
- hydra.owl.syntax.SubDataPropertyOf
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SubDataPropertyOf>
public class SubDataPropertyOf extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<SubDataPropertyOf>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Annotation>annotationsstatic NameANNOTATIONSName of thehydra.owl.syntax.SubDataPropertyOf.annotationsfield.static NameSUB_PROPERTYName of thehydra.owl.syntax.SubDataPropertyOf.subPropertyfield.DataPropertyExpressionsubPropertystatic NameSUPER_PROPERTYName of thehydra.owl.syntax.SubDataPropertyOf.superPropertyfield.DataPropertyExpressionsuperPropertystatic NameTYPE_Name of thehydra.owl.syntax.SubDataPropertyOftype.
-
Constructor Summary
Constructors Constructor Description SubDataPropertyOf(java.util.List<Annotation> annotations, DataPropertyExpression subProperty, DataPropertyExpression superProperty)Constructs an immutableSubDataPropertyOf.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(SubDataPropertyOf other)booleanequals(java.lang.Object other)inthashCode()SubDataPropertyOfwithAnnotations(java.util.List<Annotation> annotations)Returns a copy of thisSubDataPropertyOfwithannotationsreplaced.SubDataPropertyOfwithSubProperty(DataPropertyExpression subProperty)Returns a copy of thisSubDataPropertyOfwithsubPropertyreplaced.SubDataPropertyOfwithSuperProperty(DataPropertyExpression superProperty)Returns a copy of thisSubDataPropertyOfwithsuperPropertyreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.owl.syntax.SubDataPropertyOftype.
-
ANNOTATIONS
public static final Name ANNOTATIONS
Name of thehydra.owl.syntax.SubDataPropertyOf.annotationsfield.
-
SUB_PROPERTY
public static final Name SUB_PROPERTY
Name of thehydra.owl.syntax.SubDataPropertyOf.subPropertyfield.
-
SUPER_PROPERTY
public static final Name SUPER_PROPERTY
Name of thehydra.owl.syntax.SubDataPropertyOf.superPropertyfield.
-
annotations
public final java.util.List<Annotation> annotations
-
subProperty
public final DataPropertyExpression subProperty
-
superProperty
public final DataPropertyExpression superProperty
-
-
Constructor Detail
-
SubDataPropertyOf
public SubDataPropertyOf(java.util.List<Annotation> annotations, DataPropertyExpression subProperty, DataPropertyExpression superProperty)
Constructs an immutableSubDataPropertyOf.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(SubDataPropertyOf other)
- Specified by:
compareToin interfacejava.lang.Comparable<SubDataPropertyOf>
-
withAnnotations
public SubDataPropertyOf withAnnotations(java.util.List<Annotation> annotations)
Returns a copy of thisSubDataPropertyOfwithannotationsreplaced.
-
withSubProperty
public SubDataPropertyOf withSubProperty(DataPropertyExpression subProperty)
Returns a copy of thisSubDataPropertyOfwithsubPropertyreplaced.
-
withSuperProperty
public SubDataPropertyOf withSuperProperty(DataPropertyExpression superProperty)
Returns a copy of thisSubDataPropertyOfwithsuperPropertyreplaced.
-
-