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() |
annotationType
public LanguageMetaData(Class<? extends Annotation> annotationType)
annotationType
- the annotation typepublic 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
Copyright © 2017 JBoss, a division of Red Hat, Inc.. All Rights Reserved.