de.uni_paderborn.fujaba.uml
Class UMLClass

java.lang.Object
  extended byde.uni_paderborn.fujaba.basic.BasicIncrement
      extended byde.uni_paderborn.fujaba.asg.ASGElement
          extended byde.uni_paderborn.fujaba.uml.UMLIncrement
              extended byde.uni_paderborn.fujaba.uml.UMLDiagramItem
                  extended byde.uni_paderborn.fujaba.uml.UMLDeclaration
                      extended byde.uni_paderborn.fujaba.uml.UMLClass
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Comparable, FClass, FDeclaration, FDiagramItem, FElement, FIncrement, FType, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, UMLType, UniqueIdentifier

public class UMLClass
extends UMLDeclaration
implements UMLType, FClass

UMLClass is the core element of UMLClass-Diagrams.

Associations

          +--------------------+ 1                1
 UMLClass | getFullClassName() +-------------------- UMLMethod
          +--------------------+ parent     methods

          +-----------+ 1              1
 UMLClass | getName() +------------------ UMLAttr
          +-----------+ parent     attrs

         +-----------+ 1                   1
 UMLFile | getName() +----------------------- UMLClass
         +-----------+ file         contains

          +-----------+ 1                         1
 UMLClass | getName() +----------------------------- UMLMethod
          +-----------+ declares   declaredInMethod

          +-----------+ 1                        1
 UMLClass | getName() +---------------------------- UMLClass
          +-----------+ declares   declaredInClass

          +-----------+ 1                          1
 UMLClass | getName() +------------------------------ UMLPackage
          +-----------+ declares   declaredInPackage

            +---------+ 1                                   1
 UMLProject + name    +--------------------------------------- UMLClass
            +---------+ declaredInReferences       references

                 parsedMembers          0..n
 UMLClass -----------------------------------> UMLDeclaration
                               parsedMembers
 

Version:
$Revision: 1.461.2.10 $
Author:
$Author: creckord $

Nested Class Summary
 
Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement
ASGElement.SortByNameComparator
 
Field Summary
static java.lang.String PROPERTY_NAME
          No comment provided by developer, please add a comment to improve documentation.
 
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
dontUseAccessMethodsInThisClass
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FType
NAME_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
ANNOTATIONS_PROPERTY, DIAGRAMS_PROPERTY, ELEMENT_REFERENCES_PROPERTY, GENERATED_PROPERTY, TEXT_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FClass
ABSTRACT_PROPERTY, ATTRS_PROPERTY, DECLARED_IN_CLASS_PROPERTY, DECLARED_IN_METHOD_PROPERTY, DECLARED_IN_PACKAGE_PROPERTY, DECLARES_PROPERTY, FILE_PROPERTY, FULL_CLASS_NAME_PROPERTY, METHODS_PROPERTY, REV_IMPORTED_CLASSES_PROPERTY, REV_ROLES_PROPERTY, REV_SUBCLASS_PROPERTY, REV_SUPERCLASS_PROPERTY, ROLES_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FDeclaration
CODE_DISPLAY_LEVEL, DESIGN_DISPLAY_LEVEL, PACKAGE, PRIVATE, PROTECTED, PUBLIC, USERDEFINED, VISIBILITY_CHAR, VISIBILITY_PROPERTY, VISIBILITY_STRING
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FDiagramItem
REV_ADDITIONAL_ITEMS_PROPERTY, REV_ITEMS_PROPERTY, VIEW_DEFINITIONS_PROPERTY
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FIncrement
ASSERT_IN_UNIT_TEST_PROPERTY, COMMENT_PROPERTY, CONSTRAINTS_PROPERTY, STEREOTYPES_PROPERTY
 
Constructor Summary
UMLClass()
          Constructor for class UMLClass
UMLClass(boolean coobraPersistent)
          Constructor for class UMLClass
UMLClass(java.lang.String name)
          Constructor for class UMLClass
UMLClass(java.lang.String name, boolean reference)
          Create a UMLClass with specified name and UMLStereotypeManager.REFERENCE as Stereotype if reference parameter is true
UMLClass(java.lang.String name, UMLStereotype stereotype, UMLTypeList typeList, UMLPackage declaredIn)
          Constructor for class UMLClass
 
Method Summary
 boolean addToAttrs(FAttr obj)
          Access method for an one to n association.
protected  void addToAttrs(java.util.Map.Entry entry)
          this method should be protected in order to enable the fpr file mechanism for subclasses, too.
 boolean addToDeclares(FClass obj)
          Access method for an one to n association.
protected  void addToDeclares(KeyValuePair pair)
          This method is needed only for loading FTreeMaps, don't use it in other cases.
 void addToInstances(UMLObject elem)
          Access method for an one to n association.
 boolean addToMethods(FMethod obj)
          Access method for an one to n association.
 boolean addToParsedMembers(FDeclaration value)
          Access method for a To N-association.
 boolean addToRevAttrType(FAttr value)
          Access method for an one to n association.
 void addToRevImportedClasses(FFile elem)
          Access method for an one to n association.
 boolean addToRevParamType(FParam value)
          Access method for an one to n association.
 boolean addToRevResultType(FMethod value)
          Access method for an one to n association.
 void addToRevSubclass(FGeneralization elem)
          Access method for an one to n association.
 void addToRevSuperclass(FGeneralization elem)
          Access method for an one to n association.
 boolean addToRevType(FQualifier value)
          Access method for an one to n association.
 void addToRoles(FRole elem)
          Access method for an one to n association.
 boolean addToSignals(UMLMethod obj)
          Access method for an one to n association.
 java.util.Map collectionOfAttrs()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Enumeration elementsOfAllAttrs()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Enumeration elementsOfAllChildren()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Enumeration elementsOfInstances()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Enumeration elementsOfRevImportedClasses()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Enumeration elementsOfRevSubclass()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Enumeration elementsOfRevSuperclass()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Enumeration elementsOfRoles()
          No comment provided by developer, please add a comment to improve documentation.
 de.upb.tools.sdm.Path elementsOfSuperClasses()
          Deprecated. please use iteratorOfSuperClasses()
 java.util.Iterator entriesOfAttrs()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator entriesOfDeclares()
          No comment provided by developer, please add a comment to improve documentation.
 FPackage findFPackage()
          Deprecated. will be renamed when using JDK 1.5 (without F)
 java.util.Set findMethodsWithSignatureInSubclasses(java.lang.String signature)
          Add all methods with given signature to the methods set, found in the subclasses and -interfaces.
 java.util.Set findMethodsWithSignatureInSuperclasses(java.lang.String signature)
          Add all methods with given signature to the methods set, found in the superclasses and -interfaces.
 UMLPackage findPackage()
           
 de.upb.tools.fca.FTreeSet getAllAccessibleAttrs()
          Get all Atrributs which could be accessed from inside the class including derived attributs
 java.util.SortedMap getAllAccessibleMethodObjects()
          Get all Methods which could be accessed from inside the class including derived methods
 java.util.Collection getAllAccessibleMethods()
          Get the allAccessibleMethods attribute of the UMLClass object
 de.upb.tools.fca.FTreeSet getAllAssocs()
          Returns all associations which can be accessed from this class.
 java.util.TreeSet getAllAssocsNew()
          returns all assocs of this class an his parents
 de.upb.tools.fca.FTreeSet getAllDerivedClasses()
          Get all classes wich are derived direct or indirect
 java.util.TreeMap getAllOutGoingRoles()
          Get the allOutGoingRoles attribute of the UMLClass object
 de.upb.tools.fca.FTreeSet getAllUsedRoles()
          Get all roles which are used in this class or in a superclass
 UMLClass getDeclaredInClass()
          Get the declaredInClass attribute of the UMLClass object
 UMLMethod getDeclaredInMethod()
          Get the declaredInMethod attribute of the UMLClass object
 UMLPackage getDeclaredInPackage()
          Get the declaredInPackage attribute of the UMLClass object
 UMLProject getDeclaredInReferences()
          Get the declaredInReferences attribute of the UMLClass object
 java.lang.String getDefaultIcon()
          Get the defaultIcon attribute of the UMLClass object
 int getDimension()
          Get the dimension attribute of the UMLClass object
 FClass getFDeclaredInClass()
          Get the fDeclaredInClass attribute of the UMLClass object
 FMethod getFDeclaredInMethod()
          Get the fDeclaredInMethod attribute of the UMLClass object
 FPackage getFDeclaredInPackage()
          Get the fDeclaredInPackage attribute of the UMLClass object
 FFile getFFile()
          Get the fFile attribute of the UMLClass object
 UMLFile getFile()
          Get the file attribute of the UMLClass object
 FDiagram getFReactiveDiagram()
          Get the fReactiveDiagram attribute of the UMLClass object
 FType getFRealType()
          Get the fRealType attribute of the UMLClass object
 FArray getFRevArrayType()
          Get the fRevArrayType attribute of the UMLClass object
 UMLAttr getFromAllAttrs(java.lang.String key)
          Get the fromAllAttrs attribute of the UMLClass object
 FAttr getFromAllFAttrs(java.lang.String key)
          Get the fromAllFAttrs attribute of the UMLClass object
 FMethod getFromAllFMethods(java.lang.String key)
          Get the fromAllFMethods attribute of the UMLClass object
 UMLMethod getFromAllMethods(java.lang.String key)
          Get the fromAllMethods attribute of the UMLClass object
 UMLRole getFromAllPartnerRoles(java.lang.String key)
          Get the fromAllPartnerRoles attribute of the UMLClass object
 UMLRole getFromAllRevRoles(java.lang.String key)
          Get the fromAllRevRoles attribute of the UMLClass object
 UMLRole getFromAllRoles(java.lang.String key)
          Get the fromAllRoles attribute of the UMLClass object
 UMLAttr getFromAttrs(java.lang.String key)
          Get the fromAttrs attribute of the UMLClass object
 UMLClass getFromDeclares(java.lang.String key)
          Get the fromDeclares attribute of the UMLClass object
 FAttr getFromFAttrs(java.lang.String key)
          Get the fromFAttrs attribute of the UMLClass object
 FClass getFromFDeclares(java.lang.String key)
          Get the fromFDeclares attribute of the UMLClass object
 FMethod getFromFMethods(java.lang.String key)
          Get the fromFMethods attribute of the UMLClass object
 FMethod getFromFMethodsByShortName(java.lang.String name)
          Get the fromFMethodsByShortName attribute of the UMLClass object
 FMethod getFromFMethodsByShortNameIncludingInherited(java.lang.String name)
          Get the fromFMethodsByShortNameIncludingInherited attribute of the UMLClass object
 FRole getFromFRevRoles(java.lang.String roleName)
          Get the fromFRevRoles attribute of the UMLClass object
 FRole getFromFRoles(java.lang.String roleName)
          Get the fromFRoles attribute of the UMLClass object
 UMLMethod getFromMethods(java.lang.String key)
          Get the fromMethods attribute of the UMLClass object
 UMLMethod getFromMethodsByShortName(java.lang.String key)
          Get the fromMethodsByShortName attribute of the UMLClass object
 UMLMethod getFromMethodsByShortNameIncludingInherited(java.lang.String key)
          Searches recursivly the inheritance hierarchy and looks for methods.
 UMLRole getFromPartnerRoles(java.lang.String key)
          Get the fromPartnerRoles attribute of the UMLClass object
 UMLRole getFromRevRoles(java.lang.String roleName)
          Get the fromRevRoles attribute of the UMLClass object
 UMLRole getFromRoles(java.lang.String roleName)
          Get the fromRoles attribute of the UMLClass object
 UMLMethod getFromSignals(java.lang.String key)
          Get the fromSignals attribute of the UMLClass object
 FDiagram getFStatechart()
          Get the fStatechart attribute of the UMLClass object
 FClass getFSuperClass()
          Get the fSuperClass attribute of the UMLClass object
 java.lang.String getFullClassName()
          This function computs the full qualified classname of this class e. g. if the class FooBar is defined in the package upb and upb is in de then this function will return de.upb.FooBar
 java.lang.String getName()
          Get the name attribute of the UMLClass object
 FElement getParentElement()
          Query the logical parent of this element (e.g. package of a class, diagram of an object).
 UMLGeneralization getParentGeneralization(UMLClass parent)
          To get the generalization between this child class and a parent class.
 java.lang.String getProgLangType()
          interface implementation remember to initialize the variables
 UMLProject getProject()
          Get the project attribute of the UMLClass object
 UMLAttr getPubAttrWithKey(java.lang.String key)
          Check if an class has an public accessible Attribut including derived Attributs with given name and deliver it when found
 UMLMethod getPubMethWithKey(java.lang.String key)
          Check if an class has an public accessible method including derived methods with given (full) name and return it
 UMLType getRealType()
          Get the realType attribute of the UMLClass object
 UMLArray getRevArrayType()
          Get the revArrayType attribute of the UMLClass object
 UMLTypeList getRevTypes()
          Get the revTypes attribute of the UMLClass object
 UMLStartActivity getStartOfStateChart()
          Get the startOfStateChart attribute of the UMLClass object
 UMLStatechart getStatechart()
           
 UMLActivityDiagram getStoryDiagram()
          Deprecated. use getStatechart()
 UMLClass getSuperClass()
          This method returns the super class of this class.
 java.lang.String getText()
          Get the text attribute of the UMLClass object
 java.lang.String getTypeName()
          Get the typeName attribute of the UMLClass object
 UMLReactiveDiagram getUMLReactiveDiagram()
          UMLMethod: '+ getUMLReactiveDiagram (): UMLReactiveDiagram'.
 UMLType getUMLType()
          Get the uMLType attribute of the UMLClass object
 int getVisibility()
          Get the visibility attribute of the UMLClass object
 boolean hasInAttrs(FAttr obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInDeclares(FClass obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInInstances(UMLObject elem)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInMethods(FMethod obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInParsedMembers(FDeclaration value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevAttrType(FAttr value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevImportedClasses(FFile elem)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevParamType(FParam value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevResultType(FMethod value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevSubclass(FGeneralization elem)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevSuperclass(FGeneralization elem)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRevType(FQualifier value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInRoles(FRole elem)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasInSignals(UMLMethod obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasKeyInAttrs(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasKeyInDeclares(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasKeyInMethods(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasKeyInSignals(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean hasPubAttrWithKey(java.lang.String key)
          Check if an class has an public accessible Attribut including derived Attributs with given name
 boolean hasPubMethWithKey(java.lang.String key)
          Check if an class has an public accessible method including derived methods with given (full) name
 boolean isAbstract()
          Get the abstract attribute of the UMLClass object
 boolean isAssignableFrom(UMLClass clazz)
          Get the assignableFrom attribute of the UMLClass object
 boolean isChildOf(UMLClass clazz)
          Returns true, if this class is subclass of the param.
 boolean isCodeGenDenied()
          Get the value of codeGenDenied.
 boolean isFinal()
          Get the final attribute of the UMLClass object
 boolean isProtected()
          Get the protected attribute of the UMLClass object
 boolean isReference()
          UMLMethod: isReference : boolean
 boolean isStatic()
          Get the static attribute of the UMLClass object
 boolean isSubClassOf(UMLClass clazz)
          Use this method to determine wether this instance of UMLClass is a subclass of the given UMLClass clazz
 boolean isTypeMarkable()
          This method checks if all grabbed roles are references.
 boolean isUmlAbstract()
          Get the umlAbstract attribute of the UMLClass object
 java.util.Iterator iteratorOfAllAccessibleMethods()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfAllAttrs()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfAllRoles()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfAttrs()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfDeclares()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfInstances()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfMethods()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfParsedMembers()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevAttrType()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevImportedClasses()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevParamType()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevResultType()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevSubclass()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevSuperclass()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRevType()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfRoles()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator iteratorOfSignals()
          No comment provided by developer, please add a comment to improve documentation.
 de.upb.tools.sdm.Path iteratorOfSubClasses()
          Get a Path object containing all subclasses of this UMLClass.
 de.upb.tools.sdm.Path iteratorOfSuperClasses()
          Get a Path object containing all superclasses of this UMLClass.
 java.util.Iterator iteratorOfUndefinedMethods()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator keysOfAttrs()
          No comment provided by developer, please add a comment to improve documentation.
 java.util.Iterator keysOfDeclares()
          No comment provided by developer, please add a comment to improve documentation.
 boolean necessaryToGenerateSourceCode()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromAttrs()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromDeclares()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromMethods()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromParsedMembers()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromRevAttrType()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromRevParamType()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromRevResultType()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromRevSubclass()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromRevSuperclass()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromRevType()
          No comment provided by developer, please add a comment to improve documentation.
 void removeAllFromSignals()
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromAttrs(FAttr obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromDeclares(FClass obj)
          No comment provided by developer, please add a comment to improve documentation.
 void removeFromDiagrams(FDiagram obj)
          No comment provided by developer, please add a comment to improve documentation.
 void removeFromInstances(UMLObject elem)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromMethods(FMethod obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromParsedMembers(FDeclaration value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromRevAttrType(FAttr value)
          No comment provided by developer, please add a comment to improve documentation.
 void removeFromRevImportedClasses(FFile elem)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromRevParamType(FParam value)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromRevResultType(FMethod value)
          No comment provided by developer, please add a comment to improve documentation.
 void removeFromRevSubclass(FGeneralization elem)
          No comment provided by developer, please add a comment to improve documentation.
 void removeFromRevSuperclass(FGeneralization elem)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromRevType(FQualifier value)
          No comment provided by developer, please add a comment to improve documentation.
 void removeFromRoles(FRole elem)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeFromSignals(UMLMethod obj)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeKeyFromAttrs(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeKeyFromDeclares(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeKeyFromMethods(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 boolean removeKeyFromSignals(java.lang.String key)
          No comment provided by developer, please add a comment to improve documentation.
 void removeYou()
          Isolates the object so the garbage collector can remove it.
 void replaceMethod(UMLMethod method)
          No comment provided by developer, please add a comment to improve documentation.
 ASGElement searchID(java.lang.String id)
          Searches the ASG tree for a given id
 boolean setAbstract(boolean umlAbstract)
          Sets the abstract attribute of the UMLClass object
 void setCodeGenDenied(boolean codeGenDenied)
          Set the value of codeGenDenied.
 boolean setDeclaredInClass(FClass obj)
          Sets the declaredInClass attribute of the UMLClass object
 boolean setDeclaredInMethod(FMethod obj)
          Sets the declaredInMethod attribute of the UMLClass object
 boolean setDeclaredInPackage(FPackage obj)
          Sets the declaredInPackage attribute of the UMLClass object
 boolean setDeclaredInReferences(UMLProject obj)
          Sets the declaredInReferences attribute of the UMLClass object
 void setDefaultIcon(java.lang.String newVal)
          Sets the defaultIcon attribute of the UMLClass object
 boolean setFile(FFile obj)
          Sets the file attribute of the UMLClass object
 void setName(java.lang.String name)
          Sets the name attribute of the UMLClass object.
 void setProgLangType(java.lang.String progLangType)
          Sets the progLangType attribute of the UMLClass object
 void setRevArrayType(FArray revArrayType)
          Sets the revArrayType attribute of the UMLClass object
 boolean setRevTypes(FTypeList obj)
          Sets the revTypes attribute of the UMLClass object
 void setStartOfStateChart(UMLStartActivity startOfStateChart)
          Sets the startOfStateChart attribute of the UMLClass object
 void setStatic(boolean umlStatic)
          Sets the static attribute of the UMLClass object
 void setTypeName(java.lang.String name)
          Sets the typeName attribute of the UMLClass object
 boolean setUmlAbstract(boolean umlAbstract)
          Sets the umlAbstract attribute of the UMLClass object
 boolean setUMLReactiveDiagram(UMLReactiveDiagram value)
          UMLMethod: '+ setUMLReactiveDiagram (value: UMLReactiveDiagram): Boolean'.
 void setVisibility(int visibility)
          Repair the visibility attribute.
 int sizeOfAttrs()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfDeclares()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfMethods()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfParsedMembers()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfRevAttrType()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfRevParamType()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfRevResultType()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfRevSubclass()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfRevType()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfRoles()
          No comment provided by developer, please add a comment to improve documentation.
 int sizeOfSignals()
          No comment provided by developer, please add a comment to improve documentation.
 java.lang.String toString()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLDeclaration
getDisplayLevel, getFType, isParsed, setDisplayLevel, setParsed
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLDiagramItem
addToDiagrams, addToRevAdditionalItems, addToRevItems, addToViewDefinitions, createUnparseModuleName, getCurrentActiveDiagram, getFCurrentActiveDiagram, getFFirstFromDiagrams, getFirstFromDiagrams, hasInRevAdditionalItems, hasInRevItems, hasInViewDefinitions, iteratorOfRevAdditionalItems, iteratorOfRevItems, iteratorOfViewDefinitions, removeAllFromRevAdditionalItems, removeAllFromRevItems, removeAllFromViewDefinitions, removeFromRevAdditionalItems, removeFromRevItems, removeFromViewDefinitions, sizeOfRevAdditionalItems, sizeOfRevItems, sizeOfViewDefinitions
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLIncrement
addToConstraints, addToStereotypes, addToStereotypes, entriesOfStereotypes, getComment, getFComment, getFromFStereotypes, getFromStereotypes, getFromStereotypes, hasInConstraints, hasInStereotypes, hasKeyInStereotypes, isAssertInUnitTest, iteratorOfConstraints, iteratorOfStereotypes, keysOfStereotypes, removeAllFromConstraints, removeAllFromStereotypes, removeFromConstraints, removeFromStereotypes, removeKeyFromStereotypes, setAssertInUnitTest, setComment, setStereotype, sizeOfConstraint, sizeOfStereotypes
 
Methods inherited from class de.uni_paderborn.fujaba.asg.ASGElement
acknowledgeChange, addAdditionalListener, addPointToUnparseInformation, addPropertyChangeListener, addPropertyChangeListener, addToAnnotations, addToElementReferences, addToElementReferences, addToFsaObjects, addToLocations, addToLocations, addToPropertyChangeListeners, addToPropertyChangeListeners, addToUnparseInformations, addToUnparseInformations, addToUserMessages, deleteTokens, elementsOfDiagrams, entriesOfElementReferences, entriesOfFsaObjects, entriesOfUnparseInformations, fireEvent, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getCoObRAId, getFirstFromFSAObjects, getFirstOOGenToken, getFromElementReferences, getFromFElementReferences, getFromFsaObjects, getFromUnparseInformations, getFSAInterface, getLastModified, getLastOOGenToken, getPointFromUnparseInformation, getPropertyChangeSupport, getRepository, getTransientElements, getUnparseModuleName, getUnparseModuleNameImpl, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasInFsaObjects, hasKeyInElementReferences, hasKeyInFsaObjects, initElementListener, initPersistency, isCoobraPersistent, isInspectableField, isInTransientMode, isPersistencyChange, isReadOnly, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfFsaObjects, iteratorOfKeyFromUnparseInformations, iteratorOfUnparseInformations, iteratorOfUserMessages, keysOfElementReferences, keysOfFsaObjects, keysOfUnparseInformations, proposeFieldValues, removeAdditionalListener, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromFsaObjects, removeAllFromUnparseInformations, removeAllFromUserMessages, removeFromAnnotations, removeFromElementReferences, removeFromElementReferences, removeFromFsaObjects, removeFromPropertyChangeListeners, removeFromPropertyChangeListeners, removeFromUnparseInformations, removeFromUnparseInformations, removeFromUnparseInformations, removeFromUserMessages, removeKeyFromElementReferences, removeKeyFromFsaObjects, removePropertyChangeListener, removePropertyChangeListener, saveFSAProperties, saveLocations, setCoObRAId, setCutCopyPasteParent, setFirstOOGenToken, setGenerated, setInTransientMode, setLastOOGenToken, setRepository, setUnparseModuleName, sizeOfAnnotations, sizeOfDiagrams, sizeOfElementReferences, sizeOfFsaObjects, sizeOfUserMessages, updateFSACollapsed, updateFSALocation, updateKeyInFsaObjects, writeAttributes
 
Methods inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
compareTo, getID, getUniqueID, getUniqueID, isGenerated, lessUniqueId, readAttributes, readAttributes, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, readFromStringTokenizer, resetClassInfos, resetFieldWriteMethods, setAttribValue, setAttribValue, setID, setUniqueId, writeClassToStringBuffer, writeClassToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer, writeToStringBuffer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface de.uni_paderborn.fujaba.fsa.unparse.LogicUnparseInterface
getFSAInterface, getUnparseModuleName
 
Methods inherited from interface de.upb.tools.pcs.PropertyChangeInterface
getPropertyChangeSupport
 
Methods inherited from interface de.upb.tools.pcs.PropertyChangeClient
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
 
Methods inherited from interface de.uni_paderborn.fujaba.basic.UniqueIdentifier
getID
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
addToAnnotations, addToDiagrams, addToElementReferences, addToElementReferences, addToUserMessages, deleteTokens, entriesOfElementReferences, getFirstOOGenToken, getFromFElementReferences, getLastOOGenToken, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasKeyInElementReferences, isCoobraPersistent, isGenerated, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfUserMessages, keysOfElementReferences, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromUserMessages, removeFromAnnotations, removeFromElementReferences, removeFromElementReferences, removeFromUserMessages, removeKeyFromElementReferences, setCutCopyPasteParent, setFirstOOGenToken, setGenerated, setLastOOGenToken, sizeOfAnnotations, sizeOfDiagrams, sizeOfElementReferences, sizeOfUserMessages
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface de.tu_bs.coobra.ObjectChangeAware
acknowledgeChange, getCoObRAId, getRepository, setCoObRAId, setRepository
 
Methods inherited from interface de.uni_kassel.prop.InspectionAware
isInspectableField, proposeFieldValues
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FDeclaration
getDisplayLevel, getFType, isParsed, setDisplayLevel
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FDiagramItem
addToRevAdditionalItems, addToRevItems, addToViewDefinitions, getFCurrentActiveDiagram, getFFirstFromDiagrams, hasInRevAdditionalItems, hasInRevItems, hasInViewDefinitions, iteratorOfRevAdditionalItems, iteratorOfRevItems, iteratorOfViewDefinitions, removeAllFromRevAdditionalItems, removeAllFromRevItems, removeAllFromViewDefinitions, removeFromRevAdditionalItems, removeFromRevItems, removeFromViewDefinitions, sizeOfRevAdditionalItems, sizeOfRevItems, sizeOfViewDefinitions
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FIncrement
addToConstraints, addToStereotypes, entriesOfStereotypes, getFComment, getFromFStereotypes, hasInConstraints, hasInStereotypes, hasKeyInStereotypes, isAssertInUnitTest, iteratorOfConstraints, iteratorOfStereotypes, keysOfStereotypes, removeAllFromConstraints, removeAllFromStereotypes, removeFromConstraints, removeFromStereotypes, removeKeyFromStereotypes, setAssertInUnitTest, setComment, sizeOfStereotypes
 

Field Detail

PROPERTY_NAME

public static final java.lang.String PROPERTY_NAME
No comment provided by developer, please add a comment to improve documentation.

See Also:
Constant Field Values
Constructor Detail

UMLClass

public UMLClass()
Constructor for class UMLClass


UMLClass

public UMLClass(boolean coobraPersistent)
Constructor for class UMLClass

Parameters:
coobraPersistent - No description provided

UMLClass

public UMLClass(java.lang.String name,
                boolean reference)
Create a UMLClass with specified name and UMLStereotypeManager.REFERENCE as Stereotype if reference parameter is true

Parameters:
name - name of the new class
reference - if true the reference stereotype is added as stereotype of the class

UMLClass

public UMLClass(java.lang.String name,
                UMLStereotype stereotype,
                UMLTypeList typeList,
                UMLPackage declaredIn)
Constructor for class UMLClass

Parameters:
name - No description provided
stereotype - No description provided
typeList - No description provided
declaredIn - No description provided

UMLClass

public UMLClass(java.lang.String name)
Constructor for class UMLClass

Parameters:
name - No description provided
Method Detail

getProject

public UMLProject getProject()
Get the project attribute of the UMLClass object

Returns:
The project value

getName

public java.lang.String getName()
Get the name attribute of the UMLClass object

Specified by:
getName in interface UMLType
Overrides:
getName in class ASGElement
Returns:
The name value

setName

public void setName(java.lang.String name)
Sets the name attribute of the UMLClass object.

 The new name of the UMLClass can either be a short name,
 a full qualified name or an inner class definition in Java-style.
 Note that the intention of this method is only
 to set the SHORT name of the class!
 To specify the full qualified name, use method 'setDeclaredInPackage'.
 To define an inner class, use method 'setDeclaredInClass'.

 Example:
   Map (short)
   java.util.Map (full qualified)
   java.util.Map$Entry (inner class)
   java.util.Map.Entry (inner class, alternative)
 

Specified by:
setName in interface UMLType
Overrides:
setName in class ASGElement
Parameters:
name - The new name value

getText

public java.lang.String getText()
Get the text attribute of the UMLClass object

Specified by:
getText in interface FElement
Overrides:
getText in class ASGElement
Returns:
The text value

toString

public java.lang.String toString()
No comment provided by developer, please add a comment to improve documentation.

Overrides:
toString in class UMLDiagramItem
Returns:
No description provided

getFullClassName

public java.lang.String getFullClassName()
This function computs the full qualified classname of this class e. g. if the class FooBar is defined in the package upb and upb is in de then this function will return de.upb.FooBar

Specified by:
getFullClassName in interface FClass
Returns:
the full qualified class name

getTypeName

public java.lang.String getTypeName()
Get the typeName attribute of the UMLClass object

Returns:
The typeName value

setTypeName

public void setTypeName(java.lang.String name)
Sets the typeName attribute of the UMLClass object

Parameters:
name - The new typeName value

getDefaultIcon

public java.lang.String getDefaultIcon()
Get the defaultIcon attribute of the UMLClass object

Returns:
The defaultIcon value

setDefaultIcon

public void setDefaultIcon(java.lang.String newVal)
Sets the defaultIcon attribute of the UMLClass object

Parameters:
newVal - The new defaultIcon value

setStatic

public void setStatic(boolean umlStatic)
Sets the static attribute of the UMLClass object

Specified by:
setStatic in interface FClass
Parameters:
umlStatic - The new static value

isStatic

public boolean isStatic()
Get the static attribute of the UMLClass object

Specified by:
isStatic in interface FClass
Returns:
The static value

isCodeGenDenied

public boolean isCodeGenDenied()
Get the value of codeGenDenied.

Returns:
Value of codeGenDenied.

setCodeGenDenied

public void setCodeGenDenied(boolean codeGenDenied)
Set the value of codeGenDenied.

Parameters:
codeGenDenied - Value to assign to codeGenDenied.

setUmlAbstract

public boolean setUmlAbstract(boolean umlAbstract)
Sets the umlAbstract attribute of the UMLClass object

Parameters:
umlAbstract - The new umlAbstract value
Returns:
No description provided

setAbstract

public boolean setAbstract(boolean umlAbstract)
Sets the abstract attribute of the UMLClass object

Specified by:
setAbstract in interface FClass
Parameters:
umlAbstract - The new abstract value
Returns:
No description provided

isUmlAbstract

public boolean isUmlAbstract()
Get the umlAbstract attribute of the UMLClass object

Returns:
The umlAbstract value

isAbstract

public boolean isAbstract()
Get the abstract attribute of the UMLClass object

Specified by:
isAbstract in interface FClass
Returns:
The abstract value

isFinal

public boolean isFinal()
Get the final attribute of the UMLClass object

Specified by:
isFinal in interface FClass
Returns:
The final value

getVisibility

public int getVisibility()
Get the visibility attribute of the UMLClass object

Specified by:
getVisibility in interface FDeclaration
Overrides:
getVisibility in class UMLDeclaration
Returns:
The visibility value

setVisibility

public void setVisibility(int visibility)
Repair the visibility attribute. Needed for import in Fujaba 5.

Specified by:
setVisibility in interface FDeclaration
Overrides:
setVisibility in class UMLDeclaration
Parameters:
visibility -

isProtected

public boolean isProtected()
Get the protected attribute of the UMLClass object

Returns:
The protected value

isReference

public boolean isReference()
UMLMethod: isReference : boolean

Specified by:
isReference in interface FClass
Returns:
The reference value

setFile

public boolean setFile(FFile obj)
Sets the file attribute of the UMLClass object

Specified by:
setFile in interface FClass
Parameters:
obj - The new file value
Returns:
No description provided

getFile

public UMLFile getFile()
Get the file attribute of the UMLClass object

Returns:
The file value

getFFile

public FFile getFFile()
Get the fFile attribute of the UMLClass object

Specified by:
getFFile in interface FClass
Returns:
The fFile value
See Also:
FClass.getFFile()

removeFromDiagrams

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

Specified by:
removeFromDiagrams in interface FElement
Overrides:
removeFromDiagrams in class ASGElement
Parameters:
obj - No description provided

hasInRevImportedClasses

public boolean hasInRevImportedClasses(FFile elem)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevImportedClasses in interface FClass
Parameters:
elem - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfRevImportedClasses()

elementsOfRevImportedClasses

public java.util.Enumeration elementsOfRevImportedClasses()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
elementsOfRevImportedClasses in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfRevImportedClasses()

iteratorOfRevImportedClasses

public java.util.Iterator iteratorOfRevImportedClasses()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevImportedClasses in interface FClass
Returns:
No description provided
See Also:
FFile.iteratorOfImportedClasses()

addToRevImportedClasses

public void addToRevImportedClasses(FFile elem)
Access method for an one to n association.

Specified by:
addToRevImportedClasses in interface FClass
Parameters:
elem - The object added.
See Also:
FClass.iteratorOfRevImportedClasses()

removeFromRevImportedClasses

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

Specified by:
removeFromRevImportedClasses in interface FClass
Parameters:
elem - No description provided
See Also:
FClass.iteratorOfRevImportedClasses()

hasInRevAttrType

public boolean hasInRevAttrType(FAttr value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevAttrType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfRevAttrType

public java.util.Iterator iteratorOfRevAttrType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevAttrType in interface UMLType
Returns:
No description provided

sizeOfRevAttrType

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

Specified by:
sizeOfRevAttrType in interface UMLType
Returns:
No description provided

addToRevAttrType

public boolean addToRevAttrType(FAttr value)
Access method for an one to n association.

Specified by:
addToRevAttrType in interface UMLType
Parameters:
value - The object added.
Returns:
No description provided

removeFromRevAttrType

public boolean removeFromRevAttrType(FAttr value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromRevAttrType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

removeAllFromRevAttrType

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

Specified by:
removeAllFromRevAttrType in interface UMLType

addToParsedMembers

public boolean addToParsedMembers(FDeclaration value)
Access method for a To N-association.

Specified by:
addToParsedMembers in interface FClass
Parameters:
value - The object added.
Returns:
No description provided

hasInParsedMembers

public boolean hasInParsedMembers(FDeclaration value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInParsedMembers in interface FClass
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfParsedMembers

public java.util.Iterator iteratorOfParsedMembers()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfParsedMembers in interface FClass
Returns:
No description provided

removeAllFromParsedMembers

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

Specified by:
removeAllFromParsedMembers in interface FClass

removeFromParsedMembers

public boolean removeFromParsedMembers(FDeclaration value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromParsedMembers in interface FClass
Parameters:
value - No description provided
Returns:
No description provided

sizeOfParsedMembers

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

Specified by:
sizeOfParsedMembers in interface FClass
Returns:
No description provided

hasInAttrs

public boolean hasInAttrs(FAttr obj)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInAttrs in interface FClass
Parameters:
obj - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfAttrs()

hasKeyInAttrs

public boolean hasKeyInAttrs(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasKeyInAttrs in interface FClass
Parameters:
key - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfAttrs()

iteratorOfAttrs

public java.util.Iterator iteratorOfAttrs()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfAttrs in interface FClass
Returns:
No description provided
See Also:
FAttr.getFParent()

keysOfAttrs

public java.util.Iterator keysOfAttrs()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
keysOfAttrs in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfAttrs()

entriesOfAttrs

public java.util.Iterator entriesOfAttrs()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
entriesOfAttrs in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfAttrs()

sizeOfAttrs

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

Specified by:
sizeOfAttrs in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfAttrs()

getFromAttrs

public UMLAttr getFromAttrs(java.lang.String key)
Get the fromAttrs attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromAttrs value

getFromFAttrs

public FAttr getFromFAttrs(java.lang.String key)
Get the fromFAttrs attribute of the UMLClass object

Specified by:
getFromFAttrs in interface FClass
Parameters:
key - No description provided
Returns:
The fromFAttrs value
See Also:
FClass.iteratorOfAttrs()

addToAttrs

public boolean addToAttrs(FAttr obj)
Access method for an one to n association.

Specified by:
addToAttrs in interface FClass
Parameters:
obj - The object added.
Returns:
No description provided
See Also:
FClass.iteratorOfAttrs()

addToAttrs

protected void addToAttrs(java.util.Map.Entry entry)
this method should be protected in order to enable the fpr file mechanism for subclasses, too. AZ

Parameters:
entry - The object added.

removeFromAttrs

public boolean removeFromAttrs(FAttr obj)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromAttrs in interface FClass
Parameters:
obj - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfAttrs()

removeKeyFromAttrs

public boolean removeKeyFromAttrs(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeKeyFromAttrs in interface FClass
Parameters:
key - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfAttrs()

removeAllFromAttrs

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

Specified by:
removeAllFromAttrs in interface FClass
See Also:
FClass.iteratorOfAttrs()

collectionOfAttrs

public java.util.Map collectionOfAttrs()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

elementsOfAllChildren

public java.util.Enumeration elementsOfAllChildren()
No comment provided by developer, please add a comment to improve documentation.

Overrides:
elementsOfAllChildren in class UMLIncrement
Returns:
No description provided

sizeOfRoles

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

Specified by:
sizeOfRoles in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfRoles()

hasInRoles

public boolean hasInRoles(FRole elem)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRoles in interface FClass
Parameters:
elem - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfRoles()

elementsOfRoles

public java.util.Enumeration elementsOfRoles()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
elementsOfRoles in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfRoles()

iteratorOfRoles

public java.util.Iterator iteratorOfRoles()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRoles in interface FClass
Returns:
No description provided
See Also:
FRole, FRole.getFRevRoles()

getFromRoles

public UMLRole getFromRoles(java.lang.String roleName)
Get the fromRoles attribute of the UMLClass object

Parameters:
roleName - No description provided
Returns:
The fromRoles value

getFromFRoles

public FRole getFromFRoles(java.lang.String roleName)
Get the fromFRoles attribute of the UMLClass object

Specified by:
getFromFRoles in interface FClass
Parameters:
roleName - No description provided
Returns:
The fromFRoles value
See Also:
FClass.iteratorOfRoles()

getFromRevRoles

public UMLRole getFromRevRoles(java.lang.String roleName)
Get the fromRevRoles attribute of the UMLClass object

Parameters:
roleName - No description provided
Returns:
The fromRevRoles value

getFromFRevRoles

public FRole getFromFRevRoles(java.lang.String roleName)
Get the fromFRevRoles attribute of the UMLClass object

Specified by:
getFromFRevRoles in interface FClass
Parameters:
roleName - No description provided
Returns:
The fromFRevRoles value

addToRoles

public void addToRoles(FRole elem)
Access method for an one to n association.

Specified by:
addToRoles in interface FClass
Parameters:
elem - The object added.
See Also:
FClass.iteratorOfRoles()

removeFromRoles

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

Specified by:
removeFromRoles in interface FClass
Parameters:
elem - No description provided
See Also:
FClass.iteratorOfRoles()

hasInInstances

public boolean hasInInstances(UMLObject elem)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
elem - No description provided
Returns:
No description provided

elementsOfInstances

public java.util.Enumeration elementsOfInstances()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

iteratorOfInstances

public java.util.Iterator iteratorOfInstances()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

addToInstances

public void addToInstances(UMLObject elem)
Access method for an one to n association.

Parameters:
elem - The object added.

removeFromInstances

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

Parameters:
elem - No description provided

getUMLType

public UMLType getUMLType()
Get the uMLType attribute of the UMLClass object

Specified by:
getUMLType in class UMLDeclaration
Returns:
The uMLType value

hasInMethods

public boolean hasInMethods(FMethod obj)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInMethods in interface FClass
Parameters:
obj - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfMethods()

hasKeyInMethods

public boolean hasKeyInMethods(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasKeyInMethods in interface FClass
Parameters:
key - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfMethods()

iteratorOfMethods

public java.util.Iterator iteratorOfMethods()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfMethods in interface FClass
Returns:
No description provided
See Also:
FMethod.getFParent()

sizeOfMethods

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

Specified by:
sizeOfMethods in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfMethods()

getFromMethods

public UMLMethod getFromMethods(java.lang.String key)
Get the fromMethods attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromMethods value

getFromFMethods

public FMethod getFromFMethods(java.lang.String key)
Get the fromFMethods attribute of the UMLClass object

Specified by:
getFromFMethods in interface FClass
Parameters:
key - No description provided
Returns:
The fromFMethods value
See Also:
FClass.iteratorOfMethods()

addToMethods

public boolean addToMethods(FMethod obj)
Access method for an one to n association.

Specified by:
addToMethods in interface FClass
Parameters:
obj - The object added.
Returns:
No description provided
See Also:
FClass.iteratorOfMethods()

removeFromMethods

public boolean removeFromMethods(FMethod obj)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromMethods in interface FClass
Parameters:
obj - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfMethods()

removeKeyFromMethods

public boolean removeKeyFromMethods(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeKeyFromMethods in interface FClass
Parameters:
key - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfMethods()

removeAllFromMethods

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

Specified by:
removeAllFromMethods in interface FClass
See Also:
FClass.iteratorOfMethods()

hasInSignals

public boolean hasInSignals(UMLMethod obj)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
obj - No description provided
Returns:
No description provided

hasKeyInSignals

public boolean hasKeyInSignals(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
key - No description provided
Returns:
No description provided

iteratorOfSignals

public java.util.Iterator iteratorOfSignals()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

sizeOfSignals

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

Returns:
No description provided

getFromSignals

public UMLMethod getFromSignals(java.lang.String key)
Get the fromSignals attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromSignals value

addToSignals

public boolean addToSignals(UMLMethod obj)
Access method for an one to n association.

Parameters:
obj - The object added.
Returns:
No description provided

removeFromSignals

public boolean removeFromSignals(UMLMethod obj)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
obj - No description provided
Returns:
No description provided

removeKeyFromSignals

public boolean removeKeyFromSignals(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
key - No description provided
Returns:
No description provided

removeAllFromSignals

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


replaceMethod

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

Parameters:
method - No description provided

searchID

public ASGElement searchID(java.lang.String id)
Searches the ASG tree for a given id

Overrides:
searchID in class ASGElement
Parameters:
id - The id to search for.
Returns:
The Element with the given id, null if not found.

getFromMethodsByShortName

public UMLMethod getFromMethodsByShortName(java.lang.String key)
Get the fromMethodsByShortName attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromMethodsByShortName value

getFromFMethodsByShortName

public FMethod getFromFMethodsByShortName(java.lang.String name)
Get the fromFMethodsByShortName attribute of the UMLClass object

Specified by:
getFromFMethodsByShortName in interface FClass
Parameters:
name - No description provided
Returns:
The fromFMethodsByShortName value

getFromMethodsByShortNameIncludingInherited

public UMLMethod getFromMethodsByShortNameIncludingInherited(java.lang.String key)
Searches recursivly the inheritance hierarchy and looks for methods.

Parameters:
key - No description provided
Returns:
The fromMethodsByShortNameIncludingInherited value

getFromFMethodsByShortNameIncludingInherited

public FMethod getFromFMethodsByShortNameIncludingInherited(java.lang.String name)
Get the fromFMethodsByShortNameIncludingInherited attribute of the UMLClass object

Specified by:
getFromFMethodsByShortNameIncludingInherited in interface FClass
Parameters:
name - No description provided
Returns:
The fromFMethodsByShortNameIncludingInherited value

setDeclaredInReferences

public boolean setDeclaredInReferences(UMLProject obj)
Sets the declaredInReferences attribute of the UMLClass object

Parameters:
obj - The new declaredInReferences value
Returns:
No description provided

getDeclaredInReferences

public UMLProject getDeclaredInReferences()
Get the declaredInReferences attribute of the UMLClass object

Returns:
The declaredInReferences value

iteratorOfUndefinedMethods

public java.util.Iterator iteratorOfUndefinedMethods()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

setDeclaredInPackage

public boolean setDeclaredInPackage(FPackage obj)
Sets the declaredInPackage attribute of the UMLClass object

Specified by:
setDeclaredInPackage in interface FClass
Parameters:
obj - The new declaredInPackage value
Returns:
No description provided
See Also:
FClass.getFDeclaredInPackage()

getDeclaredInPackage

public UMLPackage getDeclaredInPackage()
Get the declaredInPackage attribute of the UMLClass object

Returns:
The declaredInPackage value

getFDeclaredInPackage

public FPackage getFDeclaredInPackage()
Get the fDeclaredInPackage attribute of the UMLClass object

Specified by:
getFDeclaredInPackage in interface FClass
Returns:
The fDeclaredInPackage value
See Also:
FPackage.iteratorOfDeclares(), FClass.getFDeclaredInClass(), FClass.getFDeclaredInMethod()

findPackage

public UMLPackage findPackage()
Returns:
package this class is enclosed in - even for inner and anonymous classes

findFPackage

public FPackage findFPackage()
Deprecated. will be renamed when using JDK 1.5 (without F)

Specified by:
findFPackage in interface FClass
Returns:
No description provided

setDeclaredInMethod

public boolean setDeclaredInMethod(FMethod obj)
Sets the declaredInMethod attribute of the UMLClass object

Specified by:
setDeclaredInMethod in interface FClass
Parameters:
obj - The new declaredInMethod value
Returns:
No description provided
See Also:
FClass.getFDeclaredInMethod()

getDeclaredInMethod

public UMLMethod getDeclaredInMethod()
Get the declaredInMethod attribute of the UMLClass object

Returns:
The declaredInMethod value

getFDeclaredInMethod

public FMethod getFDeclaredInMethod()
Get the fDeclaredInMethod attribute of the UMLClass object

Specified by:
getFDeclaredInMethod in interface FClass
Returns:
The fDeclaredInMethod value
See Also:
FMethod.iteratorOfDeclares(), FClass.getFDeclaredInClass(), FClass.getFDeclaredInMethod()

setDeclaredInClass

public boolean setDeclaredInClass(FClass obj)
Sets the declaredInClass attribute of the UMLClass object

Specified by:
setDeclaredInClass in interface FClass
Parameters:
obj - The new declaredInClass value
Returns:
No description provided
See Also:
FClass.getFDeclaredInClass()

getDeclaredInClass

public UMLClass getDeclaredInClass()
Get the declaredInClass attribute of the UMLClass object

Returns:
The declaredInClass value

getFDeclaredInClass

public FClass getFDeclaredInClass()
Get the fDeclaredInClass attribute of the UMLClass object

Specified by:
getFDeclaredInClass in interface FClass
Returns:
The fDeclaredInClass value
See Also:
FClass.iteratorOfDeclares(), FClass.getFDeclaredInPackage(), FClass.getFDeclaredInMethod()

hasInDeclares

public boolean hasInDeclares(FClass obj)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInDeclares in interface FClass
Parameters:
obj - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfDeclares()

hasKeyInDeclares

public boolean hasKeyInDeclares(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasKeyInDeclares in interface FClass
Parameters:
key - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfDeclares()

iteratorOfDeclares

public java.util.Iterator iteratorOfDeclares()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfDeclares in interface FClass
Returns:
No description provided

keysOfDeclares

public java.util.Iterator keysOfDeclares()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
keysOfDeclares in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfDeclares()

entriesOfDeclares

public java.util.Iterator entriesOfDeclares()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
entriesOfDeclares in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfDeclares()

sizeOfDeclares

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

Specified by:
sizeOfDeclares in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfDeclares()

getFromDeclares

public UMLClass getFromDeclares(java.lang.String key)
Get the fromDeclares attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromDeclares value

getFromFDeclares

public FClass getFromFDeclares(java.lang.String key)
Get the fromFDeclares attribute of the UMLClass object

Specified by:
getFromFDeclares in interface FClass
Parameters:
key - No description provided
Returns:
The fromFDeclares value
See Also:
FClass.iteratorOfDeclares()

addToDeclares

public boolean addToDeclares(FClass obj)
Access method for an one to n association.

Specified by:
addToDeclares in interface FClass
Parameters:
obj - The object added.
Returns:
No description provided
See Also:
FClass.iteratorOfDeclares()

removeFromDeclares

public boolean removeFromDeclares(FClass obj)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromDeclares in interface FClass
Parameters:
obj - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfDeclares()

removeKeyFromDeclares

public boolean removeKeyFromDeclares(java.lang.String key)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeKeyFromDeclares in interface FClass
Parameters:
key - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfDeclares()

removeAllFromDeclares

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

Specified by:
removeAllFromDeclares in interface FClass
See Also:
FClass.iteratorOfDeclares()

addToDeclares

protected void addToDeclares(KeyValuePair pair)
This method is needed only for loading FTreeMaps, don't use it in other cases.

Parameters:
pair - The object added.

hasInRevSubclass

public boolean hasInRevSubclass(FGeneralization elem)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevSubclass in interface FClass
Parameters:
elem - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfRevSubclass()

sizeOfRevSubclass

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

Specified by:
sizeOfRevSubclass in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfRevSubclass()

iteratorOfRevSubclass

public java.util.Iterator iteratorOfRevSubclass()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevSubclass in interface FClass
Returns:
No description provided

iteratorOfSubClasses

public de.upb.tools.sdm.Path iteratorOfSubClasses()
Get a Path object containing all subclasses of this UMLClass.

Returns:
A Path object containing all subclasses of this UMLClass.

elementsOfRevSubclass

public java.util.Enumeration elementsOfRevSubclass()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
elementsOfRevSubclass in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfRevSubclass()

elementsOfAllAttrs

public java.util.Enumeration elementsOfAllAttrs()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

elementsOfSuperClasses

public de.upb.tools.sdm.Path elementsOfSuperClasses()
Deprecated. please use iteratorOfSuperClasses()

Specified by:
elementsOfSuperClasses in interface FClass
Returns:
No description provided

iteratorOfSuperClasses

public de.upb.tools.sdm.Path iteratorOfSuperClasses()
Get a Path object containing all superclasses of this UMLClass.

Specified by:
iteratorOfSuperClasses in interface FClass
Returns:
A Path object containing all superclasses of this UMLClass.

getSuperClass

public UMLClass getSuperClass()
This method returns the super class of this class. This method treats no implements-generalizations.

Returns:
the extended class

getFSuperClass

public FClass getFSuperClass()
Get the fSuperClass attribute of the UMLClass object

Specified by:
getFSuperClass in interface FClass
Returns:
The fSuperClass value

addToRevSubclass

public void addToRevSubclass(FGeneralization elem)
Access method for an one to n association.

Specified by:
addToRevSubclass in interface FClass
Parameters:
elem - The object added.
See Also:
FClass.iteratorOfRevSubclass()

removeFromRevSubclass

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

Specified by:
removeFromRevSubclass in interface FClass
Parameters:
elem - No description provided
See Also:
FClass.iteratorOfRevSubclass()

removeAllFromRevSubclass

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

Specified by:
removeAllFromRevSubclass in interface FClass
See Also:
FClass.iteratorOfRevSubclass()

hasInRevSuperclass

public boolean hasInRevSuperclass(FGeneralization elem)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevSuperclass in interface FClass
Parameters:
elem - No description provided
Returns:
No description provided
See Also:
FClass.iteratorOfRevSuperclass()

elementsOfRevSuperclass

public java.util.Enumeration elementsOfRevSuperclass()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
elementsOfRevSuperclass in interface FClass
Returns:
No description provided
See Also:
FClass.iteratorOfRevSuperclass()

iteratorOfRevSuperclass

public java.util.Iterator iteratorOfRevSuperclass()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevSuperclass in interface FClass
Returns:
No description provided

addToRevSuperclass

public void addToRevSuperclass(FGeneralization elem)
Access method for an one to n association.

Specified by:
addToRevSuperclass in interface FClass
Parameters:
elem - The object added.
See Also:
FClass.iteratorOfRevSuperclass()

removeFromRevSuperclass

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

Specified by:
removeFromRevSuperclass in interface FClass
Parameters:
elem - No description provided
See Also:
FClass.iteratorOfRevSuperclass()

removeAllFromRevSuperclass

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

Specified by:
removeAllFromRevSuperclass in interface FClass
See Also:
FClass.iteratorOfRevSuperclass()

isChildOf

public boolean isChildOf(UMLClass clazz)
Returns true, if this class is subclass of the param.

Otherwise the param clazz isn't a superclass of this class. FIX ME: there can be a deadlock, when a loop in the generalization exists.

Parameters:
clazz - the UMLClass to be checked.
Returns:
returns true if this is a subclass of the param.

getParentGeneralization

public UMLGeneralization getParentGeneralization(UMLClass parent)
To get the generalization between this child class and a parent class.

Parameters:
parent - No description provided
Returns:
the generalization between this class and the parent class

getProgLangType

public java.lang.String getProgLangType()
interface implementation remember to initialize the variables

Specified by:
getProgLangType in interface UMLType
Returns:
The progLangType value

setProgLangType

public void setProgLangType(java.lang.String progLangType)
Sets the progLangType attribute of the UMLClass object

Specified by:
setProgLangType in interface UMLType
Parameters:
progLangType - The new progLangType value

hasInRevResultType

public boolean hasInRevResultType(FMethod value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevResultType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfRevResultType

public java.util.Iterator iteratorOfRevResultType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevResultType in interface UMLType
Returns:
No description provided

sizeOfRevResultType

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

Specified by:
sizeOfRevResultType in interface UMLType
Returns:
No description provided

addToRevResultType

public boolean addToRevResultType(FMethod value)
Access method for an one to n association.

Specified by:
addToRevResultType in interface UMLType
Parameters:
value - The object added.
Returns:
No description provided

removeFromRevResultType

public boolean removeFromRevResultType(FMethod value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromRevResultType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

removeAllFromRevResultType

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

Specified by:
removeAllFromRevResultType in interface UMLType

hasInRevParamType

public boolean hasInRevParamType(FParam value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevParamType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfRevParamType

public java.util.Iterator iteratorOfRevParamType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevParamType in interface UMLType
Returns:
No description provided

sizeOfRevParamType

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

Specified by:
sizeOfRevParamType in interface UMLType
Returns:
No description provided

addToRevParamType

public boolean addToRevParamType(FParam value)
Access method for an one to n association.

Specified by:
addToRevParamType in interface UMLType
Parameters:
value - The object added.
Returns:
No description provided

removeFromRevParamType

public boolean removeFromRevParamType(FParam value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromRevParamType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

removeAllFromRevParamType

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

Specified by:
removeAllFromRevParamType in interface UMLType

setRevTypes

public boolean setRevTypes(FTypeList obj)
Sets the revTypes attribute of the UMLClass object

Specified by:
setRevTypes in interface UMLType
Parameters:
obj - The new revTypes value
Returns:
No description provided

getRevTypes

public UMLTypeList getRevTypes()
Get the revTypes attribute of the UMLClass object

Specified by:
getRevTypes in interface UMLType
Returns:
The revTypes value

getRevArrayType

public UMLArray getRevArrayType()
Get the revArrayType attribute of the UMLClass object

Specified by:
getRevArrayType in interface UMLType
Returns:
The revArrayType value

getFRevArrayType

public FArray getFRevArrayType()
Get the fRevArrayType attribute of the UMLClass object

Specified by:
getFRevArrayType in interface FType
Returns:
The fRevArrayType value

setRevArrayType

public void setRevArrayType(FArray revArrayType)
Sets the revArrayType attribute of the UMLClass object

Specified by:
setRevArrayType in interface UMLType
Parameters:
revArrayType - The new revArrayType value

getRealType

public UMLType getRealType()
Get the realType attribute of the UMLClass object

Specified by:
getRealType in interface UMLType
Returns:
The realType value

getFRealType

public FType getFRealType()
Get the fRealType attribute of the UMLClass object

Specified by:
getFRealType in interface FType
Returns:
The fRealType value

getDimension

public int getDimension()
Get the dimension attribute of the UMLClass object

Specified by:
getDimension in interface UMLType
Returns:
The dimension value

necessaryToGenerateSourceCode

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

Returns:
No description provided

getAllAssocs

public de.upb.tools.fca.FTreeSet getAllAssocs()
Returns all associations which can be accessed from this class. Inherited assocs will be also covered.

Returns:
The allAssocs value

getAllAssocsNew

public java.util.TreeSet getAllAssocsNew()
returns all assocs of this class an his parents

Returns:
The allAssocsNew value

hasPubAttrWithKey

public boolean hasPubAttrWithKey(java.lang.String key)
Check if an class has an public accessible Attribut including derived Attributs with given name

Parameters:
key - The name of the attribut
Returns:
True if the class or its superclass has an public attribut with the given name

getPubAttrWithKey

public UMLAttr getPubAttrWithKey(java.lang.String key)
Check if an class has an public accessible Attribut including derived Attributs with given name and deliver it when found

Parameters:
key - The name of the attribut
Returns:
The attribut if found or null

getFromAllAttrs

public UMLAttr getFromAllAttrs(java.lang.String key)
Get the fromAllAttrs attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromAllAttrs value

getFromAllFAttrs

public FAttr getFromAllFAttrs(java.lang.String key)
Get the fromAllFAttrs attribute of the UMLClass object

Specified by:
getFromAllFAttrs in interface FClass
Parameters:
key - No description provided
Returns:
The fromAllFAttrs value

getFromAllRoles

public UMLRole getFromAllRoles(java.lang.String key)
Get the fromAllRoles attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromAllRoles value

getFromAllMethods

public UMLMethod getFromAllMethods(java.lang.String key)
Get the fromAllMethods attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromAllMethods value

getFromAllFMethods

public FMethod getFromAllFMethods(java.lang.String key)
Get the fromAllFMethods attribute of the UMLClass object

Specified by:
getFromAllFMethods in interface FClass
Parameters:
key - No description provided
Returns:
The fromAllFMethods value

getFromAllPartnerRoles

public UMLRole getFromAllPartnerRoles(java.lang.String key)
Get the fromAllPartnerRoles attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromAllPartnerRoles value

getFromPartnerRoles

public UMLRole getFromPartnerRoles(java.lang.String key)
Get the fromPartnerRoles attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromPartnerRoles value

getFromAllRevRoles

public UMLRole getFromAllRevRoles(java.lang.String key)
Get the fromAllRevRoles attribute of the UMLClass object

Parameters:
key - No description provided
Returns:
The fromAllRevRoles value

iteratorOfAllAttrs

public java.util.Iterator iteratorOfAllAttrs()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

iteratorOfAllRoles

public java.util.Iterator iteratorOfAllRoles()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

getAllAccessibleAttrs

public de.upb.tools.fca.FTreeSet getAllAccessibleAttrs()
Get all Atrributs which could be accessed from inside the class including derived attributs

Returns:
A set whith all Attrs accessible from inside the class

iteratorOfAllAccessibleMethods

public java.util.Iterator iteratorOfAllAccessibleMethods()
No comment provided by developer, please add a comment to improve documentation.

Returns:
No description provided

getAllAccessibleMethodObjects

public java.util.SortedMap getAllAccessibleMethodObjects()
Get all Methods which could be accessed from inside the class including derived methods

Returns:
A set whith all Methods accessible from inside the class

getAllAccessibleMethods

public java.util.Collection getAllAccessibleMethods()
Get the allAccessibleMethods attribute of the UMLClass object

Returns:
The allAccessibleMethods value

getAllUsedRoles

public de.upb.tools.fca.FTreeSet getAllUsedRoles()
Get all roles which are used in this class or in a superclass

Returns:
A set whith all roles use by the class or its superclass

getAllDerivedClasses

public de.upb.tools.fca.FTreeSet getAllDerivedClasses()
Get all classes wich are derived direct or indirect

Returns:
A set whith all direct and indirect derived Subclasses

hasPubMethWithKey

public boolean hasPubMethWithKey(java.lang.String key)
Check if an class has an public accessible method including derived methods with given (full) name

Parameters:
key - The (full) name of the method
Returns:
True if the class or its superclass has an public method with the given (full) name

getPubMethWithKey

public UMLMethod getPubMethWithKey(java.lang.String key)
Check if an class has an public accessible method including derived methods with given (full) name and return it

Parameters:
key - The (full) name of the method
Returns:
The found method, or null if not found

getUMLReactiveDiagram

public UMLReactiveDiagram getUMLReactiveDiagram()
UMLMethod: '+ getUMLReactiveDiagram (): UMLReactiveDiagram'.

Returns:
The uMLReactiveDiagram value

getFReactiveDiagram

public FDiagram getFReactiveDiagram()
Get the fReactiveDiagram attribute of the UMLClass object

Specified by:
getFReactiveDiagram in interface FClass
Returns:
The fReactiveDiagram value

setUMLReactiveDiagram

public boolean setUMLReactiveDiagram(UMLReactiveDiagram value)
UMLMethod: '+ setUMLReactiveDiagram (value: UMLReactiveDiagram): Boolean'.

Parameters:
value - The new uMLReactiveDiagram value
Returns:
No description provided

isTypeMarkable

public boolean isTypeMarkable()
This method checks if all grabbed roles are references. Only then this class can be marked as TYPE, which means that the reference is hidden and the corresponding attribute is shown.

Returns:
The typeMarkable value

getStatechart

public UMLStatechart getStatechart()
Returns:
the statechart for this class, null if not applicable

getFStatechart

public FDiagram getFStatechart()
Get the fStatechart attribute of the UMLClass object

Specified by:
getFStatechart in interface FClass
Returns:
The fStatechart value

getStoryDiagram

public UMLActivityDiagram getStoryDiagram()
Deprecated. use getStatechart()

Returns:
getStatechart()

getStartOfStateChart

public UMLStartActivity getStartOfStateChart()
Get the startOfStateChart attribute of the UMLClass object

Returns:
The startOfStateChart value

setStartOfStateChart

public void setStartOfStateChart(UMLStartActivity startOfStateChart)
Sets the startOfStateChart attribute of the UMLClass object

Parameters:
startOfStateChart - The new startOfStateChart value

getAllOutGoingRoles

public final java.util.TreeMap getAllOutGoingRoles()
Get the allOutGoingRoles attribute of the UMLClass object

Returns:
The allOutGoingRoles value

isSubClassOf

public boolean isSubClassOf(UMLClass clazz)
Use this method to determine wether this instance of UMLClass is a subclass of the given UMLClass clazz

Parameters:
clazz - a possible superclass
Returns:
true if this is a subclass of clazz, false otherwise. notice: isSubClassOf(this) returns true

isAssignableFrom

public boolean isAssignableFrom(UMLClass clazz)
Get the assignableFrom attribute of the UMLClass object

Parameters:
clazz - No description provided
Returns:
The assignableFrom value

hasInRevType

public boolean hasInRevType(FQualifier value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
hasInRevType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

iteratorOfRevType

public java.util.Iterator iteratorOfRevType()
No comment provided by developer, please add a comment to improve documentation.

Specified by:
iteratorOfRevType in interface UMLType
Returns:
No description provided

sizeOfRevType

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

Specified by:
sizeOfRevType in interface UMLType
Returns:
No description provided

addToRevType

public boolean addToRevType(FQualifier value)
Access method for an one to n association.

Specified by:
addToRevType in interface UMLType
Parameters:
value - The object added.
Returns:
No description provided

removeFromRevType

public boolean removeFromRevType(FQualifier value)
No comment provided by developer, please add a comment to improve documentation.

Specified by:
removeFromRevType in interface UMLType
Parameters:
value - No description provided
Returns:
No description provided

removeAllFromRevType

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

Specified by:
removeAllFromRevType in interface UMLType

removeYou

public void removeYou()
Isolates the object so the garbage collector can remove it.

Specified by:
removeYou in interface FElement
Overrides:
removeYou in class UMLDeclaration

getParentElement

public FElement getParentElement()
Query the logical parent of this element (e.g. package of a class, diagram of an object).

Specified by:
getParentElement in interface FElement
Overrides:
getParentElement in class UMLDiagramItem
Returns:
the logical parent of this element;

findMethodsWithSignatureInSubclasses

public java.util.Set findMethodsWithSignatureInSubclasses(java.lang.String signature)
Add all methods with given signature to the methods set, found in the subclasses and -interfaces.

Parameters:
signature - signature to match
Returns:
set of found method

findMethodsWithSignatureInSuperclasses

public java.util.Set findMethodsWithSignatureInSuperclasses(java.lang.String signature)
Add all methods with given signature to the methods set, found in the superclasses and -interfaces.

Parameters:
signature - signature to match
Returns:
set of found method