/* * Copyright (c) 2013 Technische Universitat Wien (TUW), Distributed Systems Group. http://dsg.tuwien.ac.at * * This work was partially supported by the European Commission in terms of the CELAR FP7 project (FP7-ICT-2011-8 #317790), http://www.celarcloud.eu/ * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package generated.oasis.tosca; import java.util.ArrayList; import java.util.List; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlAnyElement; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for tBoundaryDefinitions complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="tBoundaryDefinitions"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Properties" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <any namespace='##other'/> * <element name="PropertyMappings" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="PropertyMapping" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tPropertyMapping" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="PropertyConstraints" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="PropertyConstraint" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tPropertyConstraint" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="Requirements" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Requirement" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tRequirementRef" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="Capabilities" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Capability" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tCapabilityRef" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="Policies" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Policy" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tPolicy" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="Interfaces" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Interface" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tExportedInterface" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "tBoundaryDefinitions", propOrder = { "properties", "propertyConstraints", "requirements", "capabilities", "policies", "interfaces" }) public class TBoundaryDefinitions { @XmlElement(name = "Properties") protected TBoundaryDefinitions.Properties properties; @XmlElement(name = "PropertyConstraints") protected TBoundaryDefinitions.PropertyConstraints propertyConstraints; @XmlElement(name = "Requirements") protected TBoundaryDefinitions.Requirements requirements; @XmlElement(name = "Capabilities") protected TBoundaryDefinitions.Capabilities capabilities; @XmlElement(name = "Policies") protected TBoundaryDefinitions.Policies policies; @XmlElement(name = "Interfaces") protected TBoundaryDefinitions.Interfaces interfaces; /** * Gets the value of the properties property. * * @return * possible object is * {@link TBoundaryDefinitions.Properties } * */ public TBoundaryDefinitions.Properties getProperties() { return properties; } /** * Sets the value of the properties property. * * @param value * allowed object is * {@link TBoundaryDefinitions.Properties } * */ public void setProperties(TBoundaryDefinitions.Properties value) { this.properties = value; } /** * Gets the value of the propertyConstraints property. * * @return * possible object is * {@link TBoundaryDefinitions.PropertyConstraints } * */ public TBoundaryDefinitions.PropertyConstraints getPropertyConstraints() { return propertyConstraints; } /** * Sets the value of the propertyConstraints property. * * @param value * allowed object is * {@link TBoundaryDefinitions.PropertyConstraints } * */ public void setPropertyConstraints(TBoundaryDefinitions.PropertyConstraints value) { this.propertyConstraints = value; } /** * Gets the value of the requirements property. * * @return * possible object is * {@link TBoundaryDefinitions.Requirements } * */ public TBoundaryDefinitions.Requirements getRequirements() { return requirements; } /** * Sets the value of the requirements property. * * @param value * allowed object is * {@link TBoundaryDefinitions.Requirements } * */ public void setRequirements(TBoundaryDefinitions.Requirements value) { this.requirements = value; } /** * Gets the value of the capabilities property. * * @return * possible object is * {@link TBoundaryDefinitions.Capabilities } * */ public TBoundaryDefinitions.Capabilities getCapabilities() { return capabilities; } /** * Sets the value of the capabilities property. * * @param value * allowed object is * {@link TBoundaryDefinitions.Capabilities } * */ public void setCapabilities(TBoundaryDefinitions.Capabilities value) { this.capabilities = value; } /** * Gets the value of the policies property. * * @return * possible object is * {@link TBoundaryDefinitions.Policies } * */ public TBoundaryDefinitions.Policies getPolicies() { return policies; } /** * Sets the value of the policies property. * * @param value * allowed object is * {@link TBoundaryDefinitions.Policies } * */ public void setPolicies(TBoundaryDefinitions.Policies value) { this.policies = value; } /** * Gets the value of the interfaces property. * * @return * possible object is * {@link TBoundaryDefinitions.Interfaces } * */ public TBoundaryDefinitions.Interfaces getInterfaces() { return interfaces; } /** * Sets the value of the interfaces property. * * @param value * allowed object is * {@link TBoundaryDefinitions.Interfaces } * */ public void setInterfaces(TBoundaryDefinitions.Interfaces value) { this.interfaces = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Capability" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tCapabilityRef" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "capability" }) public static class Capabilities { @XmlElement(name = "Capability", required = true) protected List<TCapabilityRef> capability; /** * Gets the value of the capability property. * * <p> * 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 <CODE>set</CODE> method for the capability property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCapability().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TCapabilityRef } * * */ public List<TCapabilityRef> getCapability() { if (capability == null) { capability = new ArrayList<TCapabilityRef>(); } return this.capability; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Interface" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tExportedInterface" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "_interface" }) public static class Interfaces { @XmlElement(name = "Interface", required = true) protected List<TExportedInterface> _interface; /** * Gets the value of the interface property. * * <p> * 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 <CODE>set</CODE> method for the interface property. * * <p> * For example, to add a new item, do as follows: * <pre> * getInterface().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TExportedInterface } * * */ public List<TExportedInterface> getInterface() { if (_interface == null) { _interface = new ArrayList<TExportedInterface>(); } return this._interface; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Policy" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tPolicy" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "policy" }) public static class Policies { @XmlElement(name = "Policy", required = true) protected List<TPolicy> policy; /** * Gets the value of the policy property. * * <p> * 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 <CODE>set</CODE> method for the policy property. * * <p> * For example, to add a new item, do as follows: * <pre> * getPolicy().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TPolicy } * * */ public List<TPolicy> getPolicy() { if (policy == null) { policy = new ArrayList<TPolicy>(); } return this.policy; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <any namespace='##other'/> * <element name="PropertyMappings" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="PropertyMapping" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tPropertyMapping" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "any", "propertyMappings" }) public static class Properties { @XmlAnyElement(lax = true) protected Object any; @XmlElement(name = "PropertyMappings") protected TBoundaryDefinitions.Properties.PropertyMappings propertyMappings; /** * Gets the value of the any property. * * @return * possible object is * {@link Object } * */ public Object getAny() { return any; } /** * Sets the value of the any property. * * @param value * allowed object is * {@link Object } * */ public void setAny(Object value) { this.any = value; } /** * Gets the value of the propertyMappings property. * * @return * possible object is * {@link TBoundaryDefinitions.Properties.PropertyMappings } * */ public TBoundaryDefinitions.Properties.PropertyMappings getPropertyMappings() { return propertyMappings; } /** * Sets the value of the propertyMappings property. * * @param value * allowed object is * {@link TBoundaryDefinitions.Properties.PropertyMappings } * */ public void setPropertyMappings(TBoundaryDefinitions.Properties.PropertyMappings value) { this.propertyMappings = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="PropertyMapping" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tPropertyMapping" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "propertyMapping" }) public static class PropertyMappings { @XmlElement(name = "PropertyMapping", required = true) protected List<TPropertyMapping> propertyMapping; /** * Gets the value of the propertyMapping property. * * <p> * 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 <CODE>set</CODE> method for the propertyMapping property. * * <p> * For example, to add a new item, do as follows: * <pre> * getPropertyMapping().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TPropertyMapping } * * */ public List<TPropertyMapping> getPropertyMapping() { if (propertyMapping == null) { propertyMapping = new ArrayList<TPropertyMapping>(); } return this.propertyMapping; } } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="PropertyConstraint" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tPropertyConstraint" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "propertyConstraint" }) public static class PropertyConstraints { @XmlElement(name = "PropertyConstraint", required = true) protected List<TPropertyConstraint> propertyConstraint; /** * Gets the value of the propertyConstraint property. * * <p> * 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 <CODE>set</CODE> method for the propertyConstraint property. * * <p> * For example, to add a new item, do as follows: * <pre> * getPropertyConstraint().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TPropertyConstraint } * * */ public List<TPropertyConstraint> getPropertyConstraint() { if (propertyConstraint == null) { propertyConstraint = new ArrayList<TPropertyConstraint>(); } return this.propertyConstraint; } } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Requirement" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tRequirementRef" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "requirement" }) public static class Requirements { @XmlElement(name = "Requirement", required = true) protected List<TRequirementRef> requirement; /** * Gets the value of the requirement property. * * <p> * 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 <CODE>set</CODE> method for the requirement property. * * <p> * For example, to add a new item, do as follows: * <pre> * getRequirement().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TRequirementRef } * * */ public List<TRequirementRef> getRequirement() { if (requirement == null) { requirement = new ArrayList<TRequirementRef>(); } return this.requirement; } } }