public interface ODataMetaEntityType extends ODataMetaAnnotable
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAnnotation(AnnotationName name)
Retrieves the annotation value of the entity set specified by the given fully qualified annotation name.
|
java.lang.String |
getAnnotation(java.lang.String namespace,
java.lang.String name)
Retrieves the annotation value of the entity set specified by the given annotation namespace and localname.
|
java.util.Set<AnnotationName> |
getAnnotationNames()
Retrieves the set of annotation names of the entity type.
|
java.util.Set<java.lang.String> |
getKeyPropertyNames()
Retrieves the set of key property names.
|
java.lang.String |
getName()
Retrieves the name of the entity type.
|
ODataMetaNavigationProperty |
getNavigationProperty(java.lang.String propertyName)
Retrieves the metadata representation of a navigation property specified by its name.
|
java.util.Set<java.lang.String> |
getNavigationPropertyNames()
Retrieves the set of navigation property names.
|
ODataMetaProperty |
getProperty(java.lang.String propertyName)
Retrieves the metadata representation of a property.
|
java.util.Set<java.lang.String> |
getPropertyNames()
Retrieves the set of property names.
|
boolean |
isMediaEntity()
Retrieves whether this is a media entity.
|
getVocabularyAnnotation, getVocabularyAnnotation, getVocabularyAnnotationNames
java.lang.String getName()
boolean isMediaEntity()
java.util.Set<java.lang.String> getKeyPropertyNames()
java.util.Set<java.lang.String> getPropertyNames()
ODataMetaProperty getProperty(java.lang.String propertyName)
propertyName
- name of the property. MUST be non-null, otherwise NullPointerException is thrownjava.lang.NullPointerException
- if propertyName is nulljava.util.Set<java.lang.String> getNavigationPropertyNames()
ODataMetaNavigationProperty getNavigationProperty(java.lang.String propertyName)
propertyName
- name of the navigation property. MUST be non-null, otherwise NullPointerException is thrownjava.lang.NullPointerException
- if propertyName is nulljava.util.Set<AnnotationName> getAnnotationNames()
java.lang.String getAnnotation(AnnotationName name)
name
- fully qualified annotation name. MUST be non-null, otherwise NullPointerException is thrownjava.lang.NullPointerException
- if name parameter is nulljava.lang.String getAnnotation(java.lang.String namespace, java.lang.String name)
namespace
- namespace of the annotation, can be nullname
- localname of the annotation. MUST be non-null, otherwise NullPointerException is thrownjava.lang.NullPointerException
- if name parameter is null