ComplexType
open class ComplexType : StructureType, @unchecked Sendable
Encapsulates the metadata of an OData complex type.
-
Represents an undefined complex type.
Declaration
Swift
public static let undefined: ComplexType -
The abstract base type Edm.ComplexType.
Declaration
Swift
public static let abstractBase: ComplexType -
If
hasSubtypesistrue, then the list of subtypes. Otherwisenil.Declaration
Swift
final public var subtypes: ComplexTypeList? -
Default initializer.
Declaration
Swift
override public init() -
DataType.COMPLEX_VALUEDeclaration
Swift
override open var code: Int { get } -
trueif this complex type is a parent of one or more derived complex types.Declaration
Swift
override open var hasSubtypes: Bool { get } -
trueif this complex type is a subtype of a parent complex type.Declaration
Swift
override open var hasSupertype: Bool { get } -
Declaration
Swift
open func inheritsFrom(other: ComplexType) -> BoolParameters
otherOther complex type.
Return Value
trueif this complex type inherits fromother. -
Set the
objectFactoryfor this complex type.Declaration
Swift
open func registerFactory(_ factory: ObjectFactory)Parameters
factoryCustom factory to produce
ComplexValueinstances of this type. -
If
hasSupertypeistrue, then the parent complex type. Otherwisenil.Declaration
Swift
open var supertype: ComplexType? { get set } -
Declaration
Swift
override open func toString() -> StringReturn Value
The name of this data type.
-
Set the
objectFactoryfor this complex type.Declaration
Swift
open func withFactory(_ factory: ObjectFactory) -> ComplexTypeParameters
factoryCustom factory to produce
ComplexValueinstances of this type.Return Value
This complex type.