
no.ntnu.ihb.sspgen.ssp.TAnnotations Maven / Gradle / Ivy
Show all versions of dsl Show documentation
package no.ntnu.ihb.sspgen.ssp;
import javax.xml.bind.annotation.*;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.ArrayList;
import java.util.List;
/**
* Java class for TAnnotations complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TAnnotations">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded">
* <element name="Annotation">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any processContents='lax' minOccurs="0"/>
* </sequence>
* <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TAnnotations", namespace = "http://ssp-standard.org/SSP1/SystemStructureCommon", propOrder = {
"annotation"
})
public class TAnnotations {
@XmlElement(name = "Annotation", namespace = "http://ssp-standard.org/SSP1/SystemStructureCommon", required = true)
protected List annotation;
/**
* Gets the value of the annotation 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 annotation property.
*
*
* For example, to add a new item, do as follows:
*
* getAnnotation().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Annotation }
*
*
*/
public List getAnnotation() {
if (annotation == null) {
annotation = new ArrayList();
}
return this.annotation;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <any processContents='lax' minOccurs="0"/>
* </sequence>
* <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}normalizedString" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
public static class Annotation {
@XmlElement(required = true)
String any;
@XmlAttribute(name = "type", required = true)
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String type;
public String getAny() {
return any;
}
public void setAny(String any) {
this.any = any;
}
/**
* Gets the value of the type property.
*
* @return possible object is
* {@link String }
*/
public String getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setType(String value) {
this.type = value;
}
}
}