001//
002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-558 
003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004// Any modifications to this file will be lost upon recompilation of the source schema. 
005// Generated on: 2011.09.19 at 03:18:45 PM MESZ 
006//
007
008
009package playground.vsp.gexf;
010
011import java.util.ArrayList;
012import java.util.List;
013import javax.xml.bind.JAXBElement;
014import javax.xml.bind.annotation.XmlAccessType;
015import javax.xml.bind.annotation.XmlAccessorType;
016import javax.xml.bind.annotation.XmlAttribute;
017import javax.xml.bind.annotation.XmlElementRef;
018import javax.xml.bind.annotation.XmlElementRefs;
019import javax.xml.bind.annotation.XmlType;
020
021
022/**
023 * <p>Java class for attribute-content complex type.
024 * 
025 * <p>The following schema fragment specifies the expected content contained within this class.
026 * 
027 * <pre>
028 * &lt;complexType name="attribute-content">
029 *   &lt;complexContent>
030 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031 *       &lt;choice maxOccurs="unbounded" minOccurs="0">
032 *         &lt;element ref="{http://www.gexf.net/1.2draft}default"/>
033 *         &lt;element ref="{http://www.gexf.net/1.2draft}options"/>
034 *       &lt;/choice>
035 *       &lt;attribute name="id" use="required" type="{http://www.gexf.net/1.2draft}id-type" />
036 *       &lt;attribute name="title" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
037 *       &lt;attribute name="type" use="required" type="{http://www.gexf.net/1.2draft}attrtype-type" />
038 *     &lt;/restriction>
039 *   &lt;/complexContent>
040 * &lt;/complexType>
041 * </pre>
042 * 
043 * 
044 */
045@XmlAccessorType(XmlAccessType.FIELD)
046@XmlType(name = "attribute-content", propOrder = {
047    "defaultOrOptions"
048})
049public class XMLAttributeContent {
050
051    @XmlElementRefs({
052        @XmlElementRef(name = "default", namespace = "http://www.gexf.net/1.2draft", type = JAXBElement.class),
053        @XmlElementRef(name = "options", namespace = "http://www.gexf.net/1.2draft", type = JAXBElement.class)
054    })
055    protected List<JAXBElement<String>> defaultOrOptions;
056    @XmlAttribute(required = true)
057    protected String id;
058    @XmlAttribute(required = true)
059    protected String title;
060    @XmlAttribute(required = true)
061    protected XMLAttrtypeType type;
062
063    /**
064     * Gets the value of the defaultOrOptions property.
065     * 
066     * <p>
067     * This accessor method returns a reference to the live list,
068     * not a snapshot. Therefore any modification you make to the
069     * returned list will be present inside the JAXB object.
070     * This is why there is not a <CODE>set</CODE> method for the defaultOrOptions property.
071     * 
072     * <p>
073     * For example, to add a new item, do as follows:
074     * <pre>
075     *    getDefaultOrOptions().add(newItem);
076     * </pre>
077     * 
078     * 
079     * <p>
080     * Objects of the following type(s) are allowed in the list
081     * {@link JAXBElement }{@code <}{@link String }{@code >}
082     * {@link JAXBElement }{@code <}{@link String }{@code >}
083     * 
084     * 
085     */
086    public List<JAXBElement<String>> getDefaultOrOptions() {
087        if (defaultOrOptions == null) {
088            defaultOrOptions = new ArrayList<JAXBElement<String>>();
089        }
090        return this.defaultOrOptions;
091    }
092
093    /**
094     * Gets the value of the id property.
095     * 
096     * @return
097     *     possible object is
098     *     {@link String }
099     *     
100     */
101    public String getId() {
102        return id;
103    }
104
105    /**
106     * Sets the value of the id property.
107     * 
108     * @param value
109     *     allowed object is
110     *     {@link String }
111     *     
112     */
113    public void setId(String value) {
114        this.id = value;
115    }
116
117    /**
118     * Gets the value of the title property.
119     * 
120     * @return
121     *     possible object is
122     *     {@link String }
123     *     
124     */
125    public String getTitle() {
126        return title;
127    }
128
129    /**
130     * Sets the value of the title property.
131     * 
132     * @param value
133     *     allowed object is
134     *     {@link String }
135     *     
136     */
137    public void setTitle(String value) {
138        this.title = value;
139    }
140
141    /**
142     * Gets the value of the type property.
143     * 
144     * @return
145     *     possible object is
146     *     {@link XMLAttrtypeType }
147     *     
148     */
149    public XMLAttrtypeType getType() {
150        return type;
151    }
152
153    /**
154     * Sets the value of the type property.
155     * 
156     * @param value
157     *     allowed object is
158     *     {@link XMLAttrtypeType }
159     *     
160     */
161    public void setType(XMLAttrtypeType value) {
162        this.type = value;
163    }
164
165}