Android Open Source - AT-ST Data






From Project

Back to project page AT-ST.

License

The source code is released under:

GNU General Public License

If you think the Android project AT-ST listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

/*
 * AT-ST. Android TV-Series Tracker./*w  w w.  java 2 s  .c o  m*/
 * Copyright (C) 2014  Simon Levermann
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 */
package de.slevermann.at_st.at_st.data;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

/**
 * Wrapper class for Data types (see TVDB documentation)
 * 
 * @author Simon Levermann
 */
@JacksonXmlRootElement(localName = "Data")
@EqualsAndHashCode
@AllArgsConstructor(suppressConstructorProperties = true)
@NoArgsConstructor
@ToString
public class Data {

  /**
   * The series that this data belongs to
   */
  @Getter
  @Setter
  @JacksonXmlProperty(localName = "Series")
  private Series series;

  /**
   * List of episodes in this series
   */
  @Getter
  @Setter
  @JacksonXmlElementWrapper(useWrapping = false)
  @JacksonXmlProperty(localName = "Episode")
  private List<Episode> episodes;
}




Java Source Code List

de.slevermann.at_st.at_st.activities.MainActivity.java
de.slevermann.at_st.at_st.data.Data.java
de.slevermann.at_st.at_st.data.Episode.java
de.slevermann.at_st.at_st.data.Series.java