/*
 * ICESOFT COMMERCIAL SOURCE CODE LICENSE V 1.1
 *
 * The contents of this file are subject to the ICEsoft Commercial Source
 * Code License Agreement V1.1 (the "License"); you may not use this file
 * except in compliance with the License. You may obtain a copy of the
 * License at
 * http://www.icesoft.com/license/commercial-source-v1.1.html
 *
 * Software distributed under the License is distributed on an "AS IS"
 * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
 * License for the specific language governing rights and limitations under
 * the License.
 *
 * Copyright 2009-2015 ICEsoft Technologies Canada, Corp. All Rights Reserved.
 */

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 
// 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: 2008.02.28 at 03:30:59 PM MST 
//


package com.icesoft.faces.application.showcase.view.jaxb;

import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.io.Serializable;


/**
 * <p>Java class for anonymous complex type.
 * <p/>
 * <p>The following schema fragment specifies the expected content contained within this class.
 * <p/>
 * <pre>
 * &lt;complexType>
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element ref="{}example"/>
 *         &lt;element ref="{}source-code"/>
 *         &lt;element ref="{}documentation"/>
 *       &lt;/sequence>
 *       &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
 *       &lt;attribute name="title" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       &lt;attribute name="templateRef" type="{http://www.w3.org/2001/XMLSchema}IDREF" />
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
        "example",
        "sourceCode",
        "documentation"
})
@XmlRootElement(name = "content-descriptor")
public class ContentDescriptor implements Serializable {

    @XmlElement(required = true)
    protected Example example;
    @XmlElement(name = "source-code", required = true)
    protected SourceCode sourceCode;
    @XmlElement(required = true)
    protected Documentation documentation;
    @XmlAttribute(required = true)
    @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
    @XmlID
    @XmlSchemaType(name = "ID")
    protected String id;
    @XmlAttribute(required = true)
    protected String title;
    @XmlAttribute
    @XmlIDREF
    @XmlSchemaType(name = "IDREF")
    protected ResourceType templateRef;

    /**
     * Gets the value of the example property.
     *
     * @return possible object is
     *         {@link Example }
     */
    public Example getExample() {
        return example;
    }

    /**
     * Sets the value of the example property.
     *
     * @param value allowed object is
     *              {@link Example }
     */
    public void setExample(Example value) {
        this.example = value;
    }

    /**
     * Gets the value of the sourceCode property.
     *
     * @return possible object is
     *         {@link SourceCode }
     */
    public SourceCode getSourceCode() {
        return sourceCode;
    }

    /**
     * Sets the value of the sourceCode property.
     *
     * @param value allowed object is
     *              {@link SourceCode }
     */
    public void setSourceCode(SourceCode value) {
        this.sourceCode = value;
    }

    /**
     * Gets the value of the documentation property.
     *
     * @return possible object is
     *         {@link Documentation }
     */
    public Documentation getDocumentation() {
        return documentation;
    }

    /**
     * Sets the value of the documentation property.
     *
     * @param value allowed object is
     *              {@link Documentation }
     */
    public void setDocumentation(Documentation value) {
        this.documentation = value;
    }

    /**
     * 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;
    }

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

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

    /**
     * Gets the value of the templateRef property.
     *
     * @return possible object is
     *         {@link Object }
     */
    public ResourceType getTemplateRef() {
        return templateRef;
    }

    /**
     * Sets the value of the templateRef property.
     *
     * @param value allowed object is
     *              {@link Object }
     */
    public void setTemplateRef(ResourceType value) {
        this.templateRef = value;
    }

}
