PathAnnotations

open class PathAnnotations: ObjectBase

Annotations that are associated with a CSDL target path that is a child of a CSDL model element.

  • CSDL target path.

    Declaration

    Swift

    final public var path: DataPath!
  • Default initializer.

    Declaration

    Swift

    override public init()
  • Lookup a path annotation by term name.

    See also

    annotationMap, for looking up annotations that might not exist.

    Declaration

    Swift

    open func annotation(withName term: String) -> Annotation

    Parameters

    term

    The term name.

    Return Value

    The path annotation.

  • List of annotations for this path.

    Declaration

    Swift

    open var annotationList: AnnotationList
  • Map of annotations for this path.

    Declaration

    Swift

    open var annotationMap: AnnotationMap
  • Declaration

    Swift

    override open func toString() -> String

    Return Value

    A string representation of this object.