Permalink
Browse files

git-svn-id: http://umple.googlecode.com/svn/trunk@373 6ebf9d09-8eb1-0…

…036-9d08-68c07d1b990a
  • Loading branch information...
1 parent 0e1116c commit 13f37a8002fbb51a3eb43dfd928c0b5df6b12a53 Julian Rsa committed May 2, 2011
Showing with 2,713 additions and 0 deletions.
  1. +13 −0 UmpleUIModel/src/cruise/exception/GeneratorException.java
  2. +94 −0 UmpleUIModel/src/cruise/jaxb/Directory.java
  3. +148 −0 UmpleUIModel/src/cruise/jaxb/File.java
  4. +112 −0 UmpleUIModel/src/cruise/jaxb/Files.java
  5. +287 −0 UmpleUIModel/src/cruise/jaxb/GenerationUnit.java
  6. +79 −0 UmpleUIModel/src/cruise/jaxb/GenerationUnits.java
  7. +103 −0 UmpleUIModel/src/cruise/jaxb/ObjectFactory.java
  8. +79 −0 UmpleUIModel/src/cruise/jaxb/Properties.java
  9. +94 −0 UmpleUIModel/src/cruise/jaxb/Property.java
  10. +236 −0 UmpleUIModel/src/cruise/jaxb/UmpleProject.java
  11. +21 −0 UmpleUIModel/src/cruise/model/Constants.java
  12. +211 −0 UmpleUIModel/src/cruise/model/FragmentLoader.java
  13. +43 −0 UmpleUIModel/src/cruise/model/FragmentResolver.java
  14. +151 −0 UmpleUIModel/src/cruise/model/GUI/GUIFragmentLoader.java
  15. +42 −0 UmpleUIModel/src/cruise/model/GUI/GUIFragmentResolver.java
  16. +15 −0 UmpleUIModel/src/cruise/model/ParameterManager.java
  17. +244 −0 UmpleUIModel/src/cruise/model/abstractObjects/BackingObject.java
  18. +6 −0 UmpleUIModel/src/cruise/model/abstractObjects/IGenerator.java
  19. +66 −0 UmpleUIModel/src/cruise/model/fragments/AttributteFragmentProvider.java
  20. +43 −0 UmpleUIModel/src/cruise/model/fragments/GUIFragmentProvider.java
  21. +126 −0 UmpleUIModel/src/cruise/model/util/AssociationsResolver.java
  22. +30 −0 UmpleUIModel/src/cruise/ui/interfaces/UIGenerator.java
  23. +35 −0 UmpleUIModel/src/cruise/ui/interfaces/UIProvider.java
  24. +10 −0 UmpleUIModel/src/cruise/ui/interfaces/ValidationProvider.java
  25. +101 −0 UmpleUIModel/src/cruise/writer/ClassWriter.java
  26. +324 −0 UmpleUIModel/src/cruise/writer/UmpleProjectWriter.java
@@ -0,0 +1,13 @@
+package cruise.exception;
+
+public class GeneratorException extends RuntimeException {
+
+ private static final long serialVersionUID = 1L;
+
+ public GeneratorException(String strMessage) {
+ super(strMessage);
+ }
+ public GeneratorException(String strMessage, Exception e) {
+ super(strMessage, e);
+ }
+}
@@ -0,0 +1,94 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-147
+// 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: 2010.01.03 at 08:03:30 PM EST
+//
+
+
+package cruise.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+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>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="InputFolder" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;attribute name="OutputSubFolder" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "Directory")
+public class Directory {
+
+ @XmlAttribute(name = "InputFolder", required = true)
+ protected String inputFolder;
+ @XmlAttribute(name = "OutputSubFolder")
+ protected String outputSubFolder;
+
+ /**
+ * Gets the value of the inputFolder property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInputFolder() {
+ return inputFolder;
+ }
+
+ /**
+ * Sets the value of the inputFolder property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInputFolder(String value) {
+ this.inputFolder = value;
+ }
+
+ /**
+ * Gets the value of the outputSubFolder property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOutputSubFolder() {
+ return outputSubFolder;
+ }
+
+ /**
+ * Sets the value of the outputSubFolder property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOutputSubFolder(String value) {
+ this.outputSubFolder = value;
+ }
+
+}
@@ -0,0 +1,148 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-147
+// 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: 2010.01.03 at 08:03:30 PM EST
+//
+
+
+package cruise.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+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>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="InputFolder" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;attribute name="Package" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;attribute name="OutputSubFolder" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "")
+@XmlRootElement(name = "File")
+public class File {
+
+ @XmlAttribute(name = "InputFolder")
+ protected String inputFolder;
+ @XmlAttribute(name = "Package")
+ protected String _package;
+ @XmlAttribute(name = "OutputSubFolder", required = true)
+ protected String outputSubFolder;
+ @XmlAttribute(name = "Name", required = true)
+ protected String name;
+
+ /**
+ * Gets the value of the inputFolder property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getInputFolder() {
+ return inputFolder;
+ }
+
+ /**
+ * Sets the value of the inputFolder property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setInputFolder(String value) {
+ this.inputFolder = value;
+ }
+
+ /**
+ * Gets the value of the package property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getPackage() {
+ return _package;
+ }
+
+ /**
+ * Sets the value of the package property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setPackage(String value) {
+ this._package = value;
+ }
+
+ /**
+ * Gets the value of the outputSubFolder property.
+ *
+ * @return
+ * possible object is
+ * {@link String }
+ *
+ */
+ public String getOutputSubFolder() {
+ return outputSubFolder;
+ }
+
+ /**
+ * Sets the value of the outputSubFolder property.
+ *
+ * @param value
+ * allowed object is
+ * {@link String }
+ *
+ */
+ public void setOutputSubFolder(String value) {
+ this.outputSubFolder = 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;
+ }
+
+}
@@ -0,0 +1,112 @@
+//
+// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-147
+// 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: 2010.01.03 at 08:03:30 PM EST
+//
+
+
+package cruise.jaxb;
+
+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.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>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element ref="{}File" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;element ref="{}Directory" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ *
+ *
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "file",
+ "directory"
+})
+@XmlRootElement(name = "Files")
+public class Files {
+
+ @XmlElement(name = "File")
+ protected List<File> file;
+ @XmlElement(name = "Directory")
+ protected List<Directory> directory;
+
+ /**
+ * Gets the value of the file 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 file property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFile().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link File }
+ *
+ *
+ */
+ public List<File> getFile() {
+ if (file == null) {
+ file = new ArrayList<File>();
+ }
+ return this.file;
+ }
+
+ /**
+ * Gets the value of the directory 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 directory property.
+ *
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getDirectory().add(newItem);
+ * </pre>
+ *
+ *
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Directory }
+ *
+ *
+ */
+ public List<Directory> getDirectory() {
+ if (directory == null) {
+ directory = new ArrayList<Directory>();
+ }
+ return this.directory;
+ }
+
+}
Oops, something went wrong.

0 comments on commit 13f37a8

Please sign in to comment.