T - the type of the descriptorpublic abstract class AbstractDescriptor<T extends AbstractDescriptor<T>> extends Object
| Constructor and Description |
|---|
AbstractDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
T |
attributes(Attributes.Attribute... attributes)
Adds the given
attributes to the descriptor. |
T |
description(Object description)
Specifies the description.
|
Map<String,Object> |
getAttributes()
Returns the descriptor's attributes.
|
Object |
getDescription()
Returns the description.
|
public final T attributes(Attributes.Attribute... attributes)
attributes to the descriptor.attributes - the attributespublic final T description(Object description)
description - the descriptionpublic final Object getDescription()