166 lines
4.3 KiB
Java
166 lines
4.3 KiB
Java
//
|
|
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
|
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
|
// Any modifications to this file will be lost upon recompilation of the source schema.
|
|
// Generated on: 2011.01.16 at 11:06:29 AM ART
|
|
//
|
|
|
|
|
|
package com.wisemapping.xml.mindmap;
|
|
|
|
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.XmlAttribute;
|
|
import javax.xml.bind.annotation.XmlElement;
|
|
import javax.xml.bind.annotation.XmlRootElement;
|
|
import javax.xml.bind.annotation.XmlType;
|
|
|
|
|
|
/**
|
|
* <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 ref="{}topic" maxOccurs="unbounded"/>
|
|
* <element ref="{}relationship" maxOccurs="unbounded" minOccurs="0"/>
|
|
* </sequence>
|
|
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
|
|
* </restriction>
|
|
* </complexContent>
|
|
* </complexType>
|
|
* </pre>
|
|
*
|
|
*
|
|
*/
|
|
@XmlAccessorType(XmlAccessType.FIELD)
|
|
@XmlType(name = "", propOrder = {
|
|
"topic",
|
|
"relationship"
|
|
})
|
|
@XmlRootElement(name = "map")
|
|
public class Map {
|
|
|
|
@XmlElement(required = true)
|
|
protected List<TopicType> topic;
|
|
protected List<RelationshipType> relationship;
|
|
@XmlAttribute
|
|
protected String name;
|
|
@XmlAttribute
|
|
protected String version;
|
|
|
|
/**
|
|
* Gets the value of the topic 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 topic property.
|
|
*
|
|
* <p>
|
|
* For example, to add a new item, do as follows:
|
|
* <pre>
|
|
* getTopic().add(newItem);
|
|
* </pre>
|
|
*
|
|
*
|
|
* <p>
|
|
* Objects of the following type(s) are allowed in the list
|
|
* {@link TopicType }
|
|
*
|
|
*
|
|
*/
|
|
public List<TopicType> getTopic() {
|
|
if (topic == null) {
|
|
topic = new ArrayList<TopicType>();
|
|
}
|
|
return this.topic;
|
|
}
|
|
|
|
/**
|
|
* Gets the value of the relationship 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 relationship property.
|
|
*
|
|
* <p>
|
|
* For example, to add a new item, do as follows:
|
|
* <pre>
|
|
* getRelationship().add(newItem);
|
|
* </pre>
|
|
*
|
|
*
|
|
* <p>
|
|
* Objects of the following type(s) are allowed in the list
|
|
* {@link RelationshipType }
|
|
*
|
|
*
|
|
*/
|
|
public List<RelationshipType> getRelationship() {
|
|
if (relationship == null) {
|
|
relationship = new ArrayList<RelationshipType>();
|
|
}
|
|
return this.relationship;
|
|
}
|
|
|
|
/**
|
|
* 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 version property.
|
|
*
|
|
* @return
|
|
* possible object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public String getVersion() {
|
|
return version;
|
|
}
|
|
|
|
/**
|
|
* Sets the value of the version property.
|
|
*
|
|
* @param value
|
|
* allowed object is
|
|
* {@link String }
|
|
*
|
|
*/
|
|
public void setVersion(String value) {
|
|
this.version = value;
|
|
}
|
|
|
|
}
|