/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. // GDataEntryVolume.h
  17. //
  18. #if !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE
  19. #import "GDataEntryBase.h"
  20. #import "GDataValueConstruct.h"
  21. #import "GDataRating.h"
  22. #import "GDataComment.h"
  23. #import "GDataDublinCore.h"
  24. #import "GDataVolumePrice.h"
  25. #import "GDataVolumeReadingPosition.h"
  26. @interface GDataVolumeReview : GDataTextConstruct <GDataExtension>
  27. @end
  28. @interface GDataEntryVolume : GDataEntryBase
  29. + (GDataEntryVolume *)volumeEntry;
  30. // extensions
  31. - (GDataComment *)comment;
  32. - (void)setComment:(GDataComment *)obj;
  33. - (NSArray *)creators;
  34. - (void)setCreators:(NSArray *)arr;
  35. - (void)addCreator:(GDataDCCreator *)obj;
  36. - (NSArray *)dates;
  37. - (void)setDates:(NSArray *)arr;
  38. - (void)addDate:(GDataDCDate *)obj;
  39. - (NSArray *)volumeDescriptions;
  40. - (void)setVolumeDescriptions:(NSArray *)arr;
  41. - (void)addVolumeDescriptions:(GDataDCFormat *)obj;
  42. - (NSString *)embeddability;
  43. - (void)setEmbeddability:(NSString *)str;
  44. - (NSString *)openAccess;
  45. - (void)setOpenAccess:(NSString *)str;
  46. - (NSArray *)formats;
  47. - (void)setFormats:(NSArray *)arr;
  48. - (void)addFormat:(GDataDCFormat *)obj;
  49. - (NSArray *)volumeIdentifiers;
  50. - (void)setVolumeIdentifiers:(NSArray *)arr;
  51. - (void)addVolumeIdentifier:(GDataDCIdentifier *)obj;
  52. - (NSArray *)languages;
  53. - (void)setLanguages:(NSArray *)arr;
  54. - (void)addLanguage:(GDataDCLanguage *)obj;
  55. - (NSArray *)prices;
  56. - (void)setPrices:(NSArray *)arr;
  57. - (void)addPrice:(GDataVolumePrice *)obj;
  58. - (NSArray *)publishers;
  59. - (void)setPublishers:(NSArray *)arr;
  60. - (void)addPublisher:(GDataDCPublisher *)obj;
  61. - (GDataRating *)rating;
  62. - (void)setRating:(GDataRating *)obj;
  63. - (GDataVolumeReview *)review;
  64. - (void)setReview:(GDataVolumeReview *)obj;
  65. - (GDataVolumeReadingPosition *)readingPosition;
  66. - (void)setReadingPosition:(GDataVolumeReadingPosition *)obj;
  67. - (NSString *)contentVersion;
  68. - (void)setContentVersion:(NSString *)str;
  69. - (NSArray *)subjects;
  70. - (void)setSubjects:(NSArray *)arr;
  71. - (void)addSubject:(GDataDCSubject *)obj;
  72. - (NSArray *)volumeTitles;
  73. - (void)setVolumeTitles:(NSArray *)arr;
  74. - (void)addVolumeTitle:(GDataDCTitle *)obj;
  75. - (NSString *)viewability;
  76. - (void)setViewability:(NSString *)str;
  77. // convenience accessors
  78. - (GDataLink *)thumbnailLink;
  79. - (GDataLink *)previewLink;
  80. - (GDataLink *)infoLink;
  81. - (GDataLink *)annotationLink;
  82. - (GDataLink *)buyLink;
  83. - (GDataLink *)EPubDownloadLink;
  84. - (GDataLink *)EPubTokenLink;
  85. - (GDataVolumePrice *)priceForType:(NSString *)type;
  86. @end
  87. #endif // !GDATA_REQUIRE_SERVICE_INCLUDES || GDATA_INCLUDE_BOOKS_SERVICE