Package hydra.error.core
Class NestedTermAnnotationError
- java.lang.Object
-
- hydra.error.core.NestedTermAnnotationError
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<NestedTermAnnotationError>
public class NestedTermAnnotationError extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<NestedTermAnnotationError>
A term annotation directly wrapping another term annotation; annotations should be merged (optional)- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNestedTermAnnotationError.BuilderA fluent builder forNestedTermAnnotationError.
-
Constructor Summary
Constructors Constructor Description NestedTermAnnotationError(SubtermPath location)Constructs an immutableNestedTermAnnotationError.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NestedTermAnnotationError.Builderbuilder()Creates a new fluent builder forNestedTermAnnotationError.intcompareTo(NestedTermAnnotationError other)booleanequals(java.lang.Object other)inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
TYPE_
public static final Name TYPE_
Name of thehydra.error.core.NestedTermAnnotationErrortype.
-
LOCATION
public static final Name LOCATION
Name of thehydra.error.core.NestedTermAnnotationError.locationfield.
-
location
public final SubtermPath location
The path to the outer annotation within the term
-
-
Constructor Detail
-
NestedTermAnnotationError
public NestedTermAnnotationError(SubtermPath location)
Constructs an immutableNestedTermAnnotationError.- Parameters:
location- The path to the outer annotation within the term
-
-
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(NestedTermAnnotationError other)
- Specified by:
compareToin interfacejava.lang.Comparable<NestedTermAnnotationError>
-
builder
public static NestedTermAnnotationError.Builder builder()
Creates a new fluent builder forNestedTermAnnotationError.
-
-