All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yestech.episodic.objectmodel.Format Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
package org.yestech.episodic.objectmodel;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlAccessorType;
import java.util.ArrayList;
import java.util.List;
import java.io.Serializable;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "format")
public class Format implements Serializable {

    @XmlElement(required = true)
    protected String name;
    @XmlElement(required = true)
    protected int width;
    @XmlElement(required = true)
    protected int height;
    @XmlElement(name = "thumbnail_url", required = true)
    protected String thumbnailUrl;
    @XmlElement(required = true)
    protected List player;

    public String getName() {
        return name;
    }

    public void setName(String value) {
        this.name = value;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int value) {
        this.width = value;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int value) {
        this.height = value;
    }

    public String getThumbnailUrl() {
        return thumbnailUrl;
    }

    public void setThumbnailUrl(String value) {
        this.thumbnailUrl = value;
    }

    /**
     * Gets the value of the player property.
     *
     * 

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the player property. * *

* For example, to add a new item, do as follows: *

     *    getPlayer().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Player } * * */ public List getPlayer() { if (player == null) { player = new ArrayList(); } return this.player; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy