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

org.omg.xmi.Extension Maven / Gradle / Ivy

There is a newer version: 4.0.0
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.5-b10 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2013.09.13 at 12:06:48 PM EST 
//


package org.omg.xmi;

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.XmlAnyElement;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlIDREF;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import javax.xml.namespace.QName;
import org.w3c.dom.Element;


/**
 * 

Java class for Extension complex type. * *

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

 * <complexType name="Extension">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <choice maxOccurs="unbounded" minOccurs="0">
 *         <any processContents='lax'/>
 *       </choice>
 *       <attGroup ref="{http://www.omg.org/spec/XMI/20110701}ObjectAttribs"/>
 *       <attribute ref="{http://www.omg.org/spec/XMI/20110701}id"/>
 *       <attribute name="extender" type="{http://www.w3.org/2001/XMLSchema}string" />
 *       <attribute name="extenderID" type="{http://www.w3.org/2001/XMLSchema}string" />
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Extension", propOrder = { "any" }) public class Extension { @XmlAnyElement(lax = true) protected List any; @XmlAttribute(name = "id", namespace = "http://www.omg.org/spec/XMI/20110701") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "extender") protected String extender; @XmlAttribute(name = "extenderID") protected String extenderID; @XmlAttribute(name = "type", namespace = "http://www.omg.org/spec/XMI/20110701") protected QName type; @XmlAttribute(name = "label", namespace = "http://www.omg.org/spec/XMI/20110701") protected String label; @XmlAttribute(name = "uuid", namespace = "http://www.omg.org/spec/XMI/20110701") protected String uuid; @XmlAttribute(name = "href") @XmlSchemaType(name = "anyURI") protected String href; @XmlAttribute(name = "idref", namespace = "http://www.omg.org/spec/XMI/20110701") @XmlIDREF @XmlSchemaType(name = "IDREF") protected Object idref; /** * Gets the value of the any 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 any property. * *

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

     *    getAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Element } * {@link Object } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } /** * 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 extender property. * * @return * possible object is * {@link String } * */ public String getExtender() { return extender; } /** * Sets the value of the extender property. * * @param value * allowed object is * {@link String } * */ public void setExtender(String value) { this.extender = value; } /** * Gets the value of the extenderID property. * * @return * possible object is * {@link String } * */ public String getExtenderID() { return extenderID; } /** * Sets the value of the extenderID property. * * @param value * allowed object is * {@link String } * */ public void setExtenderID(String value) { this.extenderID = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link QName } * */ public QName getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link QName } * */ public void setType(QName value) { this.type = value; } /** * Gets the value of the label property. * * @return * possible object is * {@link String } * */ public String getLabel() { return label; } /** * Sets the value of the label property. * * @param value * allowed object is * {@link String } * */ public void setLabel(String value) { this.label = value; } /** * Gets the value of the uuid property. * * @return * possible object is * {@link String } * */ public String getUuid() { return uuid; } /** * Sets the value of the uuid property. * * @param value * allowed object is * {@link String } * */ public void setUuid(String value) { this.uuid = 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; } /** * Gets the value of the idref property. * * @return * possible object is * {@link Object } * */ public Object getIdref() { return idref; } /** * Sets the value of the idref property. * * @param value * allowed object is * {@link Object } * */ public void setIdref(Object value) { this.idref = value; } }