|
JBoss Metadata Common 7.0.4.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.metadata.annotation.AbstractAnnotationImpl
org.jboss.metadata.javaee.support.NamedAnnotationMetaData
public abstract class NamedAnnotationMetaData
NamedAnnotationMetaData.
Constructor Summary | |
---|---|
NamedAnnotationMetaData(Class<? extends Annotation> annotationType)
Create a new NamedMetaData. |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.jboss.metadata.annotation.AbstractAnnotationImpl |
---|
annotationType |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NamedAnnotationMetaData(Class<? extends Annotation> annotationType)
annotationType
- the annotation typeMethod Detail |
---|
public String getKey()
MappableMetaData
getKey
in interface MappableMetaData
public 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 Annotation
equals
in class AbstractAnnotationImpl
public int hashCode()
hashCode
in interface Annotation
hashCode
in class AbstractAnnotationImpl
public String toString()
toString
in interface Annotation
toString
in class Object
|
JBoss Metadata Common 7.0.4.Final-redhat-1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |