From 67d2954f9e5ac7708f4a2023faa8681881bffc35 Mon Sep 17 00:00:00 2001 From: Pablo Luna Date: Tue, 11 Jan 2011 14:36:33 -0300 Subject: [PATCH] Freemind import - Supporting collapsed nodes --- .../importer/freemind/FreemindImporter.java | 4 + .../main/java/com/wisemapping/xml/mindmap.xsd | 19 +- .../com/wisemapping/xml/mindmap/Icon.java | 201 ++--- .../com/wisemapping/xml/mindmap/Link.java | 201 ++--- .../java/com/wisemapping/xml/mindmap/Map.java | 288 +++--- .../com/wisemapping/xml/mindmap/Note.java | 147 ++-- .../xml/mindmap/ObjectFactory.java | 219 +++-- .../xml/mindmap/RelationshipType.java | 227 +++++ .../wisemapping/xml/mindmap/TopicType.java | 826 +++++++++--------- wise-webapp/src/main/resources/mindmap.xsd | 32 +- 10 files changed, 1213 insertions(+), 951 deletions(-) mode change 100755 => 100644 wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Icon.java mode change 100755 => 100644 wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Link.java mode change 100755 => 100644 wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Map.java mode change 100755 => 100644 wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Note.java mode change 100755 => 100644 wise-webapp/src/main/java/com/wisemapping/xml/mindmap/ObjectFactory.java create mode 100644 wise-webapp/src/main/java/com/wisemapping/xml/mindmap/RelationshipType.java mode change 100755 => 100644 wise-webapp/src/main/java/com/wisemapping/xml/mindmap/TopicType.java diff --git a/wise-webapp/src/main/java/com/wisemapping/importer/freemind/FreemindImporter.java b/wise-webapp/src/main/java/com/wisemapping/importer/freemind/FreemindImporter.java index 5c841161..b0f38914 100755 --- a/wise-webapp/src/main/java/com/wisemapping/importer/freemind/FreemindImporter.java +++ b/wise-webapp/src/main/java/com/wisemapping/importer/freemind/FreemindImporter.java @@ -322,6 +322,10 @@ public class FreemindImporter mindmapTopic.setPosition( position+","+200 * orderPosition); String fontStyle = generateFontStyle(freemindNode,null); mindmapTopic.setFontStyle(fontStyle); + Boolean folded = Boolean.valueOf(freemindNode.getFOLDED()); + if(folded){ + mindmapTopic.setShrink(folded); + } } private String generateFontStyle(Node node,Font font) diff --git a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap.xsd b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap.xsd index b2287f2d..7928ff60 100755 --- a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap.xsd +++ b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap.xsd @@ -8,8 +8,10 @@ + + @@ -30,20 +32,33 @@ + + - + - + + + + + + + + + + + + \ No newline at end of file diff --git a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Icon.java b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Icon.java old mode 100755 new mode 100644 index cd4ee292..4ad6e984 --- a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Icon.java +++ b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Icon.java @@ -1,111 +1,92 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You 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. -* -* $Id: file 64488 2006-03-10 17:32:09Z paulo $ -*/ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.01.11 at 02:17:09 PM ART +// -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2007.11.01 at 09:40:11 PM ART -// - - -package com.wisemapping.xml.mindmap; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for icon complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="icon">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "icon") -public class Icon { - - @XmlAttribute - protected String id; - @XmlAttribute - protected String order; - - /** - * 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 order property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setOrder(String value) { - this.order = value; - } - -} + +package com.wisemapping.xml.mindmap; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for icon complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="icon">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "icon") +public class Icon { + + @XmlAttribute + protected String id; + @XmlAttribute + protected String order; + + /** + * 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 order property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrder() { + return order; + } + + /** + * Sets the value of the order property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrder(String value) { + this.order = value; + } + +} diff --git a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Link.java b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Link.java old mode 100755 new mode 100644 index 61fd8082..665ab719 --- a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Link.java +++ b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Link.java @@ -1,111 +1,92 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You 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. -* -* $Id: file 64488 2006-03-10 17:32:09Z paulo $ -*/ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.01.11 at 02:17:09 PM ART +// -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2007.11.01 at 09:40:11 PM ART -// - - -package com.wisemapping.xml.mindmap; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for link complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="link">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "link") -public class Link { - - @XmlAttribute - protected String order; - @XmlAttribute - protected String url; - - /** - * Gets the value of the order property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setOrder(String value) { - this.order = value; - } - - /** - * Gets the value of the url property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getUrl() { - return url; - } - - /** - * Sets the value of the url property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setUrl(String value) { - this.url = value; - } - -} + +package com.wisemapping.xml.mindmap; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for link complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="link">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="url" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "link") +public class Link { + + @XmlAttribute + protected String url; + @XmlAttribute + protected String order; + + /** + * Gets the value of the url property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getUrl() { + return url; + } + + /** + * Sets the value of the url property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setUrl(String value) { + this.url = value; + } + + /** + * Gets the value of the order property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getOrder() { + return order; + } + + /** + * Sets the value of the order property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setOrder(String value) { + this.order = value; + } + +} diff --git a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Map.java b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Map.java old mode 100755 new mode 100644 index 6686f744..3a38b0fd --- a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Map.java +++ b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Map.java @@ -1,125 +1,165 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You 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. -* -* $Id: file 64488 2006-03-10 17:32:09Z paulo $ -*/ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.01.11 at 02:17:09 PM ART +// -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2007.11.01 at 09:40:11 PM 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; - - -/** - *

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>
- *         <element ref="{}topic" maxOccurs="unbounded"/>
- *       </sequence>
- *       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "topic" -}) -@XmlRootElement(name = "map") -public class Map { - - @XmlElement(required = true) - protected List topic; - @XmlAttribute - protected String name; - - /** - * Gets the value of the topic 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 topic property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTopic().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TopicType } - * - * - */ - public List getTopic() { - if (topic == null) { - topic = new ArrayList(); - } - return this.topic; - } - - /** - * 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; - } - -} + +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; + + +/** + *

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>
+ *         <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>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "", propOrder = { + "topic", + "relationship" +}) +@XmlRootElement(name = "map") +public class Map { + + @XmlElement(required = true) + protected List topic; + protected List relationship; + @XmlAttribute + protected String name; + @XmlAttribute + protected String version; + + /** + * Gets the value of the topic 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 topic property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getTopic().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TopicType } + * + * + */ + public List getTopic() { + if (topic == null) { + topic = new ArrayList(); + } + return this.topic; + } + + /** + * Gets the value of the relationship 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 relationship property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getRelationship().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link RelationshipType } + * + * + */ + public List getRelationship() { + if (relationship == null) { + relationship = new ArrayList(); + } + 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; + } + +} diff --git a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Note.java b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Note.java old mode 100755 new mode 100644 index a5c6a8b2..d8f1556e --- a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Note.java +++ b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/Note.java @@ -1,84 +1,65 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You 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. -* -* $Id: file 64488 2006-03-10 17:32:09Z paulo $ -*/ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.01.11 at 02:17:09 PM ART +// -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2008.03.26 at 10:28:06 PM ART -// - - -package com.wisemapping.xml.mindmap; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Java class for note complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="note">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "note") -public class Note { - - @XmlAttribute - protected String text; - - /** - * Gets the value of the text property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getText() { - return text; - } - - /** - * Sets the value of the text property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setText(String value) { - this.text = value; - } - -} + +package com.wisemapping.xml.mindmap; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for note complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="note">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "note") +public class Note { + + @XmlAttribute + protected String text; + + /** + * Gets the value of the text property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getText() { + return text; + } + + /** + * Sets the value of the text property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setText(String value) { + this.text = value; + } + +} diff --git a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/ObjectFactory.java b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/ObjectFactory.java old mode 100755 new mode 100644 index 28668b91..94d6b9f2 --- a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/ObjectFactory.java +++ b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/ObjectFactory.java @@ -1,111 +1,110 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You 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. -* -* $Id: file 64488 2006-03-10 17:32:09Z paulo $ -*/ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.01.11 at 02:17:09 PM ART +// -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2008.03.26 at 10:28:06 PM ART -// - - -package com.wisemapping.xml.mindmap; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.namespace.QName; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * generated in the generated package. - *

