public class EdmAnnotationsImpl extends Object implements EdmAnnotations
Constructor and Description |
---|
EdmAnnotationsImpl() |
Modifier and Type | Method and Description |
---|---|
EdmAnnotationAttribute |
getAnnotationAttribute(String name,
String namespace)
Get annotation attribute by full qualified name
|
List<EdmAnnotationAttribute> |
getAnnotationAttributes()
Get all annotation attributes for the CSDL element
|
EdmAnnotationElement |
getAnnotationElement(String name,
String namespace)
Get annotation element by full qualified name
|
List<EdmAnnotationElement> |
getAnnotationElements()
Get all annotation elements for the CSDL element
|
void |
setAnnotationAttributes(List<EdmAnnotationAttribute> annotationAttributes) |
void |
setAnnotationElements(List<EdmAnnotationElement> annotationElements) |
String |
toString() |
public List<EdmAnnotationElement> getAnnotationElements()
EdmAnnotations
getAnnotationElements
in interface EdmAnnotations
EdmAnnotationElement
or null if no elements existpublic EdmAnnotationElement getAnnotationElement(String name, String namespace)
EdmAnnotations
getAnnotationElement
in interface EdmAnnotations
EdmAnnotationElement
or null if no element is found for this namepublic List<EdmAnnotationAttribute> getAnnotationAttributes()
EdmAnnotations
getAnnotationAttributes
in interface EdmAnnotations
EdmAnnotationAttribute
or null if no attributes existpublic EdmAnnotationAttribute getAnnotationAttribute(String name, String namespace)
EdmAnnotations
getAnnotationAttribute
in interface EdmAnnotations
EdmAnnotationAttribute
or null if no attribute is found for this namepublic void setAnnotationAttributes(List<EdmAnnotationAttribute> annotationAttributes)
public void setAnnotationElements(List<EdmAnnotationElement> annotationElements)
Copyright © 2013-2022 The Apache Software Foundation. All Rights Reserved.