de.uni_paderborn.fujaba.uml
Class UMLGeneralization

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.UMLConnection
                      extended byde.uni_paderborn.fujaba.uml.UMLGeneralization
All Implemented Interfaces:
java.lang.Comparable, FConnection, FDiagramItem, FElement, FGeneralization, FIncrement, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, UniqueIdentifier

public class UMLGeneralization
extends UMLConnection
implements FGeneralization

No comment provided by developer, please add a comment to improve documentation.

Version:
$Revision: 1.69 $
Author:
$Author: cschneid $

Nested Class Summary
 
Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement
ASGElement.SortByNameComparator
 
Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement
dontUseAccessMethodsInThisClass
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FGeneralization
DISCRIMINATOR_PROPERTY, SUBCLASS_PROPERTY, SUPERCLASS_PROPERTY
 
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
 
Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
ANNOTATIONS_PROPERTY, DIAGRAMS_PROPERTY, ELEMENT_REFERENCES_PROPERTY, GENERATED_PROPERTY, NAME_PROPERTY, TEXT_PROPERTY
 
Constructor Summary
UMLGeneralization()
          Constructor for class UMLGeneralization
UMLGeneralization(boolean coobraPersistent)
           
UMLGeneralization(java.lang.String discriminator, UMLConstraint constraint, UMLClass subclass, UMLClass superclass)
          Constructor for class UMLGeneralization
UMLGeneralization(UMLClass subclass, UMLClass superclass)
          Constructor for class UMLGeneralization
 
Method Summary
 java.lang.String getDiscriminator()
          Get the discriminator attribute of the UMLGeneralization object
 FClass getFSubclass()
          Get the fSubclass attribute of the UMLGeneralization object
 FClass getFSuperclass()
          Get the fSuperclass attribute of the UMLGeneralization object
 java.lang.String getName()
          Get the name attribute of the UMLGeneralization object
 FElement getParentElement()
          Query the logical parent of this element (e.g. package of a class, diagram of an object).
 UMLDiagramItem getSourceConnector()
          Get the sourceConnector attribute of the UMLGeneralization object
 UMLClass getSubclass()
          Get the subclass attribute of the UMLGeneralization object
 UMLClass getSuperclass()
          Get the superclass attribute of the UMLGeneralization object
 UMLDiagramItem getTargetConnector()
          Get the targetConnector attribute of the UMLGeneralization object
 void removeSubclass()
          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 setDiscriminator(java.lang.String discriminator)
          Sets the discriminator attribute of the UMLGeneralization object
 void setName(java.lang.String name)
          Sets the name attribute of the UMLGeneralization object
 boolean setSourceConnector(FDiagramItem incr)
          Sets the sourceConnector attribute of the UMLGeneralization object
 boolean setSubclass(FClass subclass)
          Sets the subclass attribute of the UMLGeneralization object
 boolean setSuperclass(FClass superclass)
          Sets the superclass attribute of the UMLGeneralization object
 boolean setTargetConnector(FDiagramItem incr)
          Sets the targetConnector attribute of the UMLGeneralization object
 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.UMLConnection
getFPartner, getFSourceConnector, getFTargetConnector, getPartner, setPartner
 
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, elementsOfAllChildren, 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, getText, 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, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromFsaObjects, removeFromPropertyChangeListeners, removeFromPropertyChangeListeners, removeFromUnparseInformations, removeFromUnparseInformations, removeFromUnparseInformations, removeFromUserMessages, removeKeyFromElementReferences, removeKeyFromFsaObjects, removePropertyChangeListener, removePropertyChangeListener, saveFSAProperties, saveLocations, searchID, 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.metamodel.FConnection
getFPartner, getFSourceConnector, getFTargetConnector, setPartner
 
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
 
