Package org.apache.olingo.odata2.api.edm
Interface EdmAnnotations
-
public interface EdmAnnotations@org.apache.olingo.odata2.DoNotImplement EdmAnnotations holds all annotation attributes and elements for a specific CSDL element.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EdmAnnotationAttributegetAnnotationAttribute(String name, String namespace)Get annotation attribute by full qualified nameList<EdmAnnotationAttribute>getAnnotationAttributes()Get all annotation attributes for the CSDL elementEdmAnnotationElementgetAnnotationElement(String name, String namespace)Get annotation element by full qualified nameList<EdmAnnotationElement>getAnnotationElements()Get all annotation elements for the CSDL element
-
-
-
Method Detail
-
getAnnotationElements
List<EdmAnnotationElement> getAnnotationElements()
Get all annotation elements for the CSDL element- Returns:
- List of
EdmAnnotationElementor null if no elements exist
-
getAnnotationElement
EdmAnnotationElement getAnnotationElement(String name, String namespace)
Get annotation element by full qualified name- Parameters:
namespace- Namespacename- Nome- 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
EdmAnnotationAttribute getAnnotationAttribute(String name, String namespace)
Get annotation attribute by full qualified name- Parameters:
namespace- Namespacename- Nome- Returns:
EdmAnnotationAttributeor null if no attribute is found for this name
-
-