ODataCollection class

Collection information.

Syntax

@interface ODataCollection : NSObject <NSCoding>

Members

All members of ODataCollection, including inherited members.

Methods
Method Description
- (BOOL) addIcon: (const ODataIconInfo *const) newIcon  
- (BOOL) addLink: (const ODataLink *const) newLink  
- (BOOL) doesRequireFilter If the return value is not NO, that means the entries of the collection cannot be queried without providing a $filter expression (if accessed without a $filter expression, the server responds with an error message.)
- (ODataLink *) getSubscriptionLink if the collection supports subscription, then the returned object will be an ODataLink, otherwise nil.
- (BOOL) hasMedia Queries if a collection has media links or not.
- (id) initWithName: (NSString *const) newName  
- (BOOL) isCreatable Queries if a acollection allows creating new entries or not.
- (BOOL) isDeletable Queries if a collection allows deleting its entries.
- (BOOL) isSearchable Checks if the collection supports google-like search, where a search term is matched against several or all properties of each entry.
- (BOOL) isTopLevel Queries if a collection should appear on the main screen as a starting/root collection.
- (BOOL) isUpdatable Queries if a collection allows updating its entries.