An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - * - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _Topic_QNAME = new QName("", "topic"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: generated - * - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link Link } - * - */ - public Link createLink() { - return new Link(); - } - - /** - * Create an instance of {@link Icon } - * - */ - public Icon createIcon() { - return new Icon(); - } - - /** - * Create an instance of {@link Map } - * - */ - public Map createMap() { - return new Map(); - } - - /** - * Create an instance of {@link TopicType } - * - */ - public TopicType createTopicType() { - return new TopicType(); - } - - /** - * Create an instance of {@link Note } - * - */ - public Note createNote() { - return new Note(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link TopicType }{@code >}} - * - */ - @XmlElementDecl(namespace = "", name = "topic") - public JAXBElement createTopic(TopicType value) { - return new JAXBElement(_Topic_QNAME, TopicType.class, null, value); - } - -} + +package com.wisemapping.xml.mindmap; + +import javax.xml.bind.JAXBElement; +import javax.xml.bind.annotation.XmlElementDecl; +import javax.xml.bind.annotation.XmlRegistry; +import javax.xml.namespace.QName; + + +/** + * This object contains factory methods for each + * Java content interface and Java element interface + * generated in the com.wisemapping.xml.mindmap package. + *

An ObjectFactory allows you to programatically + * construct new instances of the Java representation + * for XML content. The Java representation of XML + * content can consist of schema derived interfaces + * and classes representing the binding of schema + * type definitions, element declarations and model + * groups. Factory methods for each of these are + * provided in this class. + * + */ +@XmlRegistry +public class ObjectFactory { + + private final static QName _Topic_QNAME = new QName("", "topic"); + private final static QName _Relationship_QNAME = new QName("", "relationship"); + + /** + * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: com.wisemapping.xml.mindmap + * + */ + public ObjectFactory() { + } + + /** + * Create an instance of {@link RelationshipType } + * + */ + public RelationshipType createRelationshipType() { + return new RelationshipType(); + } + + /** + * Create an instance of {@link Map } + * + */ + public Map createMap() { + return new Map(); + } + + /** + * Create an instance of {@link Link } + * + */ + public Link createLink() { + return new Link(); + } + + /** + * Create an instance of {@link TopicType } + * + */ + public TopicType createTopicType() { + return new TopicType(); + } + + /** + * Create an instance of {@link Note } + * + */ + public Note createNote() { + return new Note(); + } + + /** + * Create an instance of {@link Icon } + * + */ + public Icon createIcon() { + return new Icon(); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link TopicType }{@code >}} + * + */ + @XmlElementDecl(namespace = "", name = "topic") + public JAXBElement createTopic(TopicType value) { + return new JAXBElement(_Topic_QNAME, TopicType.class, null, value); + } + + /** + * Create an instance of {@link JAXBElement }{@code <}{@link RelationshipType }{@code >}} + * + */ + @XmlElementDecl(namespace = "", name = "relationship") + public JAXBElement createRelationship(RelationshipType value) { + return new JAXBElement(_Relationship_QNAME, RelationshipType.class, null, value); + } + +} diff --git a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/RelationshipType.java b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/RelationshipType.java new file mode 100644 index 00000000..620b0642 --- /dev/null +++ b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/RelationshipType.java @@ -0,0 +1,227 @@ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.01.11 at 02:17:09 PM ART +// + + +package com.wisemapping.xml.mindmap; + +import javax.xml.bind.annotation.XmlAccessType; +import javax.xml.bind.annotation.XmlAccessorType; +import javax.xml.bind.annotation.XmlAttribute; +import javax.xml.bind.annotation.XmlType; + + +/** + *

