import javax.xml.bind.annotation.XmlType;
/**
- * Modelica String assignation.
+ * Modelica String assignation. The default value is specified to ease
+ * serialization.
*
* <p>
* Java class for ModelicaValue complex type.
* <complexType name="ModelicaValue">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- * <attribute name="value" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
public class ModelicaValue {
/*
- * Value may not be null to ease serialization
+ * A non-null value is required by xml2modelica
*/
- @XmlAttribute(name = "value")
+ @XmlAttribute(required = true)
protected String value = "";
/**