public interface MutableMetaData
Modifier and Type | Method and Description |
---|---|
<T extends Annotation> |
addAnnotation(T annotation)
Add an annotation
|
<T> T |
addMetaData(String name,
T metaData,
Class<T> type)
Add metaData
|
<T> T |
addMetaData(T metaData,
Class<T> type)
Add metaData
|
<T extends Annotation> |
removeAnnotation(Class<T> annotationType)
Remove an annotation
|
<T> T |
removeMetaData(Class<T> type)
Remove metaData
|
<T> T |
removeMetaData(String name,
Class<T> type)
Remove metadata
|
<T extends Annotation> T addAnnotation(T annotation)
T
- the annotation typeannotation
- the annotation<T extends Annotation> T removeAnnotation(Class<T> annotationType)
T
- the annotation typeannotationType
- the annotation type<T> T addMetaData(T metaData, Class<T> type)
T
- the metadata typemetaData
- the meta datatype
- the expected type<T> T removeMetaData(Class<T> type)
T
- the metadata typetype
- the meta data type<T> T addMetaData(String name, T metaData, Class<T> type)
T
- the metadata typename
- the namemetaData
- the meta datatype
- the expected typeCopyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.