org/andromda/cartridges/arc/OnCascadeTreatment.java

Go to the documentation of this file.
00001 package org.andromda.cartridges.arc;
00002 
00003 import java.util.Collection;
00004 import java.util.Iterator;
00005 
00009 public class OnCascadeTreatment extends Treatment {
00010         public OnCascadeTreatment(Responsibility resp) {
00011                 super("OnCascade", "Persistence", resp);
00012         }
00013         public String getDescription() {
00014                 String desc="";
00015                 if(resp instanceof ConstraintResponsibility) {
00016                         if(((ConstraintResponsibility)resp).getConstraintName().equals("deleteElement")) {
00017                                 desc="The database can be configured to delete all the dependent elements of a '"+resp.getModelElementName()+"' instance.";
00018                         }
00019                 }
00020                 return desc;
00021         }
00022 }

Generated on Tue Jan 9 16:10:05 2007 for AndroMDA ARC by  doxygen 1.4.7