Methods inherited from interface de.uni_paderborn.fujaba.metamodel.FElement
addToAnnotations, addToDiagrams, addToElementReferences, addToElementReferences, addToUserMessages, deleteTokens, entriesOfElementReferences, getFirstOOGenToken, getFromFElementReferences, getLastOOGenToken, getText, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasKeyInElementReferences, isCoobraPersistent, isGenerated, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfUserMessages, keysOfElementReferences, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, 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.uni_paderborn.fujaba.basic.UniqueIdentifier
getID
 
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.tu_bs.coobra.ObjectChangeAware
acknowledgeChange, getCoObRAId, getRepository, setCoObRAId, setRepository
 
Methods inherited from interface de.uni_kassel.prop.InspectionAware
isInspectableField, proposeFieldValues
 

Constructor Detail

UMLGeneralization

public UMLGeneralization()
Constructor for class UMLGeneralization


UMLGeneralization

public UMLGeneralization(boolean coobraPersistent)
Parameters:
coobraPersistent -

UMLGeneralization

public UMLGeneralization(UMLClass subclass,
                         UMLClass superclass)
Constructor for class UMLGeneralization

Parameters:
subclass - No description provided
superclass - No description provided

UMLGeneralization

public UMLGeneralization(java.lang.String discriminator,
                         UMLConstraint constraint,
                         UMLClass subclass,
                         UMLClass superclass)
Constructor for class UMLGeneralization

Parameters:
discriminator - No description provided
constraint - No description provided
subclass - No description provided
superclass - No description provided
Method Detail

getDiscriminator

public java.lang.String getDiscriminator()
Get the discriminator attribute of the UMLGeneralization object

Specified by:
getDiscriminator in interface FGeneralization
Returns:
The discriminator value

setDiscriminator

public void setDiscriminator(java.lang.String discriminator)
Sets the discriminator attribute of the UMLGeneralization object

Specified by:
setDiscriminator in interface FGeneralization
Parameters:
discriminator - The new discriminator value

getName

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

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

setName

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

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

getSubclass

public UMLClass getSubclass()
Get the subclass attribute of the UMLGeneralization object

Returns:
The subclass value

getFSubclass

public FClass getFSubclass()
Get the fSubclass attribute of the UMLGeneralization object

Specified by:
getFSubclass in interface FGeneralization
Returns:
The fSubclass value

setSubclass

public boolean setSubclass(FClass subclass)
Sets the subclass attribute of the UMLGeneralization object

Specified by:
setSubclass in interface FGeneralization
Parameters:
subclass - The new subclass value
Returns:
No description provided

removeSubclass

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


setTargetConnector

public boolean setTargetConnector(FDiagramItem incr)
Sets the targetConnector attribute of the UMLGeneralization object

Specified by:
setTargetConnector in interface FConnection
Parameters:
incr - The new targetConnector value
Returns:
No description provided

getTargetConnector

public UMLDiagramItem getTargetConnector()
Get the targetConnector attribute of the UMLGeneralization object

Specified by:
getTargetConnector in class UMLConnection
Returns:
The targetConnector value

getSuperclass

public UMLClass getSuperclass()
Get the superclass attribute of the UMLGeneralization object

Returns:
The superclass value

getFSuperclass

public FClass getFSuperclass()
Get the fSuperclass attribute of the UMLGeneralization object

Specified by:
getFSuperclass in interface FGeneralization
Returns:
The fSuperclass value

setSuperclass

public boolean setSuperclass(FClass superclass)
Sets the superclass attribute of the UMLGeneralization object

Specified by:
setSuperclass in interface FGeneralization
Parameters:
superclass - The new superclass value
Returns:
No description provided

setSourceConnector

public boolean setSourceConnector(FDiagramItem incr)
Sets the sourceConnector attribute of the UMLGeneralization object

Specified by:
setSourceConnector in interface FConnection
Parameters:
incr - The new sourceConnector value
Returns:
No description provided

getSourceConnector

public UMLDiagramItem getSourceConnector()
Get the sourceConnector attribute of the UMLGeneralization object

Specified by:
getSourceConnector in class UMLConnection
Returns:
The sourceConnector value

removeYou

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

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

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;

toString

public java.lang.String toString()
Description copied from class: UMLDiagramItem
No comment provided by developer, please add a comment to improve documentation.

Overrides:
toString in class UMLDiagramItem
Returns:
short string representation of current object