00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 package org.xbmc.android.jsonrpc.api.model;
00022
00023 import android.os.Parcel;
00024 import android.os.Parcelable;
00025 import java.util.Arrays;
00026 import java.util.HashSet;
00027 import java.util.Set;
00028 import org.codehaus.jackson.JsonNode;
00029 import org.codehaus.jackson.node.ObjectNode;
00030 import org.xbmc.android.jsonrpc.api.AbstractModel;
00031
00032 public final class NotificationsModel {
00033
00040 public static class Item extends AbstractModel {
00041 public final static String API_TYPE = "Notifications.Item";
00042
00043
00044 public final FileType fileType;
00045 public final IdTitleChanneltypeType idTitleChanneltypeType;
00046 public final IdType idType;
00047 public final TitleAlbumArtistType titleAlbumArtistType;
00048 public final TitleAlbumTrackArtistType titleAlbumTrackArtistType;
00049 public final TitleEpisodeSeasonTypeShowtitle titleEpisodeSeasonTypeShowtitle;
00050 public final TitleYearType titleYearType;
00051 public final Type type;
00052
00056 public Item(FileType fileType) {
00057 this.fileType = fileType;
00058 this.idTitleChanneltypeType = null;
00059 this.idType = null;
00060 this.titleAlbumArtistType = null;
00061 this.titleAlbumTrackArtistType = null;
00062 this.titleEpisodeSeasonTypeShowtitle = null;
00063 this.titleYearType = null;
00064 this.type = null;
00065 }
00066
00070 public Item(IdTitleChanneltypeType idTitleChanneltypeType) {
00071 this.idTitleChanneltypeType = idTitleChanneltypeType;
00072 this.fileType = null;
00073 this.idType = null;
00074 this.titleAlbumArtistType = null;
00075 this.titleAlbumTrackArtistType = null;
00076 this.titleEpisodeSeasonTypeShowtitle = null;
00077 this.titleYearType = null;
00078 this.type = null;
00079 }
00080
00084 public Item(IdType idType) {
00085 this.idType = idType;
00086 this.fileType = null;
00087 this.idTitleChanneltypeType = null;
00088 this.titleAlbumArtistType = null;
00089 this.titleAlbumTrackArtistType = null;
00090 this.titleEpisodeSeasonTypeShowtitle = null;
00091 this.titleYearType = null;
00092 this.type = null;
00093 }
00094
00098 public Item(TitleAlbumArtistType titleAlbumArtistType) {
00099 this.titleAlbumArtistType = titleAlbumArtistType;
00100 this.fileType = null;
00101 this.idTitleChanneltypeType = null;
00102 this.idType = null;
00103 this.titleAlbumTrackArtistType = null;
00104 this.titleEpisodeSeasonTypeShowtitle = null;
00105 this.titleYearType = null;
00106 this.type = null;
00107 }
00108
00112 public Item(TitleAlbumTrackArtistType titleAlbumTrackArtistType) {
00113 this.titleAlbumTrackArtistType = titleAlbumTrackArtistType;
00114 this.fileType = null;
00115 this.idTitleChanneltypeType = null;
00116 this.idType = null;
00117 this.titleAlbumArtistType = null;
00118 this.titleEpisodeSeasonTypeShowtitle = null;
00119 this.titleYearType = null;
00120 this.type = null;
00121 }
00122
00126 public Item(TitleEpisodeSeasonTypeShowtitle titleEpisodeSeasonTypeShowtitle) {
00127 this.titleEpisodeSeasonTypeShowtitle = titleEpisodeSeasonTypeShowtitle;
00128 this.fileType = null;
00129 this.idTitleChanneltypeType = null;
00130 this.idType = null;
00131 this.titleAlbumArtistType = null;
00132 this.titleAlbumTrackArtistType = null;
00133 this.titleYearType = null;
00134 this.type = null;
00135 }
00136
00140 public Item(TitleYearType titleYearType) {
00141 this.titleYearType = titleYearType;
00142 this.fileType = null;
00143 this.idTitleChanneltypeType = null;
00144 this.idType = null;
00145 this.titleAlbumArtistType = null;
00146 this.titleAlbumTrackArtistType = null;
00147 this.titleEpisodeSeasonTypeShowtitle = null;
00148 this.type = null;
00149 }
00150
00154 public Item(Type type) {
00155 this.type = type;
00156 this.fileType = null;
00157 this.idTitleChanneltypeType = null;
00158 this.idType = null;
00159 this.titleAlbumArtistType = null;
00160 this.titleAlbumTrackArtistType = null;
00161 this.titleEpisodeSeasonTypeShowtitle = null;
00162 this.titleYearType = null;
00163 }
00164
00165 @Override
00166 public JsonNode toJsonNode() {
00167 if (fileType != null) {
00168 return fileType.toJsonNode();
00169 }
00170 if (idTitleChanneltypeType != null) {
00171 return idTitleChanneltypeType.toJsonNode();
00172 }
00173 if (idType != null) {
00174 return idType.toJsonNode();
00175 }
00176 if (titleAlbumArtistType != null) {
00177 return titleAlbumArtistType.toJsonNode();
00178 }
00179 if (titleAlbumTrackArtistType != null) {
00180 return titleAlbumTrackArtistType.toJsonNode();
00181 }
00182 if (titleEpisodeSeasonTypeShowtitle != null) {
00183 return titleEpisodeSeasonTypeShowtitle.toJsonNode();
00184 }
00185 if (titleYearType != null) {
00186 return titleYearType.toJsonNode();
00187 }
00188 if (type != null) {
00189 return type.toJsonNode();
00190 }
00191 return null;
00192 }
00193
00199 @Override
00200 public void writeToParcel(Parcel parcel, int flags) {
00201 parcel.writeValue(fileType);
00202 parcel.writeValue(idTitleChanneltypeType);
00203 parcel.writeValue(idType);
00204 parcel.writeValue(titleAlbumArtistType);
00205 parcel.writeValue(titleAlbumTrackArtistType);
00206 parcel.writeValue(titleEpisodeSeasonTypeShowtitle);
00207 parcel.writeValue(titleYearType);
00208 parcel.writeValue(type);
00209 }
00210
00214 protected Item(Parcel parcel) {
00215 fileType = parcel.<FileType>readParcelable(FileType.class.getClassLoader());
00216 idTitleChanneltypeType = parcel.<IdTitleChanneltypeType>readParcelable(IdTitleChanneltypeType.class.getClassLoader());
00217 idType = parcel.<IdType>readParcelable(IdType.class.getClassLoader());
00218 titleAlbumArtistType = parcel.<TitleAlbumArtistType>readParcelable(TitleAlbumArtistType.class.getClassLoader());
00219 titleAlbumTrackArtistType = parcel.<TitleAlbumTrackArtistType>readParcelable(TitleAlbumTrackArtistType.class.getClassLoader());
00220 titleEpisodeSeasonTypeShowtitle = parcel.<TitleEpisodeSeasonTypeShowtitle>readParcelable(TitleEpisodeSeasonTypeShowtitle.class.getClassLoader());
00221 titleYearType = parcel.<TitleYearType>readParcelable(TitleYearType.class.getClassLoader());
00222 type = parcel.<Type>readParcelable(Type.class.getClassLoader());
00223 }
00224
00228 public static final Parcelable.Creator<Item> CREATOR = new Parcelable.Creator<Item>() {
00229 @Override
00230 public Item createFromParcel(Parcel parcel) {
00231 return new Item(parcel);
00232 }
00233 @Override
00234 public Item[] newArray(int n) {
00235 return new Item[n];
00236 }
00237 };
00238
00239 @Override
00240 public int describeContents() {
00241 return 0;
00242 }
00243
00250 public static class Type extends AbstractModel {
00251
00252
00253 public static final String TYPE = "type";
00254
00255
00256 public final String type;
00257
00262 public Type(String type) {
00263 this.type = type;
00264 }
00265
00266 @Override
00267 public JsonNode toJsonNode() {
00268 final ObjectNode node = OM.createObjectNode();
00269 node.put(TYPE, type);
00270 return node;
00271 }
00272
00278 @Override
00279 public void writeToParcel(Parcel parcel, int flags) {
00280 parcel.writeValue(type);
00281 }
00282
00286 protected Type(Parcel parcel) {
00287 type = parcel.readString();
00288 }
00289
00293 public static final Parcelable.Creator<Type> CREATOR = new Parcelable.Creator<Type>() {
00294 @Override
00295 public Type createFromParcel(Parcel parcel) {
00296 return new Type(parcel);
00297 }
00298 @Override
00299 public Type[] newArray(int n) {
00300 return new Type[n];
00301 }
00302 };
00303
00304 @Override
00305 public int describeContents() {
00306 return 0;
00307 }
00308
00312 public interface TypeValue {
00313
00314 public final String UNKNOWN = "unknown";
00315 public final String MOVIE = "movie";
00316 public final String EPISODE = "episode";
00317 public final String MUSICVIDEO = "musicvideo";
00318 public final String SONG = "song";
00319 public final String PICTURE = "picture";
00320 public final String CHANNEL = "channel";
00321
00322 public final static Set<String> values = new HashSet<String>(Arrays.asList(UNKNOWN, MOVIE, EPISODE, MUSICVIDEO, SONG, PICTURE, CHANNEL));
00323 }
00324 }
00325
00332 public static class IdType extends AbstractModel {
00333
00334
00335 public static final String ID = "id";
00336 public static final String TYPE = "type";
00337
00338
00339 public final Integer id;
00340 public final String type;
00341
00347 public IdType(Integer id, String type) {
00348 this.id = id;
00349 this.type = type;
00350 }
00351
00352 @Override
00353 public JsonNode toJsonNode() {
00354 final ObjectNode node = OM.createObjectNode();
00355 node.put(ID, id);
00356 node.put(TYPE, type);
00357 return node;
00358 }
00359
00365 @Override
00366 public void writeToParcel(Parcel parcel, int flags) {
00367 parcel.writeValue(id);
00368 parcel.writeValue(type);
00369 }
00370
00374 protected IdType(Parcel parcel) {
00375 id = parcel.readInt();
00376 type = parcel.readString();
00377 }
00378
00382 public static final Parcelable.Creator<IdType> CREATOR = new Parcelable.Creator<IdType>() {
00383 @Override
00384 public IdType createFromParcel(Parcel parcel) {
00385 return new IdType(parcel);
00386 }
00387 @Override
00388 public IdType[] newArray(int n) {
00389 return new IdType[n];
00390 }
00391 };
00392
00393 @Override
00394 public int describeContents() {
00395 return 0;
00396 }
00397
00401 public interface Type {
00402
00403 public final String UNKNOWN = "unknown";
00404 public final String MOVIE = "movie";
00405 public final String EPISODE = "episode";
00406 public final String MUSICVIDEO = "musicvideo";
00407 public final String SONG = "song";
00408 public final String PICTURE = "picture";
00409 public final String CHANNEL = "channel";
00410
00411 public final static Set<String> values = new HashSet<String>(Arrays.asList(UNKNOWN, MOVIE, EPISODE, MUSICVIDEO, SONG, PICTURE, CHANNEL));
00412 }
00413 }
00414
00421 public static class TitleYearType extends AbstractModel {
00422
00423
00424 public static final String TITLE = "title";
00425 public static final String TYPE = "type";
00426 public static final String YEAR = "year";
00427
00428
00429 public final String title;
00430 public final String type;
00431 public final Integer year;
00432
00439 public TitleYearType(String title, String type, Integer year) {
00440 this.title = title;
00441 this.type = type;
00442 this.year = year;
00443 }
00444
00445 @Override
00446 public JsonNode toJsonNode() {
00447 final ObjectNode node = OM.createObjectNode();
00448 node.put(TITLE, title);
00449 node.put(TYPE, type);
00450 node.put(YEAR, year);
00451 return node;
00452 }
00453
00459 @Override
00460 public void writeToParcel(Parcel parcel, int flags) {
00461 parcel.writeValue(title);
00462 parcel.writeValue(type);
00463 parcel.writeValue(year);
00464 }
00465
00469 protected TitleYearType(Parcel parcel) {
00470 title = parcel.readString();
00471 type = parcel.readString();
00472 year = parcel.readInt();
00473 }
00474
00478 public static final Parcelable.Creator<TitleYearType> CREATOR = new Parcelable.Creator<TitleYearType>() {
00479 @Override
00480 public TitleYearType createFromParcel(Parcel parcel) {
00481 return new TitleYearType(parcel);
00482 }
00483 @Override
00484 public TitleYearType[] newArray(int n) {
00485 return new TitleYearType[n];
00486 }
00487 };
00488
00489 @Override
00490 public int describeContents() {
00491 return 0;
00492 }
00493
00497 public interface Type {
00498
00499 public final String UNKNOWN = "unknown";
00500 public final String MOVIE = "movie";
00501 public final String EPISODE = "episode";
00502 public final String MUSICVIDEO = "musicvideo";
00503 public final String SONG = "song";
00504 public final String PICTURE = "picture";
00505 public final String CHANNEL = "channel";
00506
00507 public final static Set<String> values = new HashSet<String>(Arrays.asList(UNKNOWN, MOVIE, EPISODE, MUSICVIDEO, SONG, PICTURE, CHANNEL));
00508 }
00509 }
00510
00517 public static class TitleEpisodeSeasonTypeShowtitle extends AbstractModel {
00518
00519
00520 public static final String EPISODE = "episode";
00521 public static final String SEASON = "season";
00522 public static final String SHOWTITLE = "showtitle";
00523 public static final String TITLE = "title";
00524 public static final String TYPE = "type";
00525
00526
00527 public final Integer episode;
00528 public final Integer season;
00529 public final String showtitle;
00530 public final String title;
00531 public final String type;
00532
00541 public TitleEpisodeSeasonTypeShowtitle(Integer episode, Integer season, String showtitle, String title, String type) {
00542 this.episode = episode;
00543 this.season = season;
00544 this.showtitle = showtitle;
00545 this.title = title;
00546 this.type = type;
00547 }
00548
00549 @Override
00550 public JsonNode toJsonNode() {
00551 final ObjectNode node = OM.createObjectNode();
00552 node.put(EPISODE, episode);
00553 node.put(SEASON, season);
00554 node.put(SHOWTITLE, showtitle);
00555 node.put(TITLE, title);
00556 node.put(TYPE, type);
00557 return node;
00558 }
00559
00565 @Override
00566 public void writeToParcel(Parcel parcel, int flags) {
00567 parcel.writeValue(episode);
00568 parcel.writeValue(season);
00569 parcel.writeValue(showtitle);
00570 parcel.writeValue(title);
00571 parcel.writeValue(type);
00572 }
00573
00577 protected TitleEpisodeSeasonTypeShowtitle(Parcel parcel) {
00578 episode = parcel.readInt();
00579 season = parcel.readInt();
00580 showtitle = parcel.readString();
00581 title = parcel.readString();
00582 type = parcel.readString();
00583 }
00584
00588 public static final Parcelable.Creator<TitleEpisodeSeasonTypeShowtitle> CREATOR = new Parcelable.Creator<TitleEpisodeSeasonTypeShowtitle>() {
00589 @Override
00590 public TitleEpisodeSeasonTypeShowtitle createFromParcel(Parcel parcel) {
00591 return new TitleEpisodeSeasonTypeShowtitle(parcel);
00592 }
00593 @Override
00594 public TitleEpisodeSeasonTypeShowtitle[] newArray(int n) {
00595 return new TitleEpisodeSeasonTypeShowtitle[n];
00596 }
00597 };
00598
00599 @Override
00600 public int describeContents() {
00601 return 0;
00602 }
00603
00607 public interface Type {
00608
00609 public final String UNKNOWN = "unknown";
00610 public final String MOVIE = "movie";
00611 public final String EPISODE = "episode";
00612 public final String MUSICVIDEO = "musicvideo";
00613 public final String SONG = "song";
00614 public final String PICTURE = "picture";
00615 public final String CHANNEL = "channel";
00616
00617 public final static Set<String> values = new HashSet<String>(Arrays.asList(UNKNOWN, MOVIE, EPISODE, MUSICVIDEO, SONG, PICTURE, CHANNEL));
00618 }
00619 }
00620
00627 public static class TitleAlbumArtistType extends AbstractModel {
00628
00629
00630 public static final String ALBUM = "album";
00631 public static final String ARTIST = "artist";
00632 public static final String TITLE = "title";
00633 public static final String TYPE = "type";
00634
00635
00636 public final String album;
00637 public final String artist;
00638 public final String title;
00639 public final String type;
00640
00648 public TitleAlbumArtistType(String album, String artist, String title, String type) {
00649 this.album = album;
00650 this.artist = artist;
00651 this.title = title;
00652 this.type = type;
00653 }
00654
00655 @Override
00656 public JsonNode toJsonNode() {
00657 final ObjectNode node = OM.createObjectNode();
00658 node.put(ALBUM, album);
00659 node.put(ARTIST, artist);
00660 node.put(TITLE, title);
00661 node.put(TYPE, type);
00662 return node;
00663 }
00664
00670 @Override
00671 public void writeToParcel(Parcel parcel, int flags) {
00672 parcel.writeValue(album);
00673 parcel.writeValue(artist);
00674 parcel.writeValue(title);
00675 parcel.writeValue(type);
00676 }
00677
00681 protected TitleAlbumArtistType(Parcel parcel) {
00682 album = parcel.readString();
00683 artist = parcel.readString();
00684 title = parcel.readString();
00685 type = parcel.readString();
00686 }
00687
00691 public static final Parcelable.Creator<TitleAlbumArtistType> CREATOR = new Parcelable.Creator<TitleAlbumArtistType>() {
00692 @Override
00693 public TitleAlbumArtistType createFromParcel(Parcel parcel) {
00694 return new TitleAlbumArtistType(parcel);
00695 }
00696 @Override
00697 public TitleAlbumArtistType[] newArray(int n) {
00698 return new TitleAlbumArtistType[n];
00699 }
00700 };
00701
00702 @Override
00703 public int describeContents() {
00704 return 0;
00705 }
00706
00710 public interface Type {
00711
00712 public final String UNKNOWN = "unknown";
00713 public final String MOVIE = "movie";
00714 public final String EPISODE = "episode";
00715 public final String MUSICVIDEO = "musicvideo";
00716 public final String SONG = "song";
00717 public final String PICTURE = "picture";
00718 public final String CHANNEL = "channel";
00719
00720 public final static Set<String> values = new HashSet<String>(Arrays.asList(UNKNOWN, MOVIE, EPISODE, MUSICVIDEO, SONG, PICTURE, CHANNEL));
00721 }
00722 }
00723
00730 public static class TitleAlbumTrackArtistType extends AbstractModel {
00731
00732
00733 public static final String ALBUM = "album";
00734 public static final String ARTIST = "artist";
00735 public static final String TITLE = "title";
00736 public static final String TRACK = "track";
00737 public static final String TYPE = "type";
00738
00739
00740 public final String album;
00741 public final String artist;
00742 public final String title;
00743 public final Integer track;
00744 public final String type;
00745
00754 public TitleAlbumTrackArtistType(String album, String artist, String title, Integer track, String type) {
00755 this.album = album;
00756 this.artist = artist;
00757 this.title = title;
00758 this.track = track;
00759 this.type = type;
00760 }
00761
00762 @Override
00763 public JsonNode toJsonNode() {
00764 final ObjectNode node = OM.createObjectNode();
00765 node.put(ALBUM, album);
00766 node.put(ARTIST, artist);
00767 node.put(TITLE, title);
00768 node.put(TRACK, track);
00769 node.put(TYPE, type);
00770 return node;
00771 }
00772
00778 @Override
00779 public void writeToParcel(Parcel parcel, int flags) {
00780 parcel.writeValue(album);
00781 parcel.writeValue(artist);
00782 parcel.writeValue(title);
00783 parcel.writeValue(track);
00784 parcel.writeValue(type);
00785 }
00786
00790 protected TitleAlbumTrackArtistType(Parcel parcel) {
00791 album = parcel.readString();
00792 artist = parcel.readString();
00793 title = parcel.readString();
00794 track = parcel.readInt();
00795 type = parcel.readString();
00796 }
00797
00801 public static final Parcelable.Creator<TitleAlbumTrackArtistType> CREATOR = new Parcelable.Creator<TitleAlbumTrackArtistType>() {
00802 @Override
00803 public TitleAlbumTrackArtistType createFromParcel(Parcel parcel) {
00804 return new TitleAlbumTrackArtistType(parcel);
00805 }
00806 @Override
00807 public TitleAlbumTrackArtistType[] newArray(int n) {
00808 return new TitleAlbumTrackArtistType[n];
00809 }
00810 };
00811
00812 @Override
00813 public int describeContents() {
00814 return 0;
00815 }
00816
00820 public interface Type {
00821
00822 public final String UNKNOWN = "unknown";
00823 public final String MOVIE = "movie";
00824 public final String EPISODE = "episode";
00825 public final String MUSICVIDEO = "musicvideo";
00826 public final String SONG = "song";
00827 public final String PICTURE = "picture";
00828 public final String CHANNEL = "channel";
00829
00830 public final static Set<String> values = new HashSet<String>(Arrays.asList(UNKNOWN, MOVIE, EPISODE, MUSICVIDEO, SONG, PICTURE, CHANNEL));
00831 }
00832 }
00833
00840 public static class FileType extends AbstractModel {
00841
00842
00843 public static final String FILE = "file";
00844 public static final String TYPE = "type";
00845
00846
00847 public final String file;
00848 public final String type;
00849
00855 public FileType(String file, String type) {
00856 this.file = file;
00857 this.type = type;
00858 }
00859
00860 @Override
00861 public JsonNode toJsonNode() {
00862 final ObjectNode node = OM.createObjectNode();
00863 node.put(FILE, file);
00864 node.put(TYPE, type);
00865 return node;
00866 }
00867
00873 @Override
00874 public void writeToParcel(Parcel parcel, int flags) {
00875 parcel.writeValue(file);
00876 parcel.writeValue(type);
00877 }
00878
00882 protected FileType(Parcel parcel) {
00883 file = parcel.readString();
00884 type = parcel.readString();
00885 }
00886
00890 public static final Parcelable.Creator<FileType> CREATOR = new Parcelable.Creator<FileType>() {
00891 @Override
00892 public FileType createFromParcel(Parcel parcel) {
00893 return new FileType(parcel);
00894 }
00895 @Override
00896 public FileType[] newArray(int n) {
00897 return new FileType[n];
00898 }
00899 };
00900
00901 @Override
00902 public int describeContents() {
00903 return 0;
00904 }
00905
00909 public interface Type {
00910
00911 public final String UNKNOWN = "unknown";
00912 public final String MOVIE = "movie";
00913 public final String EPISODE = "episode";
00914 public final String MUSICVIDEO = "musicvideo";
00915 public final String SONG = "song";
00916 public final String PICTURE = "picture";
00917 public final String CHANNEL = "channel";
00918
00919 public final static Set<String> values = new HashSet<String>(Arrays.asList(UNKNOWN, MOVIE, EPISODE, MUSICVIDEO, SONG, PICTURE, CHANNEL));
00920 }
00921 }
00922
00929 public static class IdTitleChanneltypeType extends AbstractModel {
00930
00931
00932 public static final String CHANNELTYPE = "channeltype";
00933 public static final String ID = "id";
00934 public static final String TITLE = "title";
00935 public static final String TYPE = "type";
00936
00937
00938 public final String channeltype;
00939 public final Integer id;
00940 public final String title;
00941 public final String type;
00942
00950 public IdTitleChanneltypeType(String channeltype, Integer id, String title, String type) {
00951 this.channeltype = channeltype;
00952 this.id = id;
00953 this.title = title;
00954 this.type = type;
00955 }
00956
00957 @Override
00958 public JsonNode toJsonNode() {
00959 final ObjectNode node = OM.createObjectNode();
00960 node.put(CHANNELTYPE, channeltype);
00961 node.put(ID, id);
00962 node.put(TITLE, title);
00963 node.put(TYPE, type);
00964 return node;
00965 }
00966
00972 @Override
00973 public void writeToParcel(Parcel parcel, int flags) {
00974 parcel.writeValue(channeltype);
00975 parcel.writeValue(id);
00976 parcel.writeValue(title);
00977 parcel.writeValue(type);
00978 }
00979
00983 protected IdTitleChanneltypeType(Parcel parcel) {
00984 channeltype = parcel.readString();
00985 id = parcel.readInt();
00986 title = parcel.readString();
00987 type = parcel.readString();
00988 }
00989
00993 public static final Parcelable.Creator<IdTitleChanneltypeType> CREATOR = new Parcelable.Creator<IdTitleChanneltypeType>() {
00994 @Override
00995 public IdTitleChanneltypeType createFromParcel(Parcel parcel) {
00996 return new IdTitleChanneltypeType(parcel);
00997 }
00998 @Override
00999 public IdTitleChanneltypeType[] newArray(int n) {
01000 return new IdTitleChanneltypeType[n];
01001 }
01002 };
01003
01004 @Override
01005 public int describeContents() {
01006 return 0;
01007 }
01008
01012 public interface Channeltype {
01013
01014 public final String TV = "tv";
01015 public final String RADIO = "radio";
01016
01017 public final static Set<String> values = new HashSet<String>(Arrays.asList(TV, RADIO));
01018 }
01019
01023 public interface Type {
01024
01025 public final String UNKNOWN = "unknown";
01026 public final String MOVIE = "movie";
01027 public final String EPISODE = "episode";
01028 public final String MUSICVIDEO = "musicvideo";
01029 public final String SONG = "song";
01030 public final String PICTURE = "picture";
01031 public final String CHANNEL = "channel";
01032
01033 public final static Set<String> values = new HashSet<String>(Arrays.asList(UNKNOWN, MOVIE, EPISODE, MUSICVIDEO, SONG, PICTURE, CHANNEL));
01034 }
01035 }
01036 }
01037
01041 public interface ItemType {
01042
01043 public final String UNKNOWN = "unknown";
01044 public final String MOVIE = "movie";
01045 public final String EPISODE = "episode";
01046 public final String MUSICVIDEO = "musicvideo";
01047 public final String SONG = "song";
01048 public final String PICTURE = "picture";
01049 public final String CHANNEL = "channel";
01050
01051 public final static Set<String> values = new HashSet<String>(Arrays.asList(UNKNOWN, MOVIE, EPISODE, MUSICVIDEO, SONG, PICTURE, CHANNEL));
01052 }
01053 }