2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2010-2010 - DIGITEO - Clement DAVID <clement.david@scilab.org>
4 * Copyright (C) 2011-2013 - Scilab Enterprises - Clement DAVID
6 * This file must be used under the terms of the CeCILL.
7 * This source file is licensed as described in the file COPYING, which
8 * you should have received as part of this distribution. The terms
9 * are also available at
10 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
14 package org.scilab.modules.xcos.modelica.model;
16 import javax.xml.bind.annotation.XmlAccessType;
17 import javax.xml.bind.annotation.XmlAccessorType;
18 import javax.xml.bind.annotation.XmlElement;
19 import javax.xml.bind.annotation.XmlType;
22 * Terminal node of a {@link Struct} tree. This node is always a leaf.
25 * Java class for Terminal complex type.
28 * The following schema fragment specifies the expected content contained within
32 * <complexType name="Terminal">
34 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
36 * <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
37 * <element name="kind" type="{http://www.w3.org/2001/XMLSchema}string"/>
38 * <element name="id" type="{http://www.w3.org/2001/XMLSchema}string"/>
39 * <element name="fixed" type="{}ModelicaValue" minOccurs="0"/>
40 * <element name="initial_value" type="{}ModelicaValue" minOccurs="0"/>
41 * <element name="weight" type="{}ModelicaValue" minOccurs="0"/>
42 * <element name="max" type="{}ModelicaValue" minOccurs="0"/>
43 * <element name="min" type="{}ModelicaValue" minOccurs="0"/>
44 * <element name="nominal_value" type="{}ModelicaValue" minOccurs="0"/>
45 * <element name="comment" type="{}ModelicaValue" minOccurs="0"/>
46 * <element name="selected" type="{}ModelicaValue" minOccurs="0"/>
47 * <element name="output" minOccurs="0">
50 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
52 * </complexContent>
57 * </complexContent>
63 @XmlAccessorType(XmlAccessType.FIELD)
64 @XmlType(name = "Terminal", propOrder = { "name", "kind", "id", "fixed", "initialValue", "weight", "max", "min", "nominalValue", "comment", "selected",
67 public class Terminal {
69 @XmlElement(required = true)
70 protected String name;
71 @XmlElement(required = true)
72 protected String kind;
73 @XmlElement(required = true)
75 protected ModelicaValue fixed;
76 @XmlElement(name = "initial_value")
77 protected ModelicaValue initialValue;
78 protected ModelicaValue weight;
79 protected ModelicaValue max;
80 protected ModelicaValue min;
81 @XmlElement(name = "nominal_value")
82 protected ModelicaValue nominalValue;
83 protected ModelicaValue comment;
84 protected ModelicaValue selected;
85 protected Terminal.Output output;
88 * Gets the value of the name property.
90 * @return possible object is {@link String }
93 public String getName() {
98 * Sets the value of the name property.
101 * allowed object is {@link String }
104 public void setName(String value) {
109 * Gets the value of the kind property.
111 * @return possible object is {@link String }
114 public String getKind() {
119 * Sets the value of the kind property.
122 * allowed object is {@link String }
125 public void setKind(String value) {
130 * Gets the value of the id property.
132 * @return possible object is {@link String }
135 public String getId() {
140 * Sets the value of the id property.
143 * allowed object is {@link String }
146 public void setId(String value) {
151 * Gets the value of the fixed property.
153 * @return possible object is {@link ModelicaValue }
156 public ModelicaValue getFixed() {
161 * Sets the value of the fixed property.
164 * allowed object is {@link ModelicaValue }
167 public void setFixed(ModelicaValue value) {
172 * Gets the value of the initialValue property.
174 * @return possible object is {@link ModelicaValue }
177 public ModelicaValue getInitialValue() {
182 * Sets the value of the initialValue property.
185 * allowed object is {@link ModelicaValue }
188 public void setInitialValue(ModelicaValue value) {
189 this.initialValue = value;
193 * Gets the value of the weight property.
195 * @return possible object is {@link ModelicaValue }
198 public ModelicaValue getWeight() {
203 * Sets the value of the weight property.
206 * allowed object is {@link ModelicaValue }
209 public void setWeight(ModelicaValue value) {
214 * Gets the value of the max property.
216 * @return possible object is {@link ModelicaValue }
219 public ModelicaValue getMax() {
224 * Sets the value of the max property.
227 * allowed object is {@link ModelicaValue }
230 public void setMax(ModelicaValue value) {
235 * Gets the value of the min property.
237 * @return possible object is {@link ModelicaValue }
240 public ModelicaValue getMin() {
245 * Sets the value of the min property.
248 * allowed object is {@link ModelicaValue }
251 public void setMin(ModelicaValue value) {
256 * Gets the value of the nominalValue property.
258 * @return possible object is {@link ModelicaValue }
261 public ModelicaValue getNominalValue() {
266 * Sets the value of the nominalValue property.
269 * allowed object is {@link ModelicaValue }
272 public void setNominalValue(ModelicaValue value) {
273 this.nominalValue = value;
277 * Gets the value of the comment property.
279 * @return possible object is {@link ModelicaValue }
282 public ModelicaValue getComment() {
287 * Sets the value of the comment property.
290 * allowed object is {@link ModelicaValue }
293 public void setComment(ModelicaValue value) {
294 this.comment = value;
298 * Gets the value of the selected property.
300 * @return possible object is {@link ModelicaValue }
303 public ModelicaValue getSelected() {
308 * Sets the value of the selected property.
311 * allowed object is {@link ModelicaValue }
314 public void setSelected(ModelicaValue value) {
315 this.selected = value;
319 * Gets the value of the output property.
321 * @return possible object is {@link Terminal.Output }
324 public Terminal.Output getOutput() {
329 * Sets the value of the output property.
332 * allowed object is {@link Terminal.Output }
335 public void setOutput(Terminal.Output value) {
341 * Java class for anonymous complex type.
344 * The following schema fragment specifies the expected content contained
349 * <complexContent>
350 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
352 * </complexContent>
358 @XmlAccessorType(XmlAccessType.FIELD)
360 public static class Output {