Package hydra.owl.syntax
Class DisjointDataProperties
- java.lang.Object
-
- hydra.owl.syntax.DisjointDataProperties
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DisjointDataProperties>
public class DisjointDataProperties extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<DisjointDataProperties>
An OWL axiom asserting that two or more data properties are pairwise disjoint- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDisjointDataProperties.BuilderA fluent builder forDisjointDataProperties.
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Annotation>annotationsstatic NameANNOTATIONSName of thehydra.owl.syntax.DisjointDataProperties.annotationsfield.java.util.List<DataPropertyExpression>propertiesstatic NamePROPERTIESName of thehydra.owl.syntax.DisjointDataProperties.propertiesfield.static NameTYPE_Name of thehydra.owl.syntax.DisjointDataPropertiestype.
-
Constructor Summary
Constructors Constructor Description DisjointDataProperties(java.util.List<Annotation> annotations, java.util.List<DataPropertyExpression> properties)Constructs an immutableDisjointDataProperties.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DisjointDataProperties.Builderbuilder()Creates a new fluent builder forDisjointDataProperties.intcompareTo(DisjointDataProperties other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()DisjointDataPropertieswithAnnotations(java.util.List<Annotation> annotations)Returns a copy of thisDisjointDataPropertieswithannotationsreplaced.DisjointDataPropertieswithProperties(java.util.List<DataPropertyExpression> properties)Returns a copy of thisDisjointDataPropertieswithpropertiesreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.owl.syntax.DisjointDataPropertiestype.
-
ANNOTATIONS
public static final Name ANNOTATIONS
Name of thehydra.owl.syntax.DisjointDataProperties.annotationsfield.
-
PROPERTIES
public static final Name PROPERTIES
Name of thehydra.owl.syntax.DisjointDataProperties.propertiesfield.
-
annotations
public final java.util.List<Annotation> annotations
-
properties
public final java.util.List<DataPropertyExpression> properties
-
-
Constructor Detail
-
DisjointDataProperties
public DisjointDataProperties(java.util.List<Annotation> annotations, java.util.List<DataPropertyExpression> properties)
Constructs an immutableDisjointDataProperties.
-
-
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(DisjointDataProperties other)
- Specified by:
compareToin interfacejava.lang.Comparable<DisjointDataProperties>
-
withAnnotations
public DisjointDataProperties withAnnotations(java.util.List<Annotation> annotations)
Returns a copy of thisDisjointDataPropertieswithannotationsreplaced.
-
withProperties
public DisjointDataProperties withProperties(java.util.List<DataPropertyExpression> properties)
Returns a copy of thisDisjointDataPropertieswithpropertiesreplaced.
-
builder
public static DisjointDataProperties.Builder builder()
Creates a new fluent builder forDisjointDataProperties.
-
-