KNYSyncObject Class Reference
| Inherits from | NSObject |
| Declared in | KNYSyncObject.h |
Tasks
-
– initWithName: -
– intForAttributeName: -
– shortForAttributeName: -
– longForAttributeName: -
– longLongForAttributeName: -
– unsignedLongLongForAttributeName: -
– boolForAttributeName: -
– doubleForAttributeName: -
– floatForAttributeName: -
– isAttributeNull: -
– stringForAttributeName: -
– dateForAttributeName: -
– setInt:forAttributeName: -
– setShort:forAttributeName: -
– setDouble:forAttributeName: -
– setFloat:forAttributeName: -
– setLong:forAttributeName: -
– setLongLong:forAttributeName: -
– setString:forAttributeName: -
– setBool:forAttributeName: -
– setDate:forAttributeName: -
– isDirty -
– objectForAttributeName:
Instance Methods
boolForAttributeName:
returns unsigned BOOL value from syncObject.
- (NSNumber *)boolForAttributeName:(NSString *)attributeNameParameters
- attributeName
attributeName
Return Value
return NSNumber with BOOL value for a given attributeName
Discussion
returns unsigned BOOL value from syncObject.
Declared In
KNYSyncObject.hdateForAttributeName:
Result set NSDate value for Attribute.
- (NSDate *)dateForAttributeName:(NSString *)attributeNameParameters
- AttributeName
NSStringvalue of the name of the Attribute.
Return Value
NSDate value of the result set’s Attribute.
Discussion
Result set NSDate value for Attribute.
Declared In
KNYSyncObject.hdoubleForAttributeName:
returns double value from syncObject.
- (NSNumber *)doubleForAttributeName:(NSString *)attributeNameParameters
- attributeName
attributeName
Return Value
return NSNumber with double value for a given attributeName
Discussion
returns double value from syncObject.
Declared In
KNYSyncObject.hfloatForAttributeName:
returns float value from syncObject.
- (NSNumber *)floatForAttributeName:(NSString *)attributeNameParameters
- attributeName
attributeName
Return Value
return NSNumber with float value for a given attributeName
Discussion
returns float value from syncObject.
Declared In
KNYSyncObject.hinitWithName:
creates and returns a instance of SyncObject with the specified sync object name
- (id)initWithName:(NSString *)syncObjectNameParameters
- syncObjectName
syncObjectName
Return Value
an instance of SyncObject with the specified sync object name
Discussion
creates and returns a instance of SyncObject with the specified sync object name
Declared In
KNYSyncObject.hintForAttributeName:
returns int value from syncObject.
- (NSNumber *)intForAttributeName:(NSString *)attributeNameParameters
- attributeName
attributeName
Return Value
return NSNumber with int value for a given attributeName
Discussion
returns int value from syncObject.
Declared In
KNYSyncObject.hisAttributeNull:
Is the attribute NULL?
- (BOOL)isAttributeNull:(NSString *)attributeNameParameters
- attributeName
NSStringvalue of the name of the attribute.
Return Value
YES if attribute is NULL; NO if not NULL.
Discussion
Is the attribute NULL?
Declared In
KNYSyncObject.hisDirty
checks whether the sync object content have changed since it was loaded from the local device database.
- (BOOL)isDirtyReturn Value
return YES if the sync object content have changed or else NO is returned.
Discussion
checks whether the sync object content have changed since it was loaded from the local device database.
Declared In
KNYSyncObject.hlongForAttributeName:
returns long value from syncObject.
- (NSNumber *)longForAttributeName:(NSString *)attributeNameParameters
- attributeName
attributeName
Return Value
return NSNumber with long value for a given attributeName
Discussion
returns long value from syncObject.
Declared In
KNYSyncObject.hlongLongForAttributeName:
returns long long value from syncObject.
- (NSNumber *)longLongForAttributeName:(NSString *)attributeNameParameters
- attributeName
attributeName
Return Value
return NSNumber with long long value for a given attributeName
Discussion
returns long long value from syncObject.
Declared In
KNYSyncObject.hobjectForAttributeName:
Result set object for column.
- (id)objectForAttributeName:(NSString *)attributeNameParameters
- columnName
NSStringvalue of the name of the column.
Return Value
Either NSNumber, NSString, NSData, or NSNull. If the column was NULL, this returns [NSNull null] object.
Discussion
Result set object for column.
Declared In
KNYSyncObject.hsetBool:forAttributeName:
method to set the column data of type BOOL for a given key(columnName)
- (void)setBool:(NSNumber *)value forAttributeName:(NSString *)keyParameters
- key
columnName
- forKey
columnData(NSNumber of BOOL type)
Discussion
method to set the column data of type BOOL for a given key(columnName)
Declared In
KNYSyncObject.hsetDate:forAttributeName:
method to set the column data of type double for a given key(columnName)
- (void)setDate:(NSDate *)value forAttributeName:(NSString *)attributeNameParameters
- value
columnData(NSDate type)
- key
columnName
Discussion
method to set the column data of type double for a given key(columnName)
Declared In
KNYSyncObject.hsetDouble:forAttributeName:
method to set the column data of type double for a given key(columnName)
- (void)setDouble:(NSNumber *)value forAttributeName:(NSString *)attributeNameParameters
- value
columnData(NSNumber of double type)
- key
columnName
Discussion
method to set the column data of type double for a given key(columnName)
Declared In
KNYSyncObject.hsetFloat:forAttributeName:
method to set the column data of type float for a given key(columnName)
- (void)setFloat:(NSNumber *)value forAttributeName:(NSString *)attributeNameParameters
- value
columnData(NSNumber of float type)
- key
columnName
Discussion
method to set the column data of type float for a given key(columnName)
Declared In
KNYSyncObject.hsetInt:forAttributeName:
method to set the column data of type int for a given key(columnName)
- (void)setInt:(NSNumber *)value forAttributeName:(NSString *)attributeNameParameters
- value
columnData(NSNumber of int type)
- key
columnName
Discussion
method to set the column data of type int for a given key(columnName)
Declared In
KNYSyncObject.hsetLong:forAttributeName:
method to set the column data of type long for a given key(columnName)
- (void)setLong:(NSNumber *)value forAttributeName:(NSString *)attributeNameParameters
- value
columnData(NSNumber of long type)
- key
columnName
Discussion
method to set the column data of type long for a given key(columnName)
Declared In
KNYSyncObject.hsetLongLong:forAttributeName:
method to set the column data of type long long for a given key(columnName)
- (void)setLongLong:(NSNumber *)value forAttributeName:(NSString *)attributeNameParameters
- value
columnData(NSNumber of long long type)
- key
columnName
Discussion
method to set the column data of type long long for a given key(columnName)
Declared In
KNYSyncObject.hsetShort:forAttributeName:
method to set the column data of type short for a given key(columnName)
- (void)setShort:(NSNumber *)value forAttributeName:(NSString *)attributeNameParameters
- value
columnData(NSNumber of short type)
- key
columnName
Discussion
method to set the column data of type short for a given key(columnName)
Declared In
KNYSyncObject.hsetString:forAttributeName:
method to set the column data of type string for a given key(columnName)
- (void)setString:(NSString *)value forAttributeName:(NSString *)attributeNameParameters
- value
columnData(NSNumber of string type)
- key
columnName
Discussion
method to set the column data of type string for a given key(columnName)
Declared In
KNYSyncObject.hshortForAttributeName:
returns int value from syncObject.
- (NSNumber *)shortForAttributeName:(NSString *)attributeNameParameters
- attributeName
attributeName
Return Value
return NSNumber with short value for a given attributeName
Discussion
returns int value from syncObject.
Declared In
KNYSyncObject.hstringForAttributeName:
returns string from syncObject..
- (NSString *)stringForAttributeName:(NSString *)attributeNameReturn Value
NString
Discussion
returns string from syncObject..
Declared In
KNYSyncObject.hunsignedLongLongForAttributeName:
returns unsigned long long value from syncObject.
- (NSNumber *)unsignedLongLongForAttributeName:(NSString *)attributeNameParameters
- attributeName
attributeName
Return Value
return NSNumber with unsigned long long value for a given attributeName
Discussion
returns unsigned long long value from syncObject.
Declared In
KNYSyncObject.h