/* * Copyright 2014 JBoss Inc * * Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ // // 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: 2015.04.07 at 04:43:56 PM EDT // package org.w3._1999.xlink; import java.io.Serializable; 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. * * * <p>Java class for extended complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <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> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "extended", propOrder = { "extendedModel" }) public class Extended implements Serializable { private static final long serialVersionUID = -4831205231089058456L; @XmlElements({ @XmlElement(name = "xtitle", type = TitleEltType.class), @XmlElement(name = "resource", type = ResourceType.class), @XmlElement(name = "locator", type = LocatorType.class), @XmlElement(name = "arc", type = ArcType.class) }) protected List<Serializable> extendedModel; @XmlAttribute(name = "type", namespace = "http://www.w3.org/1999/xlink", required = true) protected TypeType type; @XmlAttribute(name = "role", namespace = "http://www.w3.org/1999/xlink") protected String role; @XmlAttribute(name = "title", namespace = "http://www.w3.org/1999/xlink") protected String title; /** * Gets the value of the extendedModel property. * * <p> * 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 <CODE>set</CODE> method for the extendedModel property. * * <p> * For example, to add a new item, do as follows: * <pre> * getExtendedModel().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TitleEltType } * {@link ResourceType } * {@link LocatorType } * {@link ArcType } * * */ public List<Serializable> getExtendedModel() { if (extendedModel == null) { extendedModel = new ArrayList<Serializable>(); } 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 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; } }