Package hydra.owl.syntax
Class InverseObjectProperties
- java.lang.Object
-
- hydra.owl.syntax.InverseObjectProperties
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<InverseObjectProperties>
public class InverseObjectProperties extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<InverseObjectProperties>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Annotation>annotationsstatic NameANNOTATIONSName of thehydra.owl.syntax.InverseObjectProperties.annotationsfield.ObjectPropertyExpressionproperty1static NamePROPERTY1Name of thehydra.owl.syntax.InverseObjectProperties.property1field.ObjectPropertyExpressionproperty2static NamePROPERTY2Name of thehydra.owl.syntax.InverseObjectProperties.property2field.static NameTYPE_Name of thehydra.owl.syntax.InverseObjectPropertiestype.
-
Constructor Summary
Constructors Constructor Description InverseObjectProperties(java.util.List<Annotation> annotations, ObjectPropertyExpression property1, ObjectPropertyExpression property2)Constructs an immutableInverseObjectProperties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(InverseObjectProperties other)booleanequals(java.lang.Object other)inthashCode()InverseObjectPropertieswithAnnotations(java.util.List<Annotation> annotations)Returns a copy of thisInverseObjectPropertieswithannotationsreplaced.InverseObjectPropertieswithProperty1(ObjectPropertyExpression property1)Returns a copy of thisInverseObjectPropertieswithproperty1replaced.InverseObjectPropertieswithProperty2(ObjectPropertyExpression property2)Returns a copy of thisInverseObjectPropertieswithproperty2replaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.owl.syntax.InverseObjectPropertiestype.
-
ANNOTATIONS
public static final Name ANNOTATIONS
Name of thehydra.owl.syntax.InverseObjectProperties.annotationsfield.
-
PROPERTY1
public static final Name PROPERTY1
Name of thehydra.owl.syntax.InverseObjectProperties.property1field.
-
PROPERTY2
public static final Name PROPERTY2
Name of thehydra.owl.syntax.InverseObjectProperties.property2field.
-
annotations
public final java.util.List<Annotation> annotations
-
property1
public final ObjectPropertyExpression property1
-
property2
public final ObjectPropertyExpression property2
-
-
Constructor Detail
-
InverseObjectProperties
public InverseObjectProperties(java.util.List<Annotation> annotations, ObjectPropertyExpression property1, ObjectPropertyExpression property2)
Constructs an immutableInverseObjectProperties.
-
-
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(InverseObjectProperties other)
- Specified by:
compareToin interfacejava.lang.Comparable<InverseObjectProperties>
-
withAnnotations
public InverseObjectProperties withAnnotations(java.util.List<Annotation> annotations)
Returns a copy of thisInverseObjectPropertieswithannotationsreplaced.
-
withProperty1
public InverseObjectProperties withProperty1(ObjectPropertyExpression property1)
Returns a copy of thisInverseObjectPropertieswithproperty1replaced.
-
withProperty2
public InverseObjectProperties withProperty2(ObjectPropertyExpression property2)
Returns a copy of thisInverseObjectPropertieswithproperty2replaced.
-
-