svn commit: r17434 - trunk/src/argouml-app/src/org/argouml/kernel

Thomas Neustupny <[email protected]>
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: thn
Date: 2009-10-30 11:03:29-0700
New Revision: 17434

Modified:
   trunk/src/argouml-app/src/org/argouml/kernel/Project.java
   trunk/src/argouml-app/src/org/argouml/kernel/ProjectImpl.java

Log:
adding setter for the project type

Modified: trunk/src/argouml-app/src/org/argouml/kernel/Project.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/kernel/Project.java?view=diff&pathrev=17434&r1=17433&r2=17434
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/kernel/Project.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/kernel/Project.java	2009-10-30 11:03:29-0700
@@ -68,10 +68,20 @@
     /**
      * Get the project type. (Currently needed for profile project; probably
      * no longer needed when ArgoUML supports multimodel projects.)
+     *
+     * @return The URI.
      */
     public int getProjectType();
 
     /**
+     * Set the project type. (Currently needed for profile project; probably
+     * no longer needed when ArgoUML supports multimodel projects.)
+     * 
+     * @param projectType The new project type.
+     */
+    public void setProjectType(int projectType);
+
+    /**
      * Get the URI for this project.
      *
      * @return The URI.

Modified: trunk/src/argouml-app/src/org/argouml/kernel/ProjectImpl.java
Url: http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/kernel/ProjectImpl.java?view=diff&pathrev=17434&r1=17433&r2=17434
==============================================================================
--- trunk/src/argouml-app/src/org/argouml/kernel/ProjectImpl.java	(original)
+++ trunk/src/argouml-app/src/org/argouml/kernel/ProjectImpl.java	2009-10-30 11:03:29-0700
@@ -208,6 +208,10 @@
     public int getProjectType() {
         return projectType;
     }
+    
+    public void setProjectType(int projectType) {
+        this.projectType = projectType;
+    }
 
     public URI getUri() {
         return uri;

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=5905&dsMessageId=2413075

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.