UML.Code
Class Interface

java.lang.Object
  |
  +--UML.Code.Class
        |
        +--UML.Code.Interface

public class Interface
extends Class

This class represent a Java interface for which code is generated. Information collected for code generation is: interface name, visibility, imported packages, supertypes (interfaces only), fields, methods.


Field Summary
 
Fields inherited from class UML.Code.Class
attributes, header, methods, name, packages, visibility
 
Constructor Summary
Interface()
          Constructor.
 
Method Summary
 java.lang.String getCode()
          Gets the code for the interface.
 
Methods inherited from class UML.Code.Class
add, add, add, add, getConstructors, getName, getSupertypes, getXmiUuid, setIsAbstract, setName, setVisibility, setXmiUuid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Interface

public Interface()
Constructor.

Method Detail

getCode

public java.lang.String getCode()
Gets the code for the interface.

Overrides:
getCode in class Class
Returns:
code the generated code.