View Javadoc

1   package net.sf.quarrel.uml;
2   
3   /***
4    * Represents a UML class, used to differentiate from interfaces.
5    */
6   public class UmlClass
7           extends StructuredElement {
8   
9       /***
10       * Creates an instance.
11       *
12       * @param name the name of the class.
13       */
14      protected UmlClass(String name) {
15          super(name);
16      }
17  
18      /***
19      * {@inheritDoc}
20      */ 
21      public String toString() {
22          return "class [" + getName() + "]";
23      }
24  
25  }