Author: mvw
Date: 2011-05-14 00:03:58-0700
New Revision: 19425

Modified:
   trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java
   trunk/src/argouml-core-model/src/org/argouml/model/Facade.java

Log:
Completed the Facade and the MDR implementation.

Modified: 
trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java
Url: 
http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java?view=diff&pathrev=19425&r1=19424&r2=19425
==============================================================================
--- 
trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java   
    (original)
+++ 
trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java   
    2011-05-14 00:03:58-0700
@@ -434,7 +434,7 @@
     public boolean isAConstraint(Object handle) {
         return handle instanceof Constraint;
     }
-    
+
     public boolean isACreateAction(Object handle) {
         return handle instanceof CreateAction;
     }
@@ -724,6 +724,10 @@
     public boolean isAReception(Object handle) {
         return handle instanceof Reception;
     }
+    
+    public boolean isARegion(Object handle) {
+        return false; // Not in UML1.4
+    }
 
     public boolean isAReturnAction(Object handle) {
         return handle instanceof ReturnAction;
@@ -737,6 +741,10 @@
         return handle instanceof SendAction;
     }
 
+    public boolean isASendObjectAction(Object handle) {
+        return false; // Not in UML1.4
+    }
+
     public boolean isASendSignalAction(Object handle) {
         return false; // Not in UML1.4
     }
@@ -765,6 +773,10 @@
         return handle instanceof StateVertex;
     }
 
+    public boolean isAVertex(Object handle) {
+        return false; // not in UML1.4
+    }
+
     public boolean isAStereotype(Object handle) {
         return handle instanceof Stereotype;
     }
@@ -813,6 +825,10 @@
         return handle instanceof Transition;
     }
 
+    public boolean isATrigger(Object handle) {
+        return false; // not in UML1.4
+    }
+
     public boolean isATimeEvent(Object handle) {
         return handle instanceof TimeEvent;
     }

Modified: trunk/src/argouml-core-model/src/org/argouml/model/Facade.java
Url: 
http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-core-model/src/org/argouml/model/Facade.java?view=diff&pathrev=19425&r1=19424&r2=19425
==============================================================================
--- trunk/src/argouml-core-model/src/org/argouml/model/Facade.java      
(original)
+++ trunk/src/argouml-core-model/src/org/argouml/model/Facade.java      
2011-05-14 00:03:58-0700
@@ -1032,6 +1032,14 @@
     boolean isAReception(Object handle);
 
     /**
+     * Recognizer for Region.
+     * 
+     * @param handle candidate
+     * @return true if handle is a Region
+     */
+    public boolean isARegion(Object handle);
+    
+    /**
      * Recognizer for ReturnAction.
      *
      * @param handle candidate
@@ -1056,6 +1064,14 @@
     boolean isASendAction(Object handle);
 
     /**
+     * Recognizer for SendObjectAction.
+     * 
+     * @param handle candidate
+     * @return true if handle is a SendObject Action
+     */
+    public boolean isASendObjectAction(Object handle);
+
+    /**
      * Recognizer for UML2 SendSignalAction.
      *
      * @param handle candidate
@@ -1112,6 +1128,14 @@
     boolean isAStateVertex(Object handle);
 
     /**
+     * Recognizer for Vertex.
+     *
+     * @param handle candidate
+     * @return true if handle is a Vertex
+     */
+    boolean isAVertex(Object handle);
+
+    /**
      * Recognizer for Stereotype.
      *
      * @param handle candidate
@@ -1217,6 +1241,14 @@
     boolean isATransition(Object handle);
 
     /**
+     * Recognizer for Trigger.
+     *
+     * @param handle candidate
+     * @return true if handle is a Trigger
+     */
+    boolean isATrigger(Object handle);
+
+    /**
      * Recognizer for TimeEvent.
      *
      * @param handle candidate

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

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to