PageRenderTime 108ms CodeModel.GetById 87ms app.highlight 9ms RepoModel.GetById 11ms app.codeStats 0ms

/core/externals/update-engine/externals/gdata-objectivec-client/Source/Clients/Books/GDataEntryVolume.h

http://macfuse.googlecode.com/
C++ Header | 116 lines | 68 code | 29 blank | 19 comment | 1 complexity | 2814129032090c08509512b7f5915803 MD5 | raw file
  1/* Copyright (c) 2008 Google Inc.
  2 *
  3 * Licensed under the Apache License, Version 2.0 (the "License");
  4 * you may not use this file except in compliance with the License.
  5 * You may obtain a copy of the License at
  6 *
  7 *     http://www.apache.org/licenses/LICENSE-2.0
  8 *
  9 * Unless required by applicable law or agreed to in writing, software
 10 * distributed under the License is distributed on an "AS IS" BASIS,
 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 12 * See the License for the specific language governing permissions and
 13 * limitations under the License.
 14 */
 15
 16//
 17//  GDataEntryVolume.h
 18//
 19
 20#if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE
 21
 22#import "GDataEntryBase.h"
 23#import "GDataValueConstruct.h"
 24#import "GDataRating.h"
 25#import "GDataComment.h"
 26#import "GDataDublinCore.h"
 27#import "GDataVolumePrice.h"
 28#import "GDataVolumeReadingPosition.h"
 29
 30@interface GDataVolumeReview : GDataTextConstruct <GDataExtension>
 31@end
 32
 33@interface GDataEntryVolume : GDataEntryBase
 34
 35+ (GDataEntryVolume *)volumeEntry;
 36
 37// extensions
 38
 39- (GDataComment *)comment;
 40- (void)setComment:(GDataComment *)obj;
 41
 42- (NSArray *)creators;
 43- (void)setCreators:(NSArray *)arr;
 44- (void)addCreator:(GDataDCCreator *)obj;
 45
 46- (NSArray *)dates;
 47- (void)setDates:(NSArray *)arr;
 48- (void)addDate:(GDataDCDate *)obj;
 49
 50- (NSArray *)volumeDescriptions; 
 51- (void)setVolumeDescriptions:(NSArray *)arr;
 52- (void)addVolumeDescriptions:(GDataDCFormat *)obj;
 53
 54- (NSString *)embeddability;
 55- (void)setEmbeddability:(NSString *)str;
 56
 57- (NSString *)openAccess;
 58- (void)setOpenAccess:(NSString *)str;
 59
 60- (NSArray *)formats;
 61- (void)setFormats:(NSArray *)arr;
 62- (void)addFormat:(GDataDCFormat *)obj;
 63
 64- (NSArray *)volumeIdentifiers;
 65- (void)setVolumeIdentifiers:(NSArray *)arr;
 66- (void)addVolumeIdentifier:(GDataDCIdentifier *)obj;
 67
 68- (NSArray *)languages;
 69- (void)setLanguages:(NSArray *)arr;
 70- (void)addLanguage:(GDataDCLanguage *)obj;
 71
 72- (NSArray *)prices;
 73- (void)setPrices:(NSArray *)arr;
 74- (void)addPrice:(GDataVolumePrice *)obj;
 75
 76- (NSArray *)publishers;
 77- (void)setPublishers:(NSArray *)arr;
 78- (void)addPublisher:(GDataDCPublisher *)obj;
 79
 80- (GDataRating *)rating;
 81- (void)setRating:(GDataRating *)obj;
 82
 83- (GDataVolumeReview *)review;
 84- (void)setReview:(GDataVolumeReview *)obj;
 85
 86- (GDataVolumeReadingPosition *)readingPosition;
 87- (void)setReadingPosition:(GDataVolumeReadingPosition *)obj;
 88
 89- (NSString *)contentVersion;
 90- (void)setContentVersion:(NSString *)str;
 91
 92- (NSArray *)subjects;
 93- (void)setSubjects:(NSArray *)arr;
 94- (void)addSubject:(GDataDCSubject *)obj;
 95
 96- (NSArray *)volumeTitles;
 97- (void)setVolumeTitles:(NSArray *)arr;
 98- (void)addVolumeTitle:(GDataDCTitle *)obj;
 99
100- (NSString *)viewability;
101- (void)setViewability:(NSString *)str;
102
103// convenience accessors
104- (GDataLink *)thumbnailLink;
105- (GDataLink *)previewLink;
106- (GDataLink *)infoLink;
107- (GDataLink *)annotationLink;
108- (GDataLink *)buyLink;
109- (GDataLink *)EPubDownloadLink;
110- (GDataLink *)EPubTokenLink;
111
112- (GDataVolumePrice *)priceForType:(NSString *)type;
113
114@end
115
116#endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE