AnnotationTerm

open class AnnotationTerm: ObjectBase

Encapsulates an OData term definition.

See also

Annotation.
  • Term name within its defining schema, e.g. MyTerm.

    Declaration

    Swift

    final public var localName: String = ""
  • Term name qualified by its owning schema, e.g. MySchema.MyTerm.

    Declaration

    Swift

    final public var qualifiedName: String = ""
  • Data type for Annotation.value of annotations referencing this term.

    Declaration

    Swift

    final public var type: DataType!
  • Base term if this term is inherited, otherwise nil.

    Declaration

    Swift

    final public var baseTerm: AnnotationTerm?
  • Default value for Annotation.value of annotations referencing this term, or nil if there is no default value.

    Declaration

    Swift

    final public var defaultValue: DataValue?
  • The types of CSDL definition this term applies to.

    Declaration

    Swift

    final public var appliesTo: StringList = StringList.empty
  • true if this annotation term was inferred due to a missing term definition in the CSDL.

    Declaration

    Swift

    final public var isInferred: Bool = false
  • Default initializer.

    Declaration

    Swift

    override public init()
  • List of annotations for this term.

    Declaration

    Swift

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

    Declaration

    Swift

    open var annotationMap: AnnotationMap
  • Synonym for qualifiedName.

    Declaration

    Swift

    open var name: String