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 |
Map<String,Object> |
getAttributes()
Returns the descriptor's attributes
|
public T attributes(Attributes.Attribute... attributes)
attributes
to the descriptorattributes
- the attributes