T - the metadata typepublic abstract class MappedAnnotationMetaData<T extends MappableMetaData> extends AbstractAnnotationImpl implements Collection<T>, Serializable
| Constructor and Description |
|---|
MappedAnnotationMetaData(Class<? extends Annotation> annotationType)
Create a new MappedAnnotationMetaData
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(T o) |
boolean |
addAll(Collection<? extends T> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object obj) |
T |
get(String key)
Get the metadata for the given key
|
int |
hashCode() |
boolean |
isEmpty() |
Iterator<T> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
annotationTypeclone, finalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, removeIf, spliterator, streampublic MappedAnnotationMetaData(Class<? extends Annotation> annotationType)
annotationType - the annotation typepublic T get(String key)
key - the keyIllegalArgumentException - for a null keypublic boolean add(T o)
add in interface Collection<T extends MappableMetaData>public void clear()
clear in interface Collection<T extends MappableMetaData>public boolean contains(Object o)
contains in interface Collection<T extends MappableMetaData>public Iterator<T> iterator()
iterator in interface Iterable<T extends MappableMetaData>iterator in interface Collection<T extends MappableMetaData>public boolean remove(Object o)
remove in interface Collection<T extends MappableMetaData>public int size()
size in interface Collection<T extends MappableMetaData>public boolean addAll(Collection<? extends T> c)
addAll in interface Collection<T extends MappableMetaData>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<T extends MappableMetaData>public boolean isEmpty()
isEmpty in interface Collection<T extends MappableMetaData>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<T extends MappableMetaData>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<T extends MappableMetaData>public Object[] toArray()
toArray in interface Collection<T extends MappableMetaData>public <T> T[] toArray(T[] a)
toArray in interface Collection<T extends MappableMetaData>public boolean equals(Object obj)
equals in interface Annotationequals in interface Collection<T extends MappableMetaData>equals in class AbstractAnnotationImplpublic int hashCode()
hashCode in interface AnnotationhashCode in interface Collection<T extends MappableMetaData>hashCode in class AbstractAnnotationImplpublic String toString()
toString in interface AnnotationtoString in class ObjectCopyright © 2017 JBoss by Red Hat. All rights reserved.