Package dev.morphia.annotations
Class AnnotationBuilder<T extends Annotation>
- java.lang.Object
-
- dev.morphia.annotations.AnnotationBuilder<T>
-
- Type Parameters:
T
-
- All Implemented Interfaces:
Annotation
- Direct Known Subclasses:
CollationBuilder
,EmbeddedBuilder
,TextBuilder
,ValidationBuilder
public abstract class AnnotationBuilder<T extends Annotation> extends Object implements Annotation
Developer note.This is an internal item. Its function and presence are subject to change without warning. Its use is highly discouraged.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AnnotationBuilder()
protected
AnnotationBuilder(T original)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Class<T>
annotationType()
boolean
equals(Object o)
protected <V> V
get(String key)
int
hashCode()
protected void
put(String key, Object value)
String
toString()
-
-
-
Constructor Detail
-
AnnotationBuilder
protected AnnotationBuilder()
-
AnnotationBuilder
protected AnnotationBuilder(T original)
-
-
Method Detail
-
get
protected <V> V get(String key)
-
toString
public String toString()
- Specified by:
toString
in interfaceAnnotation
- Overrides:
toString
in classObject
-
annotationType
public abstract Class<T> annotationType()
- Specified by:
annotationType
in interfaceAnnotation
-
equals
public boolean equals(Object o)
- Specified by:
equals
in interfaceAnnotation
- Overrides:
equals
in classObject
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceAnnotation
- Overrides:
hashCode
in classObject
-
-