/*
* 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
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 javax.xml.namespace.QName;
/**
* <p>Java class for tRelationshipTypeImplementation complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="tRelationshipTypeImplementation">
* <complexContent>
* <extension base="{http://docs.oasis-open.org/tosca/ns/2011/12}tExtensibleElements">
* <sequence>
* <element name="Tags" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tTags" minOccurs="0"/>
* <element name="DerivedFrom" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <attribute name="relationshipTypeImplementationRef" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="RequiredContainerFeatures" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tRequiredContainerFeatures" minOccurs="0"/>
* <element name="ImplementationArtifacts" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tImplementationArtifacts" minOccurs="0"/>
* </sequence>
* <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}NCName" />
* <attribute name="targetNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* <attribute name="relationshipType" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
* <attribute name="abstract" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tBoolean" default="no" />
* <attribute name="final" type="{http://docs.oasis-open.org/tosca/ns/2011/12}tBoolean" default="no" />
* <anyAttribute processContents='lax' namespace='##other'/>
* </extension>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tRelationshipTypeImplementation", propOrder = {
"tags",
"derivedFrom",
"requiredContainerFeatures",
"implementationArtifacts"
})
public class TRelationshipTypeImplementation
extends TExtensibleElements
{
@XmlElement(name = "Tags")
protected TTags tags;
@XmlElement(name = "DerivedFrom")
protected TRelationshipTypeImplementation.DerivedFrom derivedFrom;
@XmlElement(name = "RequiredContainerFeatures")
protected TRequiredContainerFeatures requiredContainerFeatures;
@XmlElement(name = "ImplementationArtifacts")
protected TImplementationArtifacts implementationArtifacts;
@XmlAttribute(name = "name", required = true)
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NCName")
protected String name;
@XmlAttribute(name = "targetNamespace")
@XmlSchemaType(name = "anyURI")
protected String targetNamespace;
@XmlAttribute(name = "relationshipType", required = true)
protected QName relationshipType;
@XmlAttribute(name = "abstract")
protected TBoolean _abstract;
@XmlAttribute(name = "final")
protected TBoolean _final;
/**
* Gets the value of the tags property.
*
* @return
* possible object is
* {@link TTags }
*
*/
public TTags getTags() {
return tags;
}
/**
* Sets the value of the tags property.
*
* @param value
* allowed object is
* {@link TTags }
*
*/
public void setTags(TTags value) {
this.tags = value;
}
/**
* Gets the value of the derivedFrom property.
*
* @return
* possible object is
* {@link TRelationshipTypeImplementation.DerivedFrom }
*
*/
public TRelationshipTypeImplementation.DerivedFrom getDerivedFrom() {
return derivedFrom;
}
/**
* Sets the value of the derivedFrom property.
*
* @param value
* allowed object is
* {@link TRelationshipTypeImplementation.DerivedFrom }
*
*/
public void setDerivedFrom(TRelationshipTypeImplementation.DerivedFrom value) {
this.derivedFrom = value;
}
/**
* Gets the value of the requiredContainerFeatures property.
*
* @return
* possible object is
* {@link TRequiredContainerFeatures }
*
*/
public TRequiredContainerFeatures getRequiredContainerFeatures() {
return requiredContainerFeatures;
}
/**
* Sets the value of the requiredContainerFeatures property.
*
* @param value
* allowed object is
* {@link TRequiredContainerFeatures }
*
*/
public void setRequiredContainerFeatures(TRequiredContainerFeatures value) {
this.requiredContainerFeatures = value;
}
/**
* Gets the value of the implementationArtifacts property.
*
* @return
* possible object is
* {@link TImplementationArtifacts }
*
*/
public TImplementationArtifacts getImplementationArtifacts() {
return implementationArtifacts;
}
/**
* Sets the value of the implementationArtifacts property.
*
* @param value
* allowed object is
* {@link TImplementationArtifacts }
*
*/
public void setImplementationArtifacts(TImplementationArtifacts value) {
this.implementationArtifacts = 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 targetNamespace property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTargetNamespace() {
return targetNamespace;
}
/**
* Sets the value of the targetNamespace property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTargetNamespace(String value) {
this.targetNamespace = value;
}
/**
* Gets the value of the relationshipType property.
*
* @return
* possible object is
* {@link QName }
*
*/
public QName getRelationshipType() {
return relationshipType;
}
/**
* Sets the value of the relationshipType property.
*
* @param value
* allowed object is
* {@link QName }
*
*/
public void setRelationshipType(QName value) {
this.relationshipType = value;
}
/**
* Gets the value of the abstract property.
*
* @return
* possible object is
* {@link TBoolean }
*
*/
public TBoolean getAbstract() {
if (_abstract == null) {
return TBoolean.NO;
} else {
return _abstract;
}
}
/**
* Sets the value of the abstract property.
*
* @param value
* allowed object is
* {@link TBoolean }
*
*/
public void setAbstract(TBoolean value) {
this._abstract = value;
}
/**
* Gets the value of the final property.
*
* @return
* possible object is
* {@link TBoolean }
*
*/
public TBoolean getFinal() {
if (_final == null) {
return TBoolean.NO;
} else {
return _final;
}
}
/**
* Sets the value of the final property.
*
* @param value
* allowed object is
* {@link TBoolean }
*
*/
public void setFinal(TBoolean value) {
this._final = 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="relationshipTypeImplementationRef" use="required" type="{http://www.w3.org/2001/XMLSchema}QName" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "")
public static class DerivedFrom {
@XmlAttribute(name = "relationshipTypeImplementationRef", required = true)
protected QName relationshipTypeImplementationRef;
/**
* Gets the value of the relationshipTypeImplementationRef property.
*
* @return
* possible object is
* {@link QName }
*
*/
public QName getRelationshipTypeImplementationRef() {
return relationshipTypeImplementationRef;
}
/**
* Sets the value of the relationshipTypeImplementationRef property.
*
* @param value
* allowed object is
* {@link QName }
*
*/
public void setRelationshipTypeImplementationRef(QName value) {
this.relationshipTypeImplementationRef = value;
}
}
}