PathAnnotations
open class PathAnnotations : ObjectBase
Annotations that are associated with a CSDL target path that is a child of a CSDL model element.
-
Source line number for this schema element within its defining schema.
Declaration
Swift
final public var sourceLine: Int
-
Default initializer.
Declaration
Swift
override public init()
-
Lookup an existing annotation by term name, or throw an exception if the annotation is not found.
Declaration
Swift
open func annotation(withName term: String) -> Annotation
Parameters
term
The term name.
Return Value
The annotation.
-
Obsolete. Use
annotations
.Declaration
Swift
open var annotationList: AnnotationList { get }
-
Obsolete. Use
annotations
.Declaration
Swift
open var annotationMap: AnnotationMap { get }
-
Map of annotations for this model element. For annotations without qualifiers, the entry key is the annotation term name. For annotations with qualifiers, the entry key is the annotation term name, then “#”, then the annotation qualifier.
Declaration
Swift
open var annotations: AnnotationMap { get }
-
CSDL target path.
Declaration
Swift
public final var path: DataPath { get set }
-
Declaration
Swift
override open func toString() -> String
Return Value
A string representation of this object.