public abstract class LanguageMetaData extends AbstractAnnotationImpl implements Serializable, MappableMetaData, IdMetaData
| Constructor and Description |
|---|
LanguageMetaData(Class<? extends Annotation> annotationType)
Create a new LanguageMetaData.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
annotationTypepublic LanguageMetaData(Class<? extends Annotation> annotationType)
annotationType - the annotation typepublic String language()
public String getId()
IdMetaDatagetId in interface IdMetaDatapublic void setId(String id)
IdMetaDatasetId in interface IdMetaDataid - the id.public String getKey()
MappableMetaDatagetKey in interface MappableMetaDatapublic String getLanguage()
public void setLanguage(String language)
language - the language.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.