Annotation

open class Annotation: ObjectBase

Represents an OData annotation.

See also

AnnotationTerm.
  • Annotation term.

    Declaration

    Swift

    final public var term: AnnotationTerm!
  • Annotation value.

    Declaration

    Swift

    final public var value: DataValue?
  • Annotation qualifier.

    Declaration

    Swift

    final public var qualifier: String?
  • Default initializer.

    Declaration

    Swift

    override public init()
  • Lookup an existing 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 annotation.

  • List of annotations for this annotation.

    Declaration

    Swift

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

    Declaration

    Swift

    open var annotationMap: AnnotationMap
  • Declaration

    Swift

    override open func toString() -> String

    Return Value

    A string representation of this object.