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

no.ntnu.ihb.sspgen.ssp.TParameterBindings Maven / Gradle / Ivy

There is a newer version: 0.5.2
Show newest version

package no.ntnu.ihb.sspgen.ssp;

import org.w3c.dom.Element;

import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;


/**
 * 

Java class for TParameterBindings complex type. * *

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

 * <complexType name="TParameterBindings">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence maxOccurs="unbounded">
 *         <element name="ParameterBinding">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <element name="ParameterValues" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <choice>
 *                             <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
 *                           </choice>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element name="ParameterMapping" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <choice>
 *                             <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
 *                           </choice>
 *                           <attGroup ref="{http://ssp-standard.org/SSP1/SystemStructureCommon}ABaseElement"/>
 *                           <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="application/x-ssp-parameter-mapping" />
 *                           <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *                           <attribute name="sourceBase" default="SSD">
 *                             <simpleType>
 *                               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                                 <enumeration value="SSD"/>
 *                                 <enumeration value="component"/>
 *                               </restriction>
 *                             </simpleType>
 *                           </attribute>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                   <element name="Annotations" type="{http://ssp-standard.org/SSP1/SystemStructureCommon}TAnnotations" minOccurs="0"/>
 *                 </sequence>
 *                 <attGroup ref="{http://ssp-standard.org/SSP1/SystemStructureCommon}ABaseElement"/>
 *                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="application/x-ssp-parameter-set" />
 *                 <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
 *                 <attribute name="sourceBase" default="SSD">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="SSD"/>
 *                       <enumeration value="component"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *                 <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TParameterBindings", namespace = "http://ssp-standard.org/SSP1/SystemStructureDescription", propOrder = { "parameterBinding" }) public class TParameterBindings { @XmlElement(name = "ParameterBinding", namespace = "http://ssp-standard.org/SSP1/SystemStructureDescription", required = true) protected List parameterBinding; /** * Gets the value of the parameterBinding 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 parameterBinding property. * *

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

     *    getParameterBinding().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ParameterBinding } * * */ public List getParameterBinding() { if (parameterBinding == null) { parameterBinding = new ArrayList(); } return this.parameterBinding; } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <element name="ParameterValues" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <choice>
     *                   <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
     *                 </choice>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *         <element name="ParameterMapping" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <choice>
     *                   <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
     *                 </choice>
     *                 <attGroup ref="{http://ssp-standard.org/SSP1/SystemStructureCommon}ABaseElement"/>
     *                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="application/x-ssp-parameter-mapping" />
     *                 <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     *                 <attribute name="sourceBase" default="SSD">
     *                   <simpleType>
     *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *                       <enumeration value="SSD"/>
     *                       <enumeration value="component"/>
     *                     </restriction>
     *                   </simpleType>
     *                 </attribute>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *         <element name="Annotations" type="{http://ssp-standard.org/SSP1/SystemStructureCommon}TAnnotations" minOccurs="0"/>
     *       </sequence>
     *       <attGroup ref="{http://ssp-standard.org/SSP1/SystemStructureCommon}ABaseElement"/>
     *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="application/x-ssp-parameter-set" />
     *       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
     *       <attribute name="sourceBase" default="SSD">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="SSD"/>
     *             <enumeration value="component"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *       <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "parameterValues", "parameterMapping", "annotations" }) public static class ParameterBinding { @XmlElement(name = "ParameterValues", namespace = "http://ssp-standard.org/SSP1/SystemStructureDescription") protected ParameterValues parameterValues; @XmlElement(name = "ParameterMapping", namespace = "http://ssp-standard.org/SSP1/SystemStructureDescription") protected ParameterMapping parameterMapping; @XmlElement(name = "Annotations", namespace = "http://ssp-standard.org/SSP1/SystemStructureDescription") protected TAnnotations annotations; @XmlAttribute(name = "type") protected String type; @XmlAttribute(name = "source") @XmlSchemaType(name = "anyURI") protected String source; @XmlAttribute(name = "sourceBase") protected String sourceBase; @XmlAttribute(name = "prefix") protected String prefix; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "description") protected String description; /** * Gets the value of the parameterValues property. * * @return possible object is * {@link ParameterValues } */ public ParameterValues getParameterValues() { return parameterValues; } /** * Sets the value of the parameterValues property. * * @param value * allowed object is * {@link ParameterValues } * */ public void setParameterValues(ParameterValues value) { this.parameterValues = value; } /** * Gets the value of the parameterMapping property. * * @return * possible object is * {@link ParameterMapping } * */ public ParameterMapping getParameterMapping() { return parameterMapping; } /** * Sets the value of the parameterMapping property. * * @param value * allowed object is * {@link ParameterMapping } * */ public void setParameterMapping(ParameterMapping value) { this.parameterMapping = value; } /** * Gets the value of the annotations property. * * @return * possible object is * {@link TAnnotations } * */ public TAnnotations getAnnotations() { return annotations; } /** * Sets the value of the annotations property. * * @param value * allowed object is * {@link TAnnotations } * */ public void setAnnotations(TAnnotations value) { this.annotations = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { if (type == null) { return "application/x-ssp-parameter-set"; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the source property. * * @return * possible object is * {@link String } * */ public String getSource() { return source; } /** * Sets the value of the source property. * * @param value * allowed object is * {@link String } * */ public void setSource(String value) { this.source = value; } /** * Gets the value of the sourceBase property. * * @return * possible object is * {@link String } * */ public String getSourceBase() { if (sourceBase == null) { return "SSD"; } else { return sourceBase; } } /** * Sets the value of the sourceBase property. * * @param value * allowed object is * {@link String } * */ public void setSourceBase(String value) { this.sourceBase = value; } /** * Gets the value of the prefix property. * * @return * possible object is * {@link String } * */ public String getPrefix() { if (prefix == null) { return ""; } else { return prefix; } } /** * Sets the value of the prefix property. * * @param value * allowed object is * {@link String } * */ public void setPrefix(String value) { this.prefix = 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 description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** *

Java class for anonymous complex type. * *

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

         * <complexType>
         *   <complexContent>
         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *       <choice>
         *         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
         *       </choice>
         *       <attGroup ref="{http://ssp-standard.org/SSP1/SystemStructureCommon}ABaseElement"/>
         *       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="application/x-ssp-parameter-mapping" />
         *       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
         *       <attribute name="sourceBase" default="SSD">
         *         <simpleType>
         *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         *             <enumeration value="SSD"/>
         *             <enumeration value="component"/>
         *           </restriction>
         *         </simpleType>
         *       </attribute>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "any" }) public static class ParameterMapping { @XmlAnyElement(lax = true) protected List any; @XmlAttribute(name = "type") protected String type; @XmlAttribute(name = "source") @XmlSchemaType(name = "anyURI") protected String source; @XmlAttribute(name = "sourceBase") protected String sourceBase; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected String id; @XmlAttribute(name = "description") protected String description; /** * 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 type property. * * @return * possible object is * {@link String } * */ public String getType() { if (type == null) { return "application/x-ssp-parameter-mapping"; } else { return type; } } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the source property. * * @return * possible object is * {@link String } * */ public String getSource() { return source; } /** * Sets the value of the source property. * * @param value * allowed object is * {@link String } * */ public void setSource(String value) { this.source = value; } /** * Gets the value of the sourceBase property. * * @return * possible object is * {@link String } * */ public String getSourceBase() { if (sourceBase == null) { return "SSD"; } else { return sourceBase; } } /** * Sets the value of the sourceBase property. * * @param value * allowed object is * {@link String } * */ public void setSourceBase(String value) { this.sourceBase = 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 description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } } @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "parameterSet" }) public static class ParameterValues { @XmlElement(name = "ParameterSet", namespace = "http://ssp-standard.org/SSP1/SystemStructureParameterValues") protected List parameterSet; public List getParameterSet() { if (parameterSet == null) { parameterSet = new ArrayList(); } return this.parameterSet; } } } }