All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nmdp.gl.client.xmlxlink.jaxb.Extended Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2015.05.26 at 09:52:51 PM CDT 
//


package org.nmdp.gl.client.xmlxlink.jaxb;

import java.util.ArrayList;
import java.util.List;
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.XmlElements;
import javax.xml.bind.annotation.XmlType;


/**
 * 
 *     Intended for use as the type of user-declared elements to make them
 *     extended links.
 *     Note that the elements referenced in the content model are all abstract.
 *     The intention is that by simply declaring elements with these as their
 *     substitutionGroup, all the right things will happen.
 *    
 * 
 * 

Java class for extended complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="extended">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <group ref="{http://www.w3.org/1999/xlink}extendedModel" maxOccurs="unbounded" minOccurs="0"/>
 *       <attGroup ref="{http://www.w3.org/1999/xlink}extendedAttrs"/>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "extended", namespace = "http://www.w3.org/1999/xlink", propOrder = { "extendedModel" }) public class Extended { @XmlElements({ @XmlElement(name = "arc", type = ArcType.class), @XmlElement(name = "resource", type = ResourceType.class), @XmlElement(name = "title", type = TitleEltType.class), @XmlElement(name = "locator", type = LocatorType.class) }) protected List extendedModel; @XmlAttribute(namespace = "http://www.w3.org/1999/xlink", required = true) protected TypeType type; @XmlAttribute(namespace = "http://www.w3.org/1999/xlink") protected String role; @XmlAttribute(name = "title", namespace = "http://www.w3.org/1999/xlink") protected String titleAttribute; /** * Gets the value of the extendedModel property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the extendedModel property. * *

* For example, to add a new item, do as follows: *

     *    getExtendedModel().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ArcType } * {@link ResourceType } * {@link TitleEltType } * {@link LocatorType } * * */ public List getExtendedModel() { if (extendedModel == null) { extendedModel = new ArrayList(); } return this.extendedModel; } /** * Gets the value of the type property. * * @return * possible object is * {@link TypeType } * */ public TypeType getType() { if (type == null) { return TypeType.EXTENDED; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is * {@link TypeType } * */ public void setType(TypeType value) { this.type = value; } /** * Gets the value of the role property. * * @return * possible object is * {@link String } * */ public String getRole() { return role; } /** * Sets the value of the role property. * * @param value * allowed object is * {@link String } * */ public void setRole(String value) { this.role = value; } /** * Gets the value of the titleAttribute property. * * @return * possible object is * {@link String } * */ public String getTitleAttribute() { return titleAttribute; } /** * Sets the value of the titleAttribute property. * * @param value * allowed object is * {@link String } * */ public void setTitleAttribute(String value) { this.titleAttribute = value; } }