Java class for relationshipType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="relationshipType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="srcTopicId" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="destTopicId" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="lineType" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="srcCtrlPoint" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="destCtrlPoint" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="endArrow" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "relationshipType") +public class RelationshipType { + + @XmlAttribute + protected String id; + @XmlAttribute + protected String srcTopicId; + @XmlAttribute + protected String destTopicId; + @XmlAttribute + protected String lineType; + @XmlAttribute + protected String srcCtrlPoint; + @XmlAttribute + protected String destCtrlPoint; + @XmlAttribute + protected Boolean endArrow; + + /** + * 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 srcTopicId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSrcTopicId() { + return srcTopicId; + } + + /** + * Sets the value of the srcTopicId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSrcTopicId(String value) { + this.srcTopicId = value; + } + + /** + * Gets the value of the destTopicId property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDestTopicId() { + return destTopicId; + } + + /** + * Sets the value of the destTopicId property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDestTopicId(String value) { + this.destTopicId = value; + } + + /** + * Gets the value of the lineType property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getLineType() { + return lineType; + } + + /** + * Sets the value of the lineType property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setLineType(String value) { + this.lineType = value; + } + + /** + * Gets the value of the srcCtrlPoint property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getSrcCtrlPoint() { + return srcCtrlPoint; + } + + /** + * Sets the value of the srcCtrlPoint property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setSrcCtrlPoint(String value) { + this.srcCtrlPoint = value; + } + + /** + * Gets the value of the destCtrlPoint property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getDestCtrlPoint() { + return destCtrlPoint; + } + + /** + * Sets the value of the destCtrlPoint property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setDestCtrlPoint(String value) { + this.destCtrlPoint = value; + } + + /** + * Gets the value of the endArrow property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isEndArrow() { + return endArrow; + } + + /** + * Sets the value of the endArrow property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setEndArrow(Boolean value) { + this.endArrow = value; + } + +} diff --git a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/TopicType.java b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/TopicType.java old mode 100755 new mode 100644 index b4b4d2d1..b4a50d14 --- a/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/TopicType.java +++ b/wise-webapp/src/main/java/com/wisemapping/xml/mindmap/TopicType.java @@ -1,397 +1,431 @@ -/* -* Licensed to the Apache Software Foundation (ASF) under one or more -* contributor license agreements. See the NOTICE file distributed with -* this work for additional information regarding copyright ownership. -* The ASF licenses this file to You 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. -* -* $Id: file 64488 2006-03-10 17:32:09Z paulo $ -*/ +// +// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6 +// See http://java.sun.com/xml/jaxb +// Any modifications to this file will be lost upon recompilation of the source schema. +// Generated on: 2011.01.11 at 02:17:09 PM ART +// -// -// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 -// See http://java.sun.com/xml/jaxb -// Any modifications to this file will be lost upon recompilation of the source schema. -// Generated on: 2007.11.01 at 09:40:11 PM ART -// - - -package com.wisemapping.xml.mindmap; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Java class for topicType complex type. - * - *

