CitySDK iOS Library
 All Classes Functions Variables Enumerations Enumerator Properties
Resources.h
1 /*
2  * COPYRIGHT NOTICE:
3  *
4  * This file is part of CitySDK WP5 Tourism Objective-C Library.
5  *
6  * CitySDK WP5 Tourism Objective-C Library is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU Lesser General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * CitySDK WP5 Tourism Objective-C Library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public License
17  * along with CitySDK WP5 Tourism Objective-C Library. If not, see <http://www.gnu.org/licenses/>.
18  *
19  * Copyright 2013, IST
20  */
21 
22 #import <UIKit/UIKit.h>
23 #import "Deserializable.h"
24 #import "HypermediaLink.h"
25 
26 @interface Resources : NSObject <Deserializable>
27 @property (nonatomic, retain) NSMutableDictionary *resources;
28 
29 - (void) addResource:(HypermediaLink *) link;
30 - (bool) hasVersion:(NSString *) version;
31 - (bool) hasResource:(NSString *) resource inVersion:(NSString *) version;
32 - (bool) hasResourceParameter:(NSString *) parameter inResource:(NSString *) resource inVersion:(NSString *) version;
33 - (HypermediaLink *) getHypermediaWithVersion:(NSString *) version;
34 - (NSArray *) getResources:(NSString *) version;
35 - (NSArray *) getVersions;
36 
37 @end