Indivo Framework (iOS)
An iOS framework for Apps connecting to Indivo server
 All Classes Functions Variables Properties Pages
Properties | List of all members
IndivoDemographics Class Reference

A class representing "indivo:Demographics" objects, generated from /indivo/schemas/data/core/demographics/schema.xsd. More...

#import <IndivoDemographics.h>

Inherits IndivoDocument.

Properties

INAddressAddress
 
INDatedateOfBirth
 minOccurs = 1 More...
 
INStringemail
 
INStringethnicity
 
INGenderTypegender
 minOccurs = 1 More...
 
INNameName
 minOccurs = 1 More...
 
INStringpreferredLanguage
 
INStringrace
 
NSArray * Telephone
 An array containing INTelephone objects. More...
 
- Properties inherited from IndivoDocument
IndivoPrincipalcreator
 The creator of the document. More...
 
INDocumentStatus documentStatus
 This document's status. More...
 
BOOL fetched
 YES if the document has been fetched from the server. More...
 
NSString * label
 This document's label. More...
 
NSString * uuidLatest
 The udid of the latest document of the receiver. More...
 
NSString * uuidOriginal
 The udid of the original document, if the receiver replaced a document. More...
 
NSString * uuidReplaces
 The udid of the replaced document, if the receiver replaced a document. More...
 
- Properties inherited from IndivoAbstractDocument
IndivoCreated * created
 
NSString * nameSpace
 The namespace. More...
 
IndivoRecordrecord
 The owning record. If you change this on documents fetched from the server, you will get errors. More...
 
IndivoSuppressed * suppressed
 
- Properties inherited from INServerObject
BOOL onServer
 Indicates whether this document lives on the server. More...
 
IndivoServerserver
 Our beloved server. More...
 
NSString * uuid
 This object's udid. More...
 

Additional Inherited Members

- Instance Methods inherited from IndivoDocument
(void) - archive:forReason:callback:
 Archive (or unarchive) a document for the given reason. More...
 
(NSString *) - basePostPath
 The base path, e.g. More...
 
(id) - cachedObjectOfType:
 Retrieves the object for a given type from cache. More...
 
(BOOL) - cacheObject:asType:error:
 Caches the object for a given type. More...
 
(NSString *) - documentPath
 The path to this document, i.e. More...
 
(void) - fetchMetaDocumentWithCallback:
 Fetches the meta document for this document. More...
 
(void) - fetchStatusHistoryWithCallback:
 Fetch the document's version history. More...
 
(void) - fetchVersionsWithCallback:
 Fetch the document's version history. More...
 
(BOOL) - hasStatus:
 
(id) - initFromNode:forRecord:withMeta:
 The designated initializer. More...
 
(BOOL) - isLatest
 
(void) - pull:
 
(void) - push:
 This method puts a new document on the server. More...
 
(void) - replace:
 This method updates the receiver's version on the server with new data from the receiver's properties. More...
 
(void) - setLabel:callback:
 Label a document. More...
 
(void) - updateWithMeta:
 This method updates our udid, type and status from the given meta document. More...
 
(void) - void:forReason:callback:
 Void (or unvoid) a document for a given reason. More...
 
- Class Methods inherited from IndivoDocument
(id) + cachedObjectOfType:forId:
 Retrieves the cached object of a given type for a given document udid. More...
 
(BOOL) + cacheObject:asType:forId:error:
 Stores an object of a given type for the document of the given udid. More...
 
(Class) + documentClassForType:
 Returns the class for a previously registered type, or "IndivoDocument" if the type has not been registered. More...
 
(NSString *) + fetchReportPathForRecord:
 The base path to get reports for documents of this class. More...
 
(void) + registerDocumentClass:
 Our IndivoDocument subclasses call this in their +load method. More...
 
(NSString *) + reportType
 This name is used to construct the report path for this kind of document. More...
 
- Protected Attributes inherited from INObject
NSString * _nodeName
 

Detailed Description

A class representing "indivo:Demographics" objects, generated from /indivo/schemas/data/core/demographics/schema.xsd.

Property Documentation

- (INAddress*) Address
readwritenonatomicstrong
- (INDate*) dateOfBirth
readwritenonatomicstrong

minOccurs = 1

- (INString*) email
readwritenonatomicstrong
- (INString*) ethnicity
readwritenonatomicstrong
- (INGenderType*) gender
readwritenonatomicstrong

minOccurs = 1

- (INName*) Name
readwritenonatomicstrong

minOccurs = 1

- (INString*) preferredLanguage
readwritenonatomicstrong
- (INString*) race
readwritenonatomicstrong
- (NSArray*) Telephone
readwritenonatomicstrong

An array containing INTelephone objects.


The documentation for this class was generated from the following file: