
org.openfuxml.content.media.Media Maven / Gradle / Ivy
package org.openfuxml.content.media;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import net.sf.exlp.xml.io.File;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://exlp.sf.net/io}file" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="src" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="dst" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"file"
})
@XmlRootElement(name = "media")
public class Media
implements Serializable
{
private final static long serialVersionUID = 1L;
@XmlElement(namespace = "http://exlp.sf.net/io")
protected File file;
@XmlAttribute(name = "id")
protected String id;
@XmlAttribute(name = "src")
protected String src;
@XmlAttribute(name = "dst")
protected String dst;
/**
* Gets the value of the file property.
*
* @return
* possible object is
* {@link File }
*
*/
public File getFile() {
return file;
}
/**
* Sets the value of the file property.
*
* @param value
* allowed object is
* {@link File }
*
*/
public void setFile(File value) {
this.file = value;
}
public boolean isSetFile() {
return (this.file!= null);
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
public boolean isSetId() {
return (this.id!= null);
}
/**
* Gets the value of the src property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSrc() {
return src;
}
/**
* Sets the value of the src property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSrc(String value) {
this.src = value;
}
public boolean isSetSrc() {
return (this.src!= null);
}
/**
* Gets the value of the dst property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDst() {
return dst;
}
/**
* Sets the value of the dst property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDst(String value) {
this.dst = value;
}
public boolean isSetDst() {
return (this.dst!= null);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy