Parameter

open class Parameter: ObjectBase

Encapsulates an OData parameter.

  • Constant parameter mode for ‘In’ mode parameters.

    Declaration

    Swift

    public static let modeIn: Int = (1 as Int)
  • Constant parameter mode for ‘Out’ mode parameters.

    Declaration

    Swift

    public static let modeOut: Int = (2 as Int)
  • Constant parameter mode for ‘InOut’ mode parameters.

    Declaration

    Swift

    public static let modeInOut: Int = (3 as Int)
  • Name of the parameter.

    Declaration

    Swift

    final public var name: String = ""
  • Type of the parameter.

    Declaration

    Swift

    final public var type: DataType!
  • Mode of the parameter.

    See also

    constants.

    Declaration

    Swift

    final public var mode: Int = (0 as Int)
  • Value of the parameter.

    See also

    DataMethod.parameters (formal), DataMethodCall.parameters (actual).

    Declaration

    Swift

    final public var value: DataValue?
  • true if this item allows Unicode content. If isUnicode is false, then this item only allows ASCII content.

    Declaration

    Swift

    final public var isUnicode: Bool = true
  • Minimum length for string and binary values.

    See also

    TypeFacets.ANY_LENGTH.

    Declaration

    Swift

    final public var minLength: Int = (0 as Int)
  • Maximum length for string and binary values.

    See also

    TypeFacets.ANY_LENGTH.

    Declaration

    Swift

    final public var maxLength: Int = (0 as Int)
  • Precision for decimal and integer values.

    See also

    TypeFacets.ANY_PRECISION.

    Declaration

    Swift

    final public var precision: Int = (0 as Int)
  • Scale for decimal values.

    See also

    TypeFacets.FLOATING_SCALE, TypeFacets.VARIABLE_SCALE.

    Declaration

    Swift

    final public var scale: Int = (0 as Int)
  • EPSG Spatial Reference System Identifier (SRID) for the associated value.

    See also

    TypeFacets.VARIABLE_SRID.

    Declaration

    Swift

    final public var srid: Int = (0 as Int)
  • true if this item is nullable.

    Declaration

    Swift

    final public var isOptional: Bool = true
  • Default initializer.

    Declaration

    Swift

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

    Declaration

    Swift

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

    Declaration

    Swift

    open var annotationMap: AnnotationMap
  • true if this item has fixed length for string and binary values.

    See also

    minLength, maxLength.

    Declaration

    Swift

    open var fixedLength: Bool
  • Declaration

    Swift

    override open func toString() -> String

    Return Value

    A string representation of this object.