The following schema fragment specifies the expected content contained within this class. - * - *

- * <complexType name="topicType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="icon" type="{}icon" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="link" type="{}link" minOccurs="0"/>
- *         <element name="note" type="{}note" minOccurs="0"/>
- *         <element ref="{}topic" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *       <attribute name="bgColor" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="brColor" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="central" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *       <attribute name="fontStyle" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}int" />
- *       <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="shape" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- * - * - */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "topicType", propOrder = { - "icon", - "link", - "note", - "topic" -}) -public class TopicType { - - protected List icon; - protected Link link; - protected Note note; - protected List topic; - @XmlAttribute - protected String bgColor; - @XmlAttribute - protected String brColor; - @XmlAttribute - protected Boolean central; - @XmlAttribute - protected String fontStyle; - @XmlAttribute - protected Integer order; - @XmlAttribute - protected String position; - @XmlAttribute - protected String shape; - @XmlAttribute - protected String text; - - /** - * Gets the value of the icon 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 icon property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getIcon().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link Icon } - * - * - */ - public List getIcon() { - if (icon == null) { - icon = new ArrayList(); - } - return this.icon; - } - - /** - * Gets the value of the link property. - * - * @return - * possible object is - * {@link Link } - * - */ - public Link getLink() { - return link; - } - - /** - * Sets the value of the link property. - * - * @param value - * allowed object is - * {@link Link } - * - */ - public void setLink(Link value) { - this.link = value; - } - - /** - * Gets the value of the note property. - * - * @return - * possible object is - * {@link Note } - * - */ - public Note getNote() { - return note; - } - - /** - * Sets the value of the note property. - * - * @param value - * allowed object is - * {@link Note } - * - */ - public void setNote(Note value) { - this.note = value; - } - - /** - * Gets the value of the topic 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 topic property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTopic().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TopicType } - * - * - */ - public List getTopic() { - if (topic == null) { - topic = new ArrayList(); - } - return this.topic; - } - - /** - * Gets the value of the bgColor property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBgColor() { - return bgColor; - } - - /** - * Sets the value of the bgColor property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBgColor(String value) { - this.bgColor = value; - } - - /** - * Gets the value of the brColor property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getBrColor() { - return brColor; - } - - /** - * Sets the value of the brColor property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setBrColor(String value) { - this.brColor = value; - } - - /** - * Gets the value of the central property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isCentral() { - return central; - } - - /** - * Sets the value of the central property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setCentral(Boolean value) { - this.central = value; - } - - /** - * Gets the value of the fontStyle property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getFontStyle() { - return fontStyle; - } - - /** - * Sets the value of the fontStyle property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setFontStyle(String value) { - this.fontStyle = value; - } - - /** - * Gets the value of the order property. - * - * @return - * possible object is - * {@link Integer } - * - */ - public Integer getOrder() { - return order; - } - - /** - * Sets the value of the order property. - * - * @param value - * allowed object is - * {@link Integer } - * - */ - public void setOrder(Integer value) { - this.order = value; - } - - /** - * Gets the value of the position property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getPosition() { - return position; - } - - /** - * Sets the value of the position property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setPosition(String value) { - this.position = value; - } - - /** - * Gets the value of the shape property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getShape() { - return shape; - } - - /** - * Sets the value of the shape property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setShape(String value) { - this.shape = value; - } - - /** - * Gets the value of the text property. - * - * @return - * possible object is - * {@link String } - * - */ - public String getText() { - return text; - } - - /** - * Sets the value of the text property. - * - * @param value - * allowed object is - * {@link String } - * - */ - public void setText(String value) { - this.text = value; - } - -} - + +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.XmlType; + + +/** + *

Java class for topicType complex type. + * + *

The following schema fragment specifies the expected content contained within this class. + * + *

+ * <complexType name="topicType">
+ *   <complexContent>
+ *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ *       <sequence>
+ *         <element name="icon" type="{}icon" maxOccurs="unbounded" minOccurs="0"/>
+ *         <element name="link" type="{}link" minOccurs="0"/>
+ *         <element name="note" type="{}note" minOccurs="0"/>
+ *         <element ref="{}topic" maxOccurs="unbounded" minOccurs="0"/>
+ *       </sequence>
+ *       <attribute name="text" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="shape" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="fontStyle" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="bgColor" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="brColor" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="order" type="{http://www.w3.org/2001/XMLSchema}int" />
+ *       <attribute name="position" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="central" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ *       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
+ *       <attribute name="shrink" type="{http://www.w3.org/2001/XMLSchema}boolean" />
+ *     </restriction>
+ *   </complexContent>
+ * </complexType>
+ * 
+ * + * + */ +@XmlAccessorType(XmlAccessType.FIELD) +@XmlType(name = "topicType", propOrder = { + "icon", + "link", + "note", + "topic" +}) +public class TopicType { + + protected List icon; + protected Link link; + protected Note note; + protected List topic; + @XmlAttribute + protected String text; + @XmlAttribute + protected String shape; + @XmlAttribute + protected String fontStyle; + @XmlAttribute + protected String bgColor; + @XmlAttribute + protected String brColor; + @XmlAttribute + protected Integer order; + @XmlAttribute + protected String position; + @XmlAttribute + protected Boolean central; + @XmlAttribute + protected String id; + @XmlAttribute + protected Boolean shrink; + + /** + * Gets the value of the icon 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 icon property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getIcon().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link Icon } + * + * + */ + public List getIcon() { + if (icon == null) { + icon = new ArrayList(); + } + return this.icon; + } + + /** + * Gets the value of the link property. + * + * @return + * possible object is + * {@link Link } + * + */ + public Link getLink() { + return link; + } + + /** + * Sets the value of the link property. + * + * @param value + * allowed object is + * {@link Link } + * + */ + public void setLink(Link value) { + this.link = value; + } + + /** + * Gets the value of the note property. + * + * @return + * possible object is + * {@link Note } + * + */ + public Note getNote() { + return note; + } + + /** + * Sets the value of the note property. + * + * @param value + * allowed object is + * {@link Note } + * + */ + public void setNote(Note value) { + this.note = value; + } + + /** + * Gets the value of the topic 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 topic property. + * + *

+ * For example, to add a new item, do as follows: + *

+     *    getTopic().add(newItem);
+     * 
+ * + * + *

+ * Objects of the following type(s) are allowed in the list + * {@link TopicType } + * + * + */ + public List getTopic() { + if (topic == null) { + topic = new ArrayList(); + } + return this.topic; + } + + /** + * Gets the value of the text property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getText() { + return text; + } + + /** + * Sets the value of the text property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setText(String value) { + this.text = value; + } + + /** + * Gets the value of the shape property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getShape() { + return shape; + } + + /** + * Sets the value of the shape property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setShape(String value) { + this.shape = value; + } + + /** + * Gets the value of the fontStyle property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getFontStyle() { + return fontStyle; + } + + /** + * Sets the value of the fontStyle property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setFontStyle(String value) { + this.fontStyle = value; + } + + /** + * Gets the value of the bgColor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBgColor() { + return bgColor; + } + + /** + * Sets the value of the bgColor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBgColor(String value) { + this.bgColor = value; + } + + /** + * Gets the value of the brColor property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getBrColor() { + return brColor; + } + + /** + * Sets the value of the brColor property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setBrColor(String value) { + this.brColor = value; + } + + /** + * Gets the value of the order property. + * + * @return + * possible object is + * {@link Integer } + * + */ + public Integer getOrder() { + return order; + } + + /** + * Sets the value of the order property. + * + * @param value + * allowed object is + * {@link Integer } + * + */ + public void setOrder(Integer value) { + this.order = value; + } + + /** + * Gets the value of the position property. + * + * @return + * possible object is + * {@link String } + * + */ + public String getPosition() { + return position; + } + + /** + * Sets the value of the position property. + * + * @param value + * allowed object is + * {@link String } + * + */ + public void setPosition(String value) { + this.position = value; + } + + /** + * Gets the value of the central property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isCentral() { + return central; + } + + /** + * Sets the value of the central property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setCentral(Boolean value) { + this.central = 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 shrink property. + * + * @return + * possible object is + * {@link Boolean } + * + */ + public Boolean isShrink() { + return shrink; + } + + /** + * Sets the value of the shrink property. + * + * @param value + * allowed object is + * {@link Boolean } + * + */ + public void setShrink(Boolean value) { + this.shrink = value; + } + +} diff --git a/wise-webapp/src/main/resources/mindmap.xsd b/wise-webapp/src/main/resources/mindmap.xsd index 5d9d49e1..7928ff60 100755 --- a/wise-webapp/src/main/resources/mindmap.xsd +++ b/wise-webapp/src/main/resources/mindmap.xsd @@ -2,19 +2,18 @@ + xmlns:xsd="http://www.w3.org/2001/XMLSchema"> - - - - - - - - - - + + + + + + + + + + @@ -33,7 +32,8 @@ - + + @@ -52,9 +52,9 @@ - - - + + +