org.identifiers.combine_specifications.omex_manifest.Content Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of taverna-robundle Show documentation
Show all versions of taverna-robundle Show documentation
API for dealing with RO Bundles
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.07.29 at 01:54:40 PM BST
//
package org.identifiers.combine_specifications.omex_manifest;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* The *Content* class represents an entry in the *OmexManifest* and by extension a file in the _COMBINE archive_.
*
* Java class for Content complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Content">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="format" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="master" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Content")
public class Content {
@XmlAttribute(name = "location")
protected String location;
@XmlAttribute(name = "format")
protected String format;
@XmlAttribute(name = "master")
protected Boolean master;
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocation(String value) {
this.location = value;
}
/**
* Gets the value of the format property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFormat() {
return format;
}
/**
* Sets the value of the format property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFormat(String value) {
this.format = value;
}
/**
* Gets the value of the master property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean getMaster() {
if (master == null) {
return false;
} else {
return master;
}
}
/**
* Sets the value of the master property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMaster(Boolean value) {
this.master = value;
}
}