Package hydra.owl.syntax
Class AsymmetricObjectProperty
- java.lang.Object
-
- hydra.owl.syntax.AsymmetricObjectProperty
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AsymmetricObjectProperty>
public class AsymmetricObjectProperty extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<AsymmetricObjectProperty>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Annotation>annotationsstatic NameANNOTATIONSName of thehydra.owl.syntax.AsymmetricObjectProperty.annotationsfield.ObjectPropertyExpressionpropertystatic NamePROPERTYName of thehydra.owl.syntax.AsymmetricObjectProperty.propertyfield.static NameTYPE_Name of thehydra.owl.syntax.AsymmetricObjectPropertytype.
-
Constructor Summary
Constructors Constructor Description AsymmetricObjectProperty(java.util.List<Annotation> annotations, ObjectPropertyExpression property)Constructs an immutableAsymmetricObjectProperty.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(AsymmetricObjectProperty other)booleanequals(java.lang.Object other)inthashCode()AsymmetricObjectPropertywithAnnotations(java.util.List<Annotation> annotations)Returns a copy of thisAsymmetricObjectPropertywithannotationsreplaced.AsymmetricObjectPropertywithProperty(ObjectPropertyExpression property)Returns a copy of thisAsymmetricObjectPropertywithpropertyreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.owl.syntax.AsymmetricObjectPropertytype.
-
ANNOTATIONS
public static final Name ANNOTATIONS
Name of thehydra.owl.syntax.AsymmetricObjectProperty.annotationsfield.
-
PROPERTY
public static final Name PROPERTY
Name of thehydra.owl.syntax.AsymmetricObjectProperty.propertyfield.
-
annotations
public final java.util.List<Annotation> annotations
-
property
public final ObjectPropertyExpression property
-
-
Constructor Detail
-
AsymmetricObjectProperty
public AsymmetricObjectProperty(java.util.List<Annotation> annotations, ObjectPropertyExpression property)
Constructs an immutableAsymmetricObjectProperty.
-
-
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(AsymmetricObjectProperty other)
- Specified by:
compareToin interfacejava.lang.Comparable<AsymmetricObjectProperty>
-
withAnnotations
public AsymmetricObjectProperty withAnnotations(java.util.List<Annotation> annotations)
Returns a copy of thisAsymmetricObjectPropertywithannotationsreplaced.
-
withProperty
public AsymmetricObjectProperty withProperty(ObjectPropertyExpression property)
Returns a copy of thisAsymmetricObjectPropertywithpropertyreplaced.
-
-