public interface ODataMetaAnnotable
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
ODataMetaAnnotation |
getVocabularyAnnotation(AnnotationName name)
Retrieves the Odata v4.0 vocabulary-based annotation specified by the given annotation name.
|
ODataMetaAnnotation |
getVocabularyAnnotation(java.lang.String namespace,
java.lang.String name)
Retrieves the Odata v4.0 vocabulary-based annotation specified by the given annotation namespace and loccalname.
|
java.util.Set<AnnotationName> |
getVocabularyAnnotationNames()
Retrieves the set of Odata v4.0 vocabulary-based annotation names belonging to the element.
|
java.util.Set<AnnotationName> getVocabularyAnnotationNames()
ODataMetaAnnotation getVocabularyAnnotation(AnnotationName name)
name
- fully qualified name of the annotation. MUST be non-null, otherwise NullPointerException is thrownjava.lang.NullPointerException
- if name parameter is nullODataMetaAnnotation getVocabularyAnnotation(java.lang.String namespace, java.lang.String name)
namespace
- namespace of the annotation, can be nullname
- local name of the annotation. It MUST be non-null, otherwise NullpointerException is thrown.java.lang.NullPointerException
- if name parameter is null