/*
* 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.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlID;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3c.dom.Element;
/**
* <p>Java class for tPlan complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="tPlan">
* <complexContent>
* <extension base="{http://docs.oasis-open.org/tosca/ns/2011/12}tExtensibleElements">
* <sequence>
* <element name="Precondition" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tCondition" minOccurs="0"/>
* <element name="InputParameters" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="InputParameter" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tParameter" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="OutputParameters" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="OutputParameter" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tParameter" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <choice>
* <element name="PlanModel">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any processContents='lax' namespace='##other'/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="PlanModelReference">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="reference" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* </sequence>
* <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="planType" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="planLanguage" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <anyAttribute processContents='lax' namespace='##other'/>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tPlan", propOrder = {
"precondition",
"inputParameters",
"outputParameters",
"planModel",
"planModelReference"
})
public class TPlan
extends TExtensibleElements
{
@XmlElement(name = "Precondition")
protected TCondition precondition;
@XmlElement(name = "InputParameters")
protected TPlan.InputParameters inputParameters;
@XmlElement(name = "OutputParameters")
protected TPlan.OutputParameters outputParameters;
@XmlElement(name = "PlanModel")
protected TPlan.PlanModel planModel;
@XmlElement(name = "PlanModelReference")
protected TPlan.PlanModelReference planModelReference;
@XmlAttribute(name = "id", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlID
@XmlSchemaType(name = "ID")
protected String id;
@XmlAttribute(name = "name")
protected String name;
@XmlAttribute(name = "planType", required = true)
@XmlSchemaType(name = "anyURI")
protected String planType;
@XmlAttribute(name = "planLanguage", required = true)
@XmlSchemaType(name = "anyURI")
protected String planLanguage;
/**
* Gets the value of the precondition property.
*
* @return
* possible object is
* {@link TCondition }
*
*/
public TCondition getPrecondition() {
return precondition;
}
/**
* Sets the value of the precondition property.
*
* @param value
* allowed object is
* {@link TCondition }
*
*/
public void setPrecondition(TCondition value) {
this.precondition = value;
}
/**
* Gets the value of the inputParameters property.
*
* @return
* possible object is
* {@link TPlan.InputParameters }
*
*/
public TPlan.InputParameters getInputParameters() {
return inputParameters;
}
/**
* Sets the value of the inputParameters property.
*
* @param value
* allowed object is
* {@link TPlan.InputParameters }
*
*/
public void setInputParameters(TPlan.InputParameters value) {
this.inputParameters = value;
}
/**
* Gets the value of the outputParameters property.
*
* @return
* possible object is
* {@link TPlan.OutputParameters }
*
*/
public TPlan.OutputParameters getOutputParameters() {
return outputParameters;
}
/**
* Sets the value of the outputParameters property.
*
* @param value
* allowed object is
* {@link TPlan.OutputParameters }
*
*/
public void setOutputParameters(TPlan.OutputParameters value) {
this.outputParameters = value;
}
/**
* Gets the value of the planModel property.
*
* @return
* possible object is
* {@link TPlan.PlanModel }
*
*/
public TPlan.PlanModel getPlanModel() {
return planModel;
}
/**
* Sets the value of the planModel property.
*
* @param value
* allowed object is
* {@link TPlan.PlanModel }
*
*/
public void setPlanModel(TPlan.PlanModel value) {
this.planModel = value;
}
/**
* Gets the value of the planModelReference property.
*
* @return
* possible object is
* {@link TPlan.PlanModelReference }
*
*/
public TPlan.PlanModelReference getPlanModelReference() {
return planModelReference;
}
/**
* Sets the value of the planModelReference property.
*
* @param value
* allowed object is
* {@link TPlan.PlanModelReference }
*
*/
public void setPlanModelReference(TPlan.PlanModelReference value) {
this.planModelReference = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setId(String value) {
this.id = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the planType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPlanType() {
return planType;
}
/**
* Sets the value of the planType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPlanType(String value) {
this.planType = value;
}
/**
* Gets the value of the planLanguage property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPlanLanguage() {
return planLanguage;
}
/**
* Sets the value of the planLanguage property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPlanLanguage(String value) {
this.planLanguage = 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="InputParameter" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tParameter" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"inputParameter"
})
public static class InputParameters {
@XmlElement(name = "InputParameter", required = true)
protected List<TParameter> inputParameter;
/**
* Gets the value of the inputParameter 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 inputParameter property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getInputParameter().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TParameter }
*
*
*/
public List<TParameter> getInputParameter() {
if (inputParameter == null) {
inputParameter = new ArrayList<TParameter>();
}
return this.inputParameter;
}
}
/**
* <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="OutputParameter" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tParameter" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"outputParameter"
})
public static class OutputParameters {
@XmlElement(name = "OutputParameter", required = true)
protected List<TParameter> outputParameter;
/**
* Gets the value of the outputParameter 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 outputParameter property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getOutputParameter().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link TParameter }
*
*
*/
public List<TParameter> getOutputParameter() {
if (outputParameter == null) {
outputParameter = new ArrayList<TParameter>();
}
return this.outputParameter;
}
}
/**
* <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 processContents='lax' namespace='##other'/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"any"
})
public static class PlanModel {
@XmlAnyElement(lax = true)
protected Object any;
/**
* Gets the value of the any property.
*
* @return
* possible object is
* {@link Object }
* {@link Element }
*
*/
public Object getAny() {
return any;
}
/**
* Sets the value of the any property.
*
* @param value
* allowed object is
* {@link Object }
* {@link Element }
*
*/
public void setAny(Object value) {
this.any = 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">
* <attribute name="reference" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class PlanModelReference {
@XmlAttribute(name = "reference", required = true)
@XmlSchemaType(name = "anyURI")
protected String reference;
/**
* Gets the value of the reference property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getReference() {
return reference;
}
/**
* Sets the value of the reference property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setReference(String value) {
this.reference = value;
}
}
}