de.uni_paderborn.fujaba.codegen
Class UMLRoleOOHandlerQualifiedToManyStrategy

java.lang.Object
  extended byde.uni_paderborn.fujaba.codegen.UMLRoleOOHandlerStrategy
      extended byde.uni_paderborn.fujaba.codegen.UMLRoleOOHandlerToManyStrategy
          extended byde.uni_paderborn.fujaba.codegen.UMLRoleOOHandlerQualifiedStrategy
              extended byde.uni_paderborn.fujaba.codegen.UMLRoleOOHandlerQualifiedToManyStrategy
Direct Known Subclasses:
UMLRoleOOHandlerInternalQualifiedToManyStrategy

public class UMLRoleOOHandlerQualifiedToManyStrategy
extends UMLRoleOOHandlerQualifiedStrategy

Version:
$Revision: 1.5 $
Author:
Carsten Reckord

Constructor Summary
UMLRoleOOHandlerQualifiedToManyStrategy()
           
 
Method Summary
protected  AccessorOOHandler.MethodDescription createHasKeyValueInMethod(FRole umlRole, FRole partnerRole, FAttr attr, de.upb.tools.fca.FHashMap templateParameters)
           
protected  AccessorOOHandler.MethodDescription createIteratorOfKeyMethod(FRole umlRole, FRole partnerRole, FAttr attr, de.upb.tools.fca.FHashMap templateParameters)
          No comment provided by developer, please add a comment to improve documentation.
protected  AccessorOOHandler.MethodDescription createRemoveKeyFromMethod(FRole umlRole, FRole partnerRole, FAttr attr, de.upb.tools.fca.FHashMap templateParameters)
           
protected  AccessorOOHandler.MethodDescription createRemoveKeyValueFromMethod(FRole umlRole, FRole partnerRole, FAttr attr, de.upb.tools.fca.FHashMap templateParameters)
           
protected  AccessorOOHandler.MethodDescription createSizeOfKeyMethod(FRole umlRole, FRole partnerRole, FAttr attr, de.upb.tools.fca.FHashMap templateParameters)
          No comment provided by developer, please add a comment to improve documentation.
protected  void generateReadAccessMethods(FRole umlRole, FRole partnerRole, FAttr attr, de.upb.tools.fca.FHashMap templateParameters, java.util.Set accessMethods)
          No comment provided by developer, please add a comment to improve documentation.
protected  void generateWriteAccessMethods(FRole umlRole, FRole partnerRole, FAttr attr, de.upb.tools.fca.FHashMap templateParameters, java.util.Set accessMethods)
          No comment provided by developer, please add a comment to improve documentation.
protected  OOCollectionEnum getContainerType()
          Get the containerType attribute of the UMLRoleOOHandlerQualifiedToManyStrategy object
 boolean isResponsible(FRole umlRole, FRole partnerRole)
          Get the responsible attribute of the UMLRoleOOHandlerStrategy object
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.UMLRoleOOHandlerQualifiedStrategy
addQualifier, addQualifier, createAddToMapEntryMethod, createAddToMethod, createEntriesOfMethod, createHasKeyInMethod, createHasValueInMethod, createInsertMethod, createInsertMethod, createInsertMethod, createInsertMethod, createIteratorOfMethod, createKeysOfMethod, createRemoveValueFromMethod, getMapEntryType, getPartnerAccessMethod, setupTemplateParameters
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.UMLRoleOOHandlerToManyStrategy
createGetFirstOfMethod, createGetLastOfMethod, createHasInMethod, createHasInMethod, createIteratorOfMethod, createIteratorOfMethod, createKeyChangePostHook, createKeyChangePreHook, createRemoveAllFromMethod, createRemoveFromMethod, createRemoveMethod, createRemoveMethod, createSizeOfMethod, generateContructorParam, generateFirstLastReadAccessMethods, generateRole, getAttrType, getIteratorType, getPlainIteratorType
 
