MFColumn Class Reference

Inherits from NSObject
Declared in MFColumn.h
MFColumn.m

Overview

The MFColumn is a model class that save key->type pair of column for MFDataSchema.

+ columnWithName:andType:

Initialize the schema column with name and type.

+ (nonnull instancetype)columnWithName:(nonnull NSString *)name andType:(MFObjectType)type

Parameters

name

The column name of schema object.

type

The column MFObjectType of schema object.

Declared In

MFColumn.h

  name

Specifies the name of column.

@property (strong, nonatomic, nonnull) NSString *name

Declared In

MFColumn.h

  type

Specifies the MFObjectType of column.

@property (assign) MFObjectType type

Declared In

MFColumn.h

– typeString

Specifies the string representation of MFObjectType.

- (nonnull NSString *)typeString

Return Value

The string of MFObjectType.

Declared In

MFColumn.h