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

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

There is a newer version: 0.5.2
Show newest version

package no.ntnu.ihb.sspgen.ssp;

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 TConnectors complex type. * *

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

 * <complexType name="TConnectors">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Connector" maxOccurs="unbounded">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <group ref="{http://ssp-standard.org/SSP1/SystemStructureCommon}GTypeChoice" minOccurs="0"/>
 *                   <element name="ConnectorGeometry" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
 *                           <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
 *                         </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="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
 *                 <attribute name="kind" use="required">
 *                   <simpleType>
 *                     <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *                       <enumeration value="input"/>
 *                       <enumeration value="output"/>
 *                       <enumeration value="parameter"/>
 *                       <enumeration value="calculatedParameter"/>
 *                       <enumeration value="inout"/>
 *                     </restriction>
 *                   </simpleType>
 *                 </attribute>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TConnectors", namespace = "http://ssp-standard.org/SSP1/SystemStructureDescription", propOrder = { "connector" }) public class TConnectors { @XmlElement(name = "Connector", namespace = "http://ssp-standard.org/SSP1/SystemStructureDescription", required = true) protected List connector; /** * Gets the value of the connector 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 connector property. * *

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

     *    getConnector().add(newItem);
     * 
* * *

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

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>
     *         <group ref="{http://ssp-standard.org/SSP1/SystemStructureCommon}GTypeChoice" minOccurs="0"/>
     *         <element name="ConnectorGeometry" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
     *                 <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
     *               </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="name" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
     *       <attribute name="kind" use="required">
     *         <simpleType>
     *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
     *             <enumeration value="input"/>
     *             <enumeration value="output"/>
     *             <enumeration value="parameter"/>
     *             <enumeration value="calculatedParameter"/>
     *             <enumeration value="inout"/>
     *           </restriction>
     *         </simpleType>
     *       </attribute>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "real", "integer", "_boolean", "string", "enumeration", "binary", "connectorGeometry", "annotations" }) public static class Connector { @XmlElement(name = "Real", namespace = "http://ssp-standard.org/SSP1/SystemStructureCommon") protected Real real; @XmlElement(name = "Integer", namespace = "http://ssp-standard.org/SSP1/SystemStructureCommon") protected Integer integer; @XmlElement(name = "Boolean", namespace = "http://ssp-standard.org/SSP1/SystemStructureCommon") protected Boolean _boolean; @XmlElement(name = "String", namespace = "http://ssp-standard.org/SSP1/SystemStructureCommon") protected String string; @XmlElement(name = "Enumeration", namespace = "http://ssp-standard.org/SSP1/SystemStructureCommon") protected Enumeration enumeration; @XmlElement(name = "Binary", namespace = "http://ssp-standard.org/SSP1/SystemStructureCommon") protected Binary binary; @XmlElement(name = "ConnectorGeometry", namespace = "http://ssp-standard.org/SSP1/SystemStructureDescription") protected ConnectorGeometry connectorGeometry; @XmlElement(name = "Annotations", namespace = "http://ssp-standard.org/SSP1/SystemStructureDescription") protected TAnnotations annotations; @XmlAttribute(name = "name", required = true) @XmlSchemaType(name = "anySimpleType") protected java.lang.String name; @XmlAttribute(name = "kind", required = true) protected java.lang.String kind; @XmlAttribute(name = "id") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlID @XmlSchemaType(name = "ID") protected java.lang.String id; @XmlAttribute(name = "description") protected java.lang.String description; /** * Gets the value of the real property. * * @return possible object is * {@link Real } */ public Real getReal() { return real; } /** * Sets the value of the real property. * * @param value * allowed object is * {@link Real } * */ public void setReal(Real value) { this.real = value; } /** * Gets the value of the integer property. * * @return * possible object is * {@link Integer } * */ public Integer getInteger() { return integer; } /** * Sets the value of the integer property. * * @param value * allowed object is * {@link Integer } * */ public void setInteger(Integer value) { this.integer = value; } /** * Gets the value of the boolean property. * * @return * possible object is * {@link Boolean } * */ public Boolean getBoolean() { return _boolean; } /** * Sets the value of the boolean property. * * @param value * allowed object is * {@link Boolean } * */ public void setBoolean(Boolean value) { this._boolean = value; } /** * Gets the value of the string property. * * @return * possible object is * {@link String } * */ public String getString() { return string; } /** * Sets the value of the string property. * * @param value * allowed object is * {@link String } * */ public void setString(String value) { this.string = value; } /** * Gets the value of the enumeration property. * * @return * possible object is * {@link Enumeration } * */ public Enumeration getEnumeration() { return enumeration; } /** * Sets the value of the enumeration property. * * @param value * allowed object is * {@link Enumeration } * */ public void setEnumeration(Enumeration value) { this.enumeration = value; } /** * Gets the value of the binary property. * * @return * possible object is * {@link Binary } * */ public Binary getBinary() { return binary; } /** * Sets the value of the binary property. * * @param value * allowed object is * {@link Binary } * */ public void setBinary(Binary value) { this.binary = value; } /** * Gets the value of the connectorGeometry property. * * @return * possible object is * {@link ConnectorGeometry } * */ public ConnectorGeometry getConnectorGeometry() { return connectorGeometry; } /** * Sets the value of the connectorGeometry property. * * @param value * allowed object is * {@link ConnectorGeometry } * */ public void setConnectorGeometry(ConnectorGeometry value) { this.connectorGeometry = 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 name property. * * @return * possible object is * {@link java.lang.String } * */ public java.lang.String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link java.lang.String } * */ public void setName(java.lang.String value) { this.name = value; } /** * Gets the value of the kind property. * * @return * possible object is * {@link java.lang.String } * */ public java.lang.String getKind() { return kind; } /** * Sets the value of the kind property. * * @param value * allowed object is * {@link java.lang.String } * */ public void setKind(java.lang.String value) { this.kind = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link java.lang.String } * */ public java.lang.String getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link java.lang.String } * */ public void setId(java.lang.String value) { this.id = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link java.lang.String } * */ public java.lang.String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link java.lang.String } * */ public void setDescription(java.lang.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">
         *       <attribute name="mime-type" type="{http://www.w3.org/2001/XMLSchema}string" default="application/octet-stream" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Binary { @XmlAttribute(name = "mime-type") protected java.lang.String mimeType; /** * Gets the value of the mimeType property. * * @return * possible object is * {@link java.lang.String } * */ public java.lang.String getMimeType() { if (mimeType == null) { return "application/octet-stream"; } else { return mimeType; } } /** * Sets the value of the mimeType property. * * @param value * allowed object is * {@link java.lang.String } * */ public void setMimeType(java.lang.String value) { this.mimeType = 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">
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Boolean { } /** *

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">
         *       <attribute name="x" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
         *       <attribute name="y" use="required" type="{http://www.w3.org/2001/XMLSchema}double" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class ConnectorGeometry { @XmlAttribute(name = "x", required = true) protected double x; @XmlAttribute(name = "y", required = true) protected double y; /** * Gets the value of the x property. * */ public double getX() { return x; } /** * Sets the value of the x property. * */ public void setX(double value) { this.x = value; } /** * Gets the value of the y property. * */ public double getY() { return y; } /** * Sets the value of the y property. * */ public void setY(double value) { this.y = 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">
         *       <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Enumeration { @XmlAttribute(name = "name", required = true) protected java.lang.String name; /** * Gets the value of the name property. * * @return * possible object is * {@link java.lang.String } * */ public java.lang.String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link java.lang.String } * */ public void setName(java.lang.String value) { this.name = 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">
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Integer { } /** *

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">
         *       <attribute name="unit" type="{http://www.w3.org/2001/XMLSchema}string" />
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Real { @XmlAttribute(name = "unit") protected java.lang.String unit; /** * Gets the value of the unit property. * * @return * possible object is * {@link java.lang.String } * */ public java.lang.String getUnit() { return unit; } /** * Sets the value of the unit property. * * @param value * allowed object is * {@link java.lang.String } * */ public void setUnit(java.lang.String value) { this.unit = 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">
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class String { } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy