de.uni_paderborn.fujaba.metamodel
Interface FConnection

All Superinterfaces:
java.lang.Comparable, FDiagramItem, FElement, FIncrement, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, UniqueIdentifier
All Known Subinterfaces:
FAssoc, FGeneralization
All Known Implementing Classes:
UMLAssoc, UMLConnection, UMLGeneralization

public interface FConnection
extends FDiagramItem

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

Version:
$Revision: 1.2 $ $Date: 2004/10/22 16:41:45 $
Author:
$Author: lowende $

Field Summary
 
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
 
Method Summary
 FDiagramItem getFPartner(FDiagramItem item)
          Deprecated.  
 FDiagramItem getFSourceConnector()
          Deprecated.  
 FDiagramItem getFTargetConnector()
          Deprecated.  
 boolean setPartner(FDiagramItem item, FDiagramItem partner)
          Deprecated.  
 boolean setSourceConnector(FDiagramItem item)
          Deprecated.  
 boolean setTargetConnector(FDiagramItem item)
          Deprecated.  
 
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, getName, getParentElement, getText, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasKeyInElementReferences, isCoobraPersistent, isGenerated, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfUserMessages, keysOfElementReferences, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromUserMessages, removeKeyFromElementReferences, removeYou, setCutCopyPasteParent, setFirstOOGenToken, setGenerated, setLastOOGenToken, setName, 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
 

Method Detail

setSourceConnector

public boolean setSourceConnector(FDiagramItem item)
Deprecated.  

access method for the source object of the edge

Parameters:
item - the new source object
Returns:
true if the source object was changed, false otherwise

getFSourceConnector

public FDiagramItem getFSourceConnector()
Deprecated.  

access method for the source object of the edge

Returns:
the source object of the edge

setTargetConnector

public boolean setTargetConnector(FDiagramItem item)
Deprecated.  

access method for the target object of the edge

Parameters:
item - the new target object
Returns:
true if the target object was changed, false otherwise

getFTargetConnector

public FDiagramItem getFTargetConnector()
Deprecated.  

access method for the target object of the edge

Returns:
the target object of the edge

getFPartner

public FDiagramItem getFPartner(FDiagramItem item)
Deprecated.  

Gets the partner of the item

That is sourceConnector if item is targetConnector or targetConnector if the item is sourceConnector

If item is none of these an Exception is thrown.

Parameters:
item - No description provided
Returns:
the partner of the item
Throws:
java.lang.IllegalArgumentException - if item is not one of sourceConnector or targetConnector
See Also:
setPartner(de.uni_paderborn.fujaba.metamodel.FDiagramItem, de.uni_paderborn.fujaba.metamodel.FDiagramItem)

setPartner

public boolean setPartner(FDiagramItem item,
                          FDiagramItem partner)
Deprecated.  

Sets the partner of the item

That is sourceConnector if item is targetConnector or targetConnector if the item is sourceConnector

If item is none of these an Exception is thrown.

Parameters:
item - The new partner value
partner - The new partner value
Returns:
true if the partner was changed
Throws:
java.lang.IllegalArgumentException - if item is not one of sourceConnector or targetConnector
See Also:
setSourceConnector(de.uni_paderborn.fujaba.metamodel.FDiagramItem), setTargetConnector(de.uni_paderborn.fujaba.metamodel.FDiagramItem)