de.uni_paderborn.fujaba.codegen
Class UMLClassBodyRemoveYouStrategy

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.UMLClassBodyStrategy
      extended byde.uni_paderborn.fujaba.codegen.UMLClassBodyRemoveYouStrategy

public class UMLClassBodyRemoveYouStrategy
extends UMLClassBodyStrategy

Version:
$Revision: 1.13.2.2 $
Author:
Carsten Reckord

Nested Class Summary
protected static class UMLClassBodyRemoveYouStrategy.FRoleComparator
          This Comparator can be used to compare two Objects of type FRole.
 
Nested classes inherited from class de.uni_paderborn.fujaba.codegen.UMLClassBodyStrategy
UMLClassBodyStrategy.AttrComparator, UMLClassBodyStrategy.MethodComparator
 
Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.codegen.UMLClassBodyStrategy
DEFAULT, PROHIBIT, REQUIRE
 
Constructor Summary
UMLClassBodyRemoveYouStrategy()
           
 
Method Summary
static boolean alreadyImplementsRemoveYou(FClass clazz)
           
 void createContents(FClass umlClass)
          No comment provided by developer, please add a comment to improve documentation.
protected  void generateRemoveYouMethod(FClass clazz)
          No comment provided by developer, please add a comment to improve documentation.
protected static java.util.Collection getRemoveRoles(FClass umlClass)
          Get the removeRoles attribute of the UMLClassBodyRemoveYouStrategy class
static boolean mustCreateRemoveYouMethod(FClass clazz)
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.UMLClassBodyStrategy
checkFlag, getClassHandler, setClassHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLClassBodyRemoveYouStrategy

public UMLClassBodyRemoveYouStrategy()
Method Detail

createContents

public void createContents(FClass umlClass)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
createContents in class UMLClassBodyStrategy
Parameters:
umlClass - No description provided

mustCreateRemoveYouMethod

public static boolean mustCreateRemoveYouMethod(FClass clazz)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
clazz - No description provided
Returns:
No description provided

generateRemoveYouMethod

protected void generateRemoveYouMethod(FClass clazz)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
clazz - No description provided

getRemoveRoles

protected static java.util.Collection getRemoveRoles(FClass umlClass)
Get the removeRoles attribute of the UMLClassBodyRemoveYouStrategy class

Parameters:
umlClass - No description provided
Returns:
The removeRoles value

alreadyImplementsRemoveYou

public static boolean alreadyImplementsRemoveYou(FClass clazz)
Parameters:
clazz - FClass of interest
Returns:
true if a superclass of the class already implements a removeYou method