//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2014.08.09 at 06:44:50 PM IST 
//


package com.pacificmetrics.ims.apip.cp;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 *                 A File element declares a reference to a single asset. The reference may be relative to the Package containing the file element or absolute (external to the Package). A File element may contain child extensions declaring alternative references to the same asset as that referenced by the file element's 'href' attribute.
 * Represents a binding of the kinds of child objects defined for ims-cp-imFile: File.[ Metadata, Extension ].
 *                 Represents a binding of the kinds of characteristic objects defined for ims-cp-imFile: File{ Href, Other }.
 *                 [APIPv1p0] Profile - the changes to the XML element list are:
 *                 * The "extension" element has been prohibited;
 *                 [APIPv1p0] Profile - the changes to the XML attribute list are:
 *                 * The "extension" attribute has been prohibited;
 *             
 * 
 * <p>Java class for File.Type complex type.
 * 
 * <p>The following schema fragment specifies the expected content contained within this class.
 * 
 * <pre>
 * &lt;complexType name="File.Type">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="metadata" type="{http://www.imsglobal.org/xsd/apip/apipv1p0/imscp_v1p1}FileMetadata.Type" minOccurs="0"/>
 *       &lt;/sequence>
 *       &lt;attribute name="href" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "File.Type", propOrder = {
    "metadata"
})
public class FileType {

    protected FileMetadataType metadata;
    @XmlAttribute(name = "href", required = true)
    @XmlSchemaType(name = "anyURI")
    protected String href;

    /**
     * Gets the value of the metadata property.
     * 
     * @return
     *     possible object is
     *     {@link FileMetadataType }
     *     
     */
    public FileMetadataType getMetadata() {
        return metadata;
    }

    /**
     * Sets the value of the metadata property.
     * 
     * @param value
     *     allowed object is
     *     {@link FileMetadataType }
     *     
     */
    public void setMetadata(FileMetadataType value) {
        this.metadata = value;
    }

    /**
     * Gets the value of the href property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getHref() {
        return href;
    }

    /**
     * Sets the value of the href property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public void setHref(String value) {
        this.href = value;
    }

}
