public final class QNameTypeAnnotation extends Object implements TypeAnnotation
TypeAnnotation
which indicates that the enriched type
relates to a QName
which is not the one the extension belongs to.Constructor and Description |
---|
QNameTypeAnnotation(QName value)
Creates a new instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getName()
A name of the annotation
|
QName |
getValue() |
int |
hashCode() |
boolean |
isPublic()
Returns whether this annotation is public or not.
|
public static final String NAME
public String getName()
TypeAnnotation
getName
in interface TypeAnnotation
QName
public boolean isPublic()
TypeAnnotation
Non public annotations will however always be available through MetadataType.getAnnotation(Class)
and all related methods.
isPublic
in interface TypeAnnotation
true
Copyright © 2018. All rights reserved.