|
JBoss Metadata Common 7.0.1.Final | |||||||||
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.LanguageMetaData
public abstract class LanguageMetaData
LanguageMetaData.
Constructor Summary | |
---|---|
LanguageMetaData(Class<? extends Annotation> annotationType)
Create a new LanguageMetaData. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getId()
Get the id. |
String |
getKey()
The key |
String |
getLanguage()
Get the language. |
int |
hashCode()
|
String |
language()
|
void |
setId(String id)
Set the id. |
void |
setLanguage(String language)
Set the Langauge. |
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 LanguageMetaData(Class<? extends Annotation> annotationType)
annotationType
- the annotation typeMethod Detail |
---|
public String language()
public String getId()
IdMetaData
getId
in interface IdMetaData
public void setId(String id)
IdMetaData
setId
in interface IdMetaData
id
- the id.public String getKey()
MappableMetaData
getKey
in interface MappableMetaData
public String getLanguage()
public void setLanguage(String language)
language
- the language.
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.1.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |