public class EdmxReference extends Object implements CsdlAnnotatable
Constructor and Description |
---|
EdmxReference(URI uri)
Create reference with given uri
|
Modifier and Type | Method and Description |
---|---|
EdmxReference |
addInclude(EdmxReferenceInclude include)
Add include element to current list.
|
EdmxReference |
addIncludeAnnotation(EdmxReferenceIncludeAnnotation includeAnnotation)
Add include annotation element to current list.
|
List<CsdlAnnotation> |
getAnnotations()
Returns a list of annotations
|
List<EdmxReferenceIncludeAnnotation> |
getIncludeAnnotations()
edmx:IncludeAnnotations elements that specify the annotations to include from the target document.
|
List<EdmxReferenceInclude> |
getIncludes()
edmx:Include elements that specify the schemas to include from the target document
|
URI |
getUri()
Get URI for the reference
|
EdmxReference |
setAnnotations(List<CsdlAnnotation> annotations)
Sets annotations.
|
public EdmxReference(URI uri)
uri
- of referencepublic URI getUri()
public List<EdmxReferenceInclude> getIncludes()
EdmxReferenceInclude
in reference or null if none specifiedpublic EdmxReference addInclude(EdmxReferenceInclude include)
include
- to be addedpublic List<EdmxReferenceIncludeAnnotation> getIncludeAnnotations()
EdmxReferenceIncludeAnnotation
or null if none specifiedpublic EdmxReference addIncludeAnnotation(EdmxReferenceIncludeAnnotation includeAnnotation)
includeAnnotation
- to be addedpublic List<CsdlAnnotation> getAnnotations()
CsdlAnnotatable
getAnnotations
in interface CsdlAnnotatable
public EdmxReference setAnnotations(List<CsdlAnnotation> annotations)
annotations
- the annotationsCopyright © 2013–2018 The Apache Software Foundation. All rights reserved.