Methods inherited from class de.uni_paderborn.fujaba.codegen.UMLRoleOOHandlerStrategy
addToTemplateParameterListeners, changeTemplateParameters, createAccessMethod, createAssocComment, createAttr, createParam, findResponsible, getCardinality, getExternalQualifierType, getHandler, getNext, getPartnerAccessMethod, getPrevious, getQualifiedCardinality, initHandler, isBound, isOrdered, isSorted, isToMany, provideImport, provideImport, providePackage, provideReference, provideType, removeFromTemplateParameterListeners, setHandler, setNext, setPrevious, setupKeyChangeParameters, setupTemplateParameterListeners
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UMLRoleOOHandlerQualifiedToManyStrategy

public UMLRoleOOHandlerQualifiedToManyStrategy()
Method Detail

isResponsible

public boolean isResponsible(FRole umlRole,
                             FRole partnerRole)
Description copied from class: UMLRoleOOHandlerStrategy
Get the responsible attribute of the UMLRoleOOHandlerStrategy object

Overrides:
isResponsible in class UMLRoleOOHandlerQualifiedStrategy
Parameters:
umlRole - No description provided
partnerRole - No description provided
Returns:
The responsible value
See Also:
UMLRoleOOHandlerStrategy.isResponsible(de.uni_paderborn.fujaba.metamodel.FRole, de.uni_paderborn.fujaba.metamodel.FRole)

generateReadAccessMethods

protected void generateReadAccessMethods(FRole umlRole,
                                         FRole partnerRole,
                                         FAttr attr,
                                         de.upb.tools.fca.FHashMap templateParameters,
                                         java.util.Set accessMethods)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
generateReadAccessMethods in class UMLRoleOOHandlerQualifiedStrategy
Parameters:
umlRole - No description provided
partnerRole - No description provided
attr - No description provided
templateParameters - No description provided
accessMethods - No description provided

generateWriteAccessMethods

protected void generateWriteAccessMethods(FRole umlRole,
                                          FRole partnerRole,
                                          FAttr attr,
                                          de.upb.tools.fca.FHashMap templateParameters,
                                          java.util.Set accessMethods)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
generateWriteAccessMethods in class UMLRoleOOHandlerQualifiedStrategy
Parameters:
umlRole - No description provided
partnerRole - No description provided
attr - No description provided
templateParameters - No description provided
accessMethods - No description provided

createHasKeyValueInMethod

protected AccessorOOHandler.MethodDescription createHasKeyValueInMethod(FRole umlRole,
                                                                        FRole partnerRole,
                                                                        FAttr attr,
                                                                        de.upb.tools.fca.FHashMap templateParameters)
Parameters:
umlRole -
partnerRole -
attr -
templateParameters -
Returns:
No description provided

createIteratorOfKeyMethod

protected AccessorOOHandler.MethodDescription createIteratorOfKeyMethod(FRole umlRole,
                                                                        FRole partnerRole,
                                                                        FAttr attr,
                                                                        de.upb.tools.fca.FHashMap templateParameters)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
umlRole - No description provided
partnerRole - No description provided
attr - No description provided
templateParameters - No description provided
Returns:
No description provided

createRemoveKeyValueFromMethod

protected AccessorOOHandler.MethodDescription createRemoveKeyValueFromMethod(FRole umlRole,
                                                                             FRole partnerRole,
                                                                             FAttr attr,
                                                                             de.upb.tools.fca.FHashMap templateParameters)
Parameters:
umlRole -
partnerRole -
attr -
templateParameters -
Returns:
No description provided

createSizeOfKeyMethod

protected AccessorOOHandler.MethodDescription createSizeOfKeyMethod(FRole umlRole,
                                                                    FRole partnerRole,
                                                                    FAttr attr,
                                                                    de.upb.tools.fca.FHashMap templateParameters)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
umlRole - No description provided
partnerRole - No description provided
attr - No description provided
templateParameters - No description provided
Returns:
No description provided

createRemoveKeyFromMethod

protected AccessorOOHandler.MethodDescription createRemoveKeyFromMethod(FRole umlRole,
                                                                        FRole partnerRole,
                                                                        FAttr attr,
                                                                        de.upb.tools.fca.FHashMap templateParameters)
Parameters:
umlRole -
partnerRole -
attr -
templateParameters -
Returns:
No description provided

getContainerType

protected OOCollectionEnum getContainerType()
Get the containerType attribute of the UMLRoleOOHandlerQualifiedToManyStrategy object

Specified by:
getContainerType in class UMLRoleOOHandlerQualifiedStrategy
Returns:
The containerType value