public abstract class NamedAnnotationMetaData extends AbstractAnnotationImpl implements Serializable, MappableMetaData
| Constructor and Description |
|---|
NamedAnnotationMetaData(Class<? extends Annotation> annotationType)
Create a new NamedMetaData.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getKey()
The key
|
String |
getName()
Get the name.
|
int |
hashCode() |
String |
name()
Get the name.
|
void |
setName(String name)
Set the name.
|
String |
toString() |
annotationTypepublic NamedAnnotationMetaData(Class<? extends Annotation> annotationType)
annotationType - the annotation typepublic String getKey()
MappableMetaDatagetKey in interface MappableMetaDatapublic String name()
public String getName()
public void setName(String name)
name - the name.IllegalArgumentException - for a null namepublic boolean equals(Object obj)
equals in interface Annotationequals in class AbstractAnnotationImplpublic int hashCode()
hashCode in interface AnnotationhashCode in class AbstractAnnotationImplpublic String toString()
toString in interface AnnotationtoString in class ObjectCopyright © 2017 JBoss by Red Hat. All rights reserved.