public abstract class AbstractAnnotated extends java.lang.Object implements Annotated
Modifier | Constructor and Description |
---|---|
protected |
AbstractAnnotated() |
protected |
AbstractAnnotated(Annotations... annotations)
Creates a new entity, annotated with the specified annotations.
|
Modifier and Type | Method and Description |
---|---|
Annotations |
annotations()
Returns the key/value annotations.
|
protected AbstractAnnotated()
protected AbstractAnnotated(Annotations... annotations)
annotations
- optional key/value annotations mappublic Annotations annotations()
Annotated
annotations
in interface Annotated