svn commit: r19108 - trunk/src/argouml-core-model-mdr/src/org/argouml/model/mdr/FacadeMDRImpl.java

[email protected]
Newsgroups gmane.comp.lang.uml.argouml.cvs
Message-ID <[email protected]>
Author: thn
Date: 2011-03-10 00:49:58-0800
New Revision: 19108

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

Log:
enable isFrozen() for assoc ends

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=19108&r1=19107&r2=19108
==============================================================================
--- 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-03-10 00:49:58-0800
@@ -901,6 +901,10 @@
                 ChangeableKind ck = (ChangeableKind) handle;
                 return ChangeableKindEnum.CK_FROZEN.equals(ck);
             }
+            if (handle instanceof AssociationEnd) {
+                return ChangeableKindEnum.CK_FROZEN
+                        .equals(((AssociationEnd) handle).getChangeability());
+            }
         } catch (InvalidObjectException e) {
             throw new InvalidElementException(e);
         }

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

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.