org.andromda.cartridges.arc.DBSchemaTreatment Class Reference

Inheritance diagram for org.andromda.cartridges.arc.DBSchemaTreatment:

Inheritance graph
[legend]
Collaboration diagram for org.andromda.cartridges.arc.DBSchemaTreatment:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 DBSchemaTreatment (Responsibility resp)
String getDescription ()

Detailed Description

DBSchema Treatment Class

Definition at line 9 of file DBSchemaTreatment.java.


Constructor & Destructor Documentation

org.andromda.cartridges.arc.DBSchemaTreatment.DBSchemaTreatment ( Responsibility  resp  ) 

Definition at line 10 of file DBSchemaTreatment.java.

References org.andromda.cartridges.arc.Treatment.resp.

00010                                                       {
00011                 super("DBSchema", "Persistence", resp);
00012         }


Member Function Documentation

String org.andromda.cartridges.arc.DBSchemaTreatment.getDescription (  )  [virtual]

Implements org.andromda.cartridges.arc.Treatment.

Definition at line 13 of file DBSchemaTreatment.java.

References org.andromda.cartridges.arc.Treatment.resp.

00013                                        {
00014                 String desc="";
00015                 if(resp instanceof KeyResponsibility) {
00016                         desc="The database schema could have 'Primary Keys' and 'Unique' constraints to ensure the key responsibility.";
00017                 }
00018                 else if(resp instanceof CardinalityResponsibility) {
00019                         desc="The database schema could have 'Checks' to ensure the cardinality responsibility.";
00020                 }
00021                 return desc;
00022         }


The documentation for this class was generated from the following file:
Generated on Tue Jan 9 16:10:25 2007 for AndroMDA ARC by  doxygen 1.4.7