TypeFacets

open class TypeFacets : ObjectBase

Encapsulates the metadata of custom OData type facets.

  • Indicates an unspecified length.

    Declaration

    Swift

    public static let anyLength: Int
  • Indicates an unspecified precision.

    Declaration

    Swift

    public static let anyPrecision: Int
  • Indicates the scale is floating.

    Declaration

    Swift

    public static let floatingScale: Int
  • Indicates the scale is variable.

    Declaration

    Swift

    public static let variableScale: Int
  • Indicates the srid is variable.

    Declaration

    Swift

    public static let variableSrid: Int
  • Is the associated value nullable? If isNullable is nil, then it implies the value true.

    Declaration

    Swift

    final public var isOptional: Bool?
  • Does the associated value permit Unicode characters? If isUnicode is nil, then it implies the value true.

    Declaration

    Swift

    final public var isUnicode: Bool?
  • Minimum length of the associated value, or nil for unspecified.

    See also

    ANY_LENGTH.

    Declaration

    Swift

    final public var minLength: Int?
  • Maximum length of the associated value, or nil for unspecified.

    See also

    ANY_LENGTH.

    Declaration

    Swift

    final public var maxLength: Int?
  • Precision of the associated value, or nil for unspecified.

    See also

    ANY_PRECISION.

    Declaration

    Swift

    final public var precision: Int?
  • Scale of the associated value, or nil, then it implies the value 0.

    See also

    FLOATING_SCALE, VARIABLE_SCALE.

    Declaration

    Swift

    final public var scale: Int?
  • EPSG Spatial Reference System Identifier (SRID) for the associated value, or nil for unspecified.

    See also

    VARIABLE_SRID.

    Declaration

    Swift

    final public var srid: Int?
  • Default value for the associated definition.

    Declaration

    Swift

    final public var defaultValue: DataValue?
  • Default initializer.

    Declaration

    Swift

    override public init()
  • Declaration

    Swift

    override open func toString() -> String

    Return Value

    A string representation of this object.