xuml.tools.miuml.metamodel.extensions.jaxb.Optional Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of miuml-jaxb Show documentation
Show all versions of miuml-jaxb Show documentation
Contains miUML metamodel schema and xuml-tools extensions schema and generates JAXB classes from those schemas.
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.10.09 at 07:15:51 PM AEDT
//
package xuml.tools.miuml.metamodel.extensions.jaxb;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Optional complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Optional">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Optional")
public class Optional {
@XmlAttribute(name = "optional")
protected Boolean optional;
/**
* Gets the value of the optional property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public boolean getOptional() {
if (optional == null) {
return true;
} else {
return optional;
}
}
/**
* Sets the value of the optional property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setOptional(Boolean value) {
this.optional = value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy