Package org.apache.olingo.odata2.api.edm
Interface EdmAnnotations
- All Known Implementing Classes:
EdmAnnotationsImplProv
public interface EdmAnnotations
-
Method Summary
Modifier and TypeMethodDescriptiongetAnnotationAttribute(String name, String namespace) Get annotation attribute by full qualified nameGet all annotation attributes for the CSDL elementgetAnnotationElement(String name, String namespace) Get annotation element by full qualified nameGet all annotation elements for the CSDL element
-
Method Details
-
getAnnotationElements
List<EdmAnnotationElement> getAnnotationElements()Get all annotation elements for the CSDL element- Returns:
- List of
EdmAnnotationElementor null if no elements exist
-
getAnnotationElement
Get annotation element by full qualified name- Parameters:
name-namespace-- Returns:
EdmAnnotationElementor null if no element is found for this name
-
getAnnotationAttributes
List<EdmAnnotationAttribute> getAnnotationAttributes()Get all annotation attributes for the CSDL element- Returns:
- List of
EdmAnnotationAttributeor null if no attributes exist
-
getAnnotationAttribute
Get annotation attribute by full qualified name- Parameters:
name-namespace-- Returns:
EdmAnnotationAttributeor null if no attribute is found for this name
-