CBLMutableFragment

@protocol CBLMutableFragment <CBLFragment>

CBLMutableFragment protocol provides read and write access to the data value wrapped by a fragment object.

  • Gets value from or sets the value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        NSObject *value;
  • Gets the value as string or sets the string value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        NSString *string;
  • Gets the value as number or sets the number value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        NSNumber *number;
  • Gets the value as integer or sets the integer value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        NSInteger integerValue;
  • Gets the value as long long or sets the long long value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        long long longLongValue;
  • Gets the value as float or sets the float value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) float floatValue;
  • Gets the value as double or sets the double value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) double doubleValue;
  • Gets the value as boolean or sets the boolean value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) BOOL booleanValue;
  • Gets the value as date or sets the date value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        NSDate *date;
  • Gets the value as blob or sets the blob value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        CBLBlob *blob;
  • Gets the value as array or sets the array value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        CBLMutableArray *array;
  • Gets the value as dictionary or sets the dictionary value to the fragment object.

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite, nullable)
        CBLMutableDictionary *dictionary;