Package hydra.owl.syntax
Class AnnotationPropertyDomain
- java.lang.Object
-
- hydra.owl.syntax.AnnotationPropertyDomain
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AnnotationPropertyDomain>
public class AnnotationPropertyDomain extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<AnnotationPropertyDomain>
An OWL axiom asserting the domain of an annotation property- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAnnotationPropertyDomain.BuilderA fluent builder forAnnotationPropertyDomain.
-
Field Summary
Fields Modifier and Type Field Description java.util.List<Annotation>annotationsstatic NameANNOTATIONSName of thehydra.owl.syntax.AnnotationPropertyDomain.annotationsfield.Iriiristatic NameIRIName of thehydra.owl.syntax.AnnotationPropertyDomain.irifield.AnnotationPropertypropertystatic NamePROPERTYName of thehydra.owl.syntax.AnnotationPropertyDomain.propertyfield.static NameTYPE_Name of thehydra.owl.syntax.AnnotationPropertyDomaintype.
-
Constructor Summary
Constructors Constructor Description AnnotationPropertyDomain(java.util.List<Annotation> annotations, AnnotationProperty property, Iri iri)Constructs an immutableAnnotationPropertyDomain.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnnotationPropertyDomain.Builderbuilder()Creates a new fluent builder forAnnotationPropertyDomain.intcompareTo(AnnotationPropertyDomain other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()AnnotationPropertyDomainwithAnnotations(java.util.List<Annotation> annotations)Returns a copy of thisAnnotationPropertyDomainwithannotationsreplaced.AnnotationPropertyDomainwithIri(Iri iri)Returns a copy of thisAnnotationPropertyDomainwithirireplaced.AnnotationPropertyDomainwithProperty(AnnotationProperty property)Returns a copy of thisAnnotationPropertyDomainwithpropertyreplaced.
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.owl.syntax.AnnotationPropertyDomaintype.
-
ANNOTATIONS
public static final Name ANNOTATIONS
Name of thehydra.owl.syntax.AnnotationPropertyDomain.annotationsfield.
-
PROPERTY
public static final Name PROPERTY
Name of thehydra.owl.syntax.AnnotationPropertyDomain.propertyfield.
-
IRI
public static final Name IRI
Name of thehydra.owl.syntax.AnnotationPropertyDomain.irifield.
-
annotations
public final java.util.List<Annotation> annotations
-
property
public final AnnotationProperty property
-
iri
public final Iri iri
-
-
Constructor Detail
-
AnnotationPropertyDomain
public AnnotationPropertyDomain(java.util.List<Annotation> annotations, AnnotationProperty property, Iri iri)
Constructs an immutableAnnotationPropertyDomain.
-
-
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(AnnotationPropertyDomain other)
- Specified by:
compareToin interfacejava.lang.Comparable<AnnotationPropertyDomain>
-
withAnnotations
public AnnotationPropertyDomain withAnnotations(java.util.List<Annotation> annotations)
Returns a copy of thisAnnotationPropertyDomainwithannotationsreplaced.
-
withProperty
public AnnotationPropertyDomain withProperty(AnnotationProperty property)
Returns a copy of thisAnnotationPropertyDomainwithpropertyreplaced.
-
withIri
public AnnotationPropertyDomain withIri(Iri iri)
Returns a copy of thisAnnotationPropertyDomainwithirireplaced.
-
builder
public static AnnotationPropertyDomain.Builder builder()
Creates a new fluent builder forAnnotationPropertyDomain.
-
-