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