de.uni_paderborn.fujaba.codegen
Class UMLClassBodyAttributesStrategy

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

public class UMLClassBodyAttributesStrategy
extends UMLClassBodyStrategy

Version:
$Revision: 1.6 $
Author:
Carsten Reckord

Nested Class Summary
 
Nested classes inherited from class de.uni_paderborn.fujaba.codegen.UMLClassBodyStrategy
UMLClassBodyStrategy.AttrComparator, UMLClassBodyStrategy.MethodComparator
 
Field Summary
static int DEFAULT
          No comment provided by developer, please add a comment to improve documentation.
static int PROHIBIT
          No comment provided by developer, please add a comment to improve documentation.
static int REQUIRE
          No comment provided by developer, please add a comment to improve documentation.
 
Constructor Summary
UMLClassBodyAttributesStrategy()
           
 
Method Summary
protected  boolean checkFlag(boolean boolFlag, int intFlag)
          No comment provided by developer, please add a comment to improve documentation.
protected  void createAttr(FAttr attr)
          No comment provided by developer, please add a comment to improve documentation.
 void createContents(FClass umlClass)
          No comment provided by developer, please add a comment to improve documentation.
protected  java.util.SortedSet getAccessMethods(FAttr attr)
          Get the accessMethods attribute of the FClassBodyAttributesStrategy object
protected  java.util.SortedSet getAttributes(FClass umlClass)
          Get the attributes attribute of the FClassBodyAttributesStrategy object
 boolean isCreateFinal()
          Get the createFinal attribute of the FClassBodyAttributesStrategy object
 boolean isCreateStatic()
          Get the createStatic attribute of the FClassBodyAttributesStrategy object
protected  boolean isResponsible(FAttr attr)
          Get the responsible attribute of the FClassBodyAttributesStrategy object
 void resetCreateFinal()
          No comment provided by developer, please add a comment to improve documentation.
 void resetCreateStatic()
          No comment provided by developer, please add a comment to improve documentation.
 void setCreateFinal(boolean createFinal)
          Sets the createFinal attribute of the FClassBodyAttributesStrategy object
 void setCreateFinal(int createFinal)
          Sets the createFinal attribute of the FClassBodyAttributesStrategy object
 void setCreateStatic(boolean createStatic)
          Sets the createStatic attribute of the FClassBodyAttributesStrategy object
 void setCreateStatic(int createStatic)
          Sets the createStatic attribute of the FClassBodyAttributesStrategy object
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.UMLClassBodyStrategy
getClassHandler, setClassHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final int DEFAULT
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

PROHIBIT

public static final int PROHIBIT
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values

REQUIRE

public static final int REQUIRE
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Constructor Detail

UMLClassBodyAttributesStrategy

public UMLClassBodyAttributesStrategy()
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

createAttr

protected void createAttr(FAttr attr)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
attr - No description provided

isResponsible

protected boolean isResponsible(FAttr attr)
Get the responsible attribute of the FClassBodyAttributesStrategy object

Parameters:
attr - No description provided
Returns:
The responsible value

checkFlag

protected boolean checkFlag(boolean boolFlag,
                            int intFlag)
No comment provided by developer, please add a comment to improve documentation.

Overrides:
checkFlag in class UMLClassBodyStrategy
Parameters:
boolFlag - No description provided
intFlag - No description provided
Returns:
No description provided

isCreateFinal

public boolean isCreateFinal()
Get the createFinal attribute of the FClassBodyAttributesStrategy object

Returns:
The createFinal value

setCreateFinal

public void setCreateFinal(boolean createFinal)
Sets the createFinal attribute of the FClassBodyAttributesStrategy object

Parameters:
createFinal - The new createFinal value

resetCreateFinal

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


setCreateFinal

public void setCreateFinal(int createFinal)
Sets the createFinal attribute of the FClassBodyAttributesStrategy object

Parameters:
createFinal - The new createFinal value

isCreateStatic

public boolean isCreateStatic()
Get the createStatic attribute of the FClassBodyAttributesStrategy object

Returns:
The createStatic value

setCreateStatic

public void setCreateStatic(boolean createStatic)
Sets the createStatic attribute of the FClassBodyAttributesStrategy object

Parameters:
createStatic - The new createStatic value

setCreateStatic

public void setCreateStatic(int createStatic)
Sets the createStatic attribute of the FClassBodyAttributesStrategy object

Parameters:
createStatic - The new createStatic value

resetCreateStatic

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


getAttributes

protected java.util.SortedSet getAttributes(FClass umlClass)
Get the attributes attribute of the FClassBodyAttributesStrategy object

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

getAccessMethods

protected java.util.SortedSet getAccessMethods(FAttr attr)
Get the accessMethods attribute of the FClassBodyAttributesStrategy object

Parameters:
attr - No description provided
Returns:
The accessMethods value