xuml.tools.miuml.metamodel.jaxb.Domains Maven / Gradle / Ivy
Show all versions of miuml-jaxb Show documentation
//
// 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.jaxb;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Domains complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Domains">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="DomainBuildSpecification" type="{http://www.miuml.org/metamodel}DomainBuildSpecification" minOccurs="0"/>
* <element ref="{http://www.miuml.org/metamodel}ConstrainedType" maxOccurs="unbounded" minOccurs="0"/>
* <element ref="{http://www.miuml.org/metamodel}Domain" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Domains", propOrder = {
"domainBuildSpecification",
"constrainedType",
"domain"
})
public class Domains {
@XmlElement(name = "DomainBuildSpecification")
protected DomainBuildSpecification domainBuildSpecification;
@XmlElementRef(name = "ConstrainedType", namespace = "http://www.miuml.org/metamodel", type = JAXBElement.class)
protected List> constrainedType;
@XmlElementRef(name = "Domain", namespace = "http://www.miuml.org/metamodel", type = JAXBElement.class)
protected List> domain;
/**
* Gets the value of the domainBuildSpecification property.
*
* @return
* possible object is
* {@link DomainBuildSpecification }
*
*/
public DomainBuildSpecification getDomainBuildSpecification() {
return domainBuildSpecification;
}
/**
* Sets the value of the domainBuildSpecification property.
*
* @param value
* allowed object is
* {@link DomainBuildSpecification }
*
*/
public void setDomainBuildSpecification(DomainBuildSpecification value) {
this.domainBuildSpecification = value;
}
/**
* R708 CommonType Gets the value of the constrainedType 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 constrainedType property.
*
*
* For example, to add a new item, do as follows:
*
* getConstrainedType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link RealType }{@code >}
* {@link JAXBElement }{@code <}{@link EnumeratedType }{@code >}
* {@link JAXBElement }{@code <}{@link IntegerType }{@code >}
* {@link JAXBElement }{@code <}{@link SymbolicType }{@code >}
* {@link JAXBElement }{@code <}{@link RationalType }{@code >}
* {@link JAXBElement }{@code <}{@link AtomicType }{@code >}
* {@link JAXBElement }{@code <}{@link BooleanType }{@code >}
* {@link JAXBElement }{@code <}{@link StructuredType }{@code >}
* {@link JAXBElement }{@code <}{@link ConstrainedType }{@code >}
*
*
*/
public List> getConstrainedType() {
if (constrainedType == null) {
constrainedType = new ArrayList>();
}
return this.constrainedType;
}
/**
* Gets the value of the domain 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 domain property.
*
*
* For example, to add a new item, do as follows:
*
* getDomain().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link ModeledDomain }{@code >}
* {@link JAXBElement }{@code <}{@link RealizedDomain }{@code >}
* {@link JAXBElement }{@code <}{@link Domain }{@code >}
*
*
*/
public List> getDomain() {
if (domain == null) {
domain = new ArrayList>();
}
return this.domain;
}
}