de.uni_paderborn.fujaba.uml
Class UMLLink

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.UMLLink
All Implemented Interfaces:
java.lang.Comparable, FConnection, FDiagramItem, FElement, FIncrement, de.uni_kassel.prop.InspectionAware, LogicUnparseInterface, de.tu_bs.coobra.ObjectChangeAware, de.upb.tools.pcs.PropertyChangeClient, de.upb.tools.pcs.PropertyChangeInterface, Traversable, UniqueIdentifier
Direct Known Subclasses:
UMLLinkSet, UMLPath

public class UMLLink
extends UMLConnection
implements Traversable

Associations

          0..n    source    0..1
 UMLLink ------------------------ UMLObject
          revSource       source

          0..n    target    0..1
 UMLLink ------------------------ UMLObject
          revTarget       target

          0..n    instanceOf    0..1
 UMLLink ---------------------------- UMLAssoc
          instances       instanceOf

          0..1     sourceLink     0..1
 UMLLink ------------------------------ UMLMultiLink
          revSourceLink     sourceLink

          0..1     targetLink     0..1
 UMLLink ------------------------------ UMLMultiLink
          targetLink     revTargetLink
 

Version:
$Revision: 1.176.2.2 $
Author:
$Author: creckord $

Nested Class Summary
 
Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement
ASGElement.SortByNameComparator
 
Field Summary
static int CREATE
          No comment provided by developer, please add a comment to improve documentation.
static int DELETE
          No comment provided by developer, please add a comment to improve documentation.
static int MODIFY
          No comment provided by developer, please add a comment to improve documentation.
static int NEGATIVE
          No comment provided by developer, please add a comment to improve documentation.
static int NONE
          No comment provided by developer, please add a comment to improve documentation.
static int NULL
          No comment provided by developer, please add a comment to improve documentation.
static int OPTIONAL
          No comment provided by developer, please add a comment to improve documentation.
static int P_CHECK
          No comment provided by developer, please add a comment to improve documentation.
static int P_CHECK_TO_MANY
          No comment provided by developer, please add a comment to improve documentation.
static int P_MULTILINK_BOUND_TO_UNBOUND
          No comment provided by developer, please add a comment to improve documentation.
static int P_MULTILINK_CHECK
          No comment provided by developer, please add a comment to improve documentation.
static int P_MULTILINK_ENTRY
          No comment provided by developer, please add a comment to improve documentation.
static int P_MULTILINK_ENTRY_OPTIONAL
          No comment provided by developer, please add a comment to improve documentation.
static int P_MULTILINK_FIRST
          No comment provided by developer, please add a comment to improve documentation.
static int P_MULTILINK_LAST
          No comment provided by developer, please add a comment to improve documentation.
static int P_MULTILINK_PATH
          No comment provided by developer, please add a comment to improve documentation.
static int P_MULTILINK_PATH_OPTIONAL
          No comment provided by developer, please add a comment to improve documentation.
static int P_MULTILINK_UNBOUND_TO_BOUND
          No comment provided by developer, please add a comment to improve documentation.
static int P_NEGATIVE
          No comment provided by developer, please add a comment to improve documentation.
static int P_NONE
          No comment provided by developer, please add a comment to improve documentation.
static int P_OPTIONAL
          No comment provided by developer, please add a comment to improve documentation.
static int P_OPTIONAL_CHECK
          No comment provided by developer, please add a comment to improve documentation.
static int P_OPTIONAL_TO_MANY
          No comment provided by developer, please add a comment to improve documentation.
static int P_OPTIONAL_TO_ONE
          No comment provided by developer, please add a comment to improve documentation.
static int P_SET
          No comment provided by developer, please add a comment to improve documentation.
static int P_TO_MANY
          No comment provided by developer, please add a comment to improve documentation.
static int P_TO_ONE
          No comment provided by developer, please add a comment to improve documentation.
static int SEARCH
          No comment provided by developer, please add a comment to improve documentation.
static java.lang.String VIA_ASGELEMENTREF_SUFFIX
          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.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
UMLLink()
          Constructor for class UMLLink
UMLLink(java.lang.String name, int type, int modifier, java.lang.String range, UMLObject source, UMLObject target, UMLAssoc instanceOf)
          Constructor for class UMLLink
 
Method Summary
 boolean accessable(UMLObject object)
          No comment provided by developer, please add a comment to improve documentation.
 boolean checkNegativeError(UMLObject sourceObject, UMLObject targetObject, int priority)
          No comment provided by developer, please add a comment to improve documentation.
static boolean checkSwap(UMLLink link)
          No comment provided by developer, please add a comment to improve documentation.
 int getAbsoluteModifier()
          Get the absoluteModifier attribute of the UMLLink object
 UMLRole getCorrespondingRole(UMLObject object)
          Get the correspondingRole attribute of the UMLLink object
 UMLAssoc getInstanceOf()
          Get the instanceOf attribute of the UMLLink object
 boolean getIsViaASGElementRef()
          Get the isViaASGElementRef attribute of the UMLLink object
 int getModifier()
          Get the modifier attribute of the UMLLink object
 java.lang.String getName()
          Get the name attribute of the UMLLink object
 int getPriority(java.util.HashMap boundObjects, java.util.HashMap isomorphicBindings)
          Get the priority attribute of the UMLLink object
 java.lang.String getRange()
          Get the range attribute of the UMLLink object
 UMLMultiLink getRevSourceLink()
          Get the revSourceLink attribute of the UMLLink object
 UMLMultiLink getRevTargetLink()
          Get the revTargetLink attribute of the UMLLink object
 UMLObject getSource()
          Get the source attribute of the UMLLink object
 UMLDiagramItem getSourceConnector()
          Wrapper method for getSource.
 UMLRole getSourceRole()
          Get the sourceRole attribute of the UMLLink object
 UMLLink getSuccessorLink(java.util.TreeMap objectsMap)
          Get the successorLink attribute of the UMLLink object
 UMLObject getTarget()
          Get the target attribute of the UMLLink object
 UMLDiagramItem getTargetConnector()
          Wrapper method for getTarget.
 UMLRole getTargetRole()
          Get the targetRole attribute of the UMLLink object
 java.lang.String getText()
          Wrapper method for getName.
 boolean getTotality()
          Get the totality attribute of the UMLLink object
 int getType()
          Get the type attribute of the UMLLink object
 UMLObject getUnboundObject(java.util.HashMap boundObjects)
          Get the unboundObject attribute of the UMLLink object
 boolean isLinkBetween(java.lang.String firstObject, java.lang.String secondObject)
          Boolean method to check whether this link connects the two objects given by their names.
 boolean isNavigable(UMLObject source)
          Get the navigable attribute of the UMLLink object
protected  boolean isPersistencyChange(java.beans.PropertyChangeEvent e)
          Get the persistencyChange attribute of the UMLLink object
 boolean isReference()
          Get the reference attribute of the UMLLink object
 void removeYou()
          Isolates the object so the garbage collector can remove it.
 void setCutCopyPasteParent(FElement parent)
          Hangs the current ASGElement into the ASG-tree.
 void setInstanceOf(UMLAssoc instanceOf)
          Sets the instanceOf attribute of the UMLLink object
 void setIsViaASGElementRef(boolean value)
          Sets the isViaASGElementRef attribute of the UMLLink object
 void setModifier(int modifier)
          Sets the modifier attribute of the UMLLink object
 void setName(java.lang.String name)
          Sets the name attribute of the UMLLink object
 void setRange(java.lang.String range)
          Sets the range attribute of the UMLLink object
 void setRevSourceLink(UMLMultiLink revSourceLink)
          Sets the revSourceLink attribute of the UMLLink object
 void setRevTargetLink(UMLMultiLink revTargetLink)
          Sets the revTargetLink attribute of the UMLLink object
 boolean setSource(UMLObject source)
          Sets the source attribute of the UMLLink object
 boolean setSourceConnector(FDiagramItem incr)
          Wrapper method for setSource.
 boolean setTarget(UMLObject target)
          Sets the target attribute of the UMLLink object
 boolean setTargetConnector(FDiagramItem incr)
          Wrapper method for setTarget.
 void setTotality(boolean totality)
          Sets the totality attribute of the UMLLink object
 void setType(int type)
          Sets the type attribute of the UMLLink object
 boolean toOneAccess(UMLRole role)
          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.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, getParentElement, 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, getTransientElements, getUnparseModuleName, getUnparseModuleNameImpl, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasInFsaObjects, hasKeyInElementReferences, hasKeyInFsaObjects, initElementListener, initPersistency, isCoobraPersistent, isInspectableField, isInTransientMode, 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, 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.uml.Traversable
getID
 
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, getParentElement, hasInAnnotations, hasInDiagrams, hasInElementReferences, hasInElementReferences, hasKeyInElementReferences, isCoobraPersistent, isGenerated, iteratorOfAnnotations, iteratorOfDiagrams, iteratorOfElementReferences, iteratorOfUserMessages, keysOfElementReferences, removeAllFromAnnotations, removeAllFromDiagrams, removeAllFromElementReferences, removeAllFromUserMessages, removeFromAnnotations, removeFromDiagrams, removeFromElementReferences, removeFromElementReferences, removeFromUserMessages, removeKeyFromElementReferences, 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
 

Field Detail

NULL

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

See Also:
Constant Field Values

NEGATIVE

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

See Also:
Constant Field Values

OPTIONAL

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

See Also:
Constant Field Values

NONE

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

See Also:
Constant Field Values

CREATE

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

See Also:
Constant Field Values

DELETE

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

See Also:
Constant Field Values

P_CHECK

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

See Also:
Constant Field Values

P_TO_ONE

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

See Also:
Constant Field Values

P_CHECK_TO_MANY

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

See Also:
Constant Field Values

P_MULTILINK_CHECK

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

See Also:
Constant Field Values

P_MULTILINK_FIRST

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

See Also:
Constant Field Values

P_MULTILINK_LAST

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

See Also:
Constant Field Values

P_MULTILINK_BOUND_TO_UNBOUND

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

See Also:
Constant Field Values

P_MULTILINK_UNBOUND_TO_BOUND

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

See Also:
Constant Field Values

P_MULTILINK_ENTRY

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

See Also:
Constant Field Values

P_MULTILINK_PATH

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

See Also:
Constant Field Values

P_TO_MANY

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

See Also:
Constant Field Values

P_MULTILINK_ENTRY_OPTIONAL

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

See Also:
Constant Field Values

P_MULTILINK_PATH_OPTIONAL

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

See Also:
Constant Field Values

P_OPTIONAL

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

See Also:
Constant Field Values

P_OPTIONAL_CHECK

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

See Also:
Constant Field Values

P_OPTIONAL_TO_ONE

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

See Also:
Constant Field Values

P_OPTIONAL_TO_MANY

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

See Also:
Constant Field Values

P_SET

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

See Also:
Constant Field Values

P_NEGATIVE

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

See Also:
Constant Field Values

P_NONE

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

See Also:
Constant Field Values

SEARCH

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

See Also:
Constant Field Values

MODIFY

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

See Also:
Constant Field Values

VIA_ASGELEMENTREF_SUFFIX

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

See Also:
Constant Field Values
Constructor Detail

UMLLink

public UMLLink()
Constructor for class UMLLink


UMLLink

public UMLLink(java.lang.String name,
               int type,
               int modifier,
               java.lang.String range,
               UMLObject source,
               UMLObject target,
               UMLAssoc instanceOf)
Constructor for class UMLLink

Parameters:
name - No description provided
type - No description provided
modifier - No description provided
range - No description provided
source - No description provided
target - No description provided
instanceOf - No description provided
Method Detail

getIsViaASGElementRef

public boolean getIsViaASGElementRef()
Get the isViaASGElementRef attribute of the UMLLink object

Returns:
The isViaASGElementRef value

setIsViaASGElementRef

public void setIsViaASGElementRef(boolean value)
Sets the isViaASGElementRef attribute of the UMLLink object

Parameters:
value - The new isViaASGElementRef value

getName

public java.lang.String getName()
Get the name attribute of the UMLLink 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 UMLLink object

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

getType

public int getType()
Get the type attribute of the UMLLink object

Returns:
The type value

setType

public void setType(int type)
Sets the type attribute of the UMLLink object

Parameters:
type - The new type value

getModifier

public int getModifier()
Get the modifier attribute of the UMLLink object

Returns:
The modifier value

setModifier

public void setModifier(int modifier)
Sets the modifier attribute of the UMLLink object

Parameters:
modifier - The new modifier value

getTotality

public boolean getTotality()
Get the totality attribute of the UMLLink object

Returns:
The totality value

setTotality

public void setTotality(boolean totality)
Sets the totality attribute of the UMLLink object

Parameters:
totality - The new totality value

getRange

public java.lang.String getRange()
Get the range attribute of the UMLLink object

Returns:
The range value

setRange

public void setRange(java.lang.String range)
Sets the range attribute of the UMLLink object

Parameters:
range - The new range value

getSource

public UMLObject getSource()
Get the source attribute of the UMLLink object

Returns:
The source value

setSource

public boolean setSource(UMLObject source)
Sets the source attribute of the UMLLink object

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

getTarget

public UMLObject getTarget()
Get the target attribute of the UMLLink object

Returns:
The target value

setTarget

public boolean setTarget(UMLObject target)
Sets the target attribute of the UMLLink object

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

setInstanceOf

public void setInstanceOf(UMLAssoc instanceOf)
Sets the instanceOf attribute of the UMLLink object

Parameters:
instanceOf - The new instanceOf value

getInstanceOf

public UMLAssoc getInstanceOf()
Get the instanceOf attribute of the UMLLink object

Returns:
The instanceOf value

setRevSourceLink

public void setRevSourceLink(UMLMultiLink revSourceLink)
Sets the revSourceLink attribute of the UMLLink object

Parameters:
revSourceLink - The new revSourceLink value

getRevSourceLink

public UMLMultiLink getRevSourceLink()
Get the revSourceLink attribute of the UMLLink object

Returns:
The revSourceLink value

setRevTargetLink

public void setRevTargetLink(UMLMultiLink revTargetLink)
Sets the revTargetLink attribute of the UMLLink object

Parameters:
revTargetLink - The new revTargetLink value

getRevTargetLink

public UMLMultiLink getRevTargetLink()
Get the revTargetLink attribute of the UMLLink object

Returns:
The revTargetLink value

getSuccessorLink

public UMLLink getSuccessorLink(java.util.TreeMap objectsMap)
Get the successorLink attribute of the UMLLink object

Parameters:
objectsMap - No description provided
Returns:
The successorLink value

isReference

public boolean isReference()
Get the reference attribute of the UMLLink object

Returns:
The reference value

isNavigable

public boolean isNavigable(UMLObject source)
Get the navigable attribute of the UMLLink object

Parameters:
source - No description provided
Returns:
The navigable value

getPriority

public int getPriority(java.util.HashMap boundObjects,
                       java.util.HashMap isomorphicBindings)
Get the priority attribute of the UMLLink object

Specified by:
getPriority in interface Traversable
Parameters:
boundObjects - No description provided
isomorphicBindings - No description provided
Returns:
The priority value

getUnboundObject

public UMLObject getUnboundObject(java.util.HashMap boundObjects)
Get the unboundObject attribute of the UMLLink object

Parameters:
boundObjects - No description provided
Returns:
The unboundObject value

getText

public java.lang.String getText()
Wrapper method for getName.

Specified by:
getText in interface FElement
Overrides:
getText in class ASGElement
Returns:
The text value
See Also:
getName()

getAbsoluteModifier

public int getAbsoluteModifier()
Get the absoluteModifier attribute of the UMLLink object

Returns:
The absoluteModifier value

setSourceConnector

public boolean setSourceConnector(FDiagramItem incr)
Wrapper method for setSource.

Specified by:
setSourceConnector in interface FConnection
Parameters:
incr - The new sourceConnector value
Returns:
No description provided
See Also:
setSource(de.uni_paderborn.fujaba.uml.UMLObject)

getSourceConnector

public UMLDiagramItem getSourceConnector()
Wrapper method for getSource.

Specified by:
getSourceConnector in class UMLConnection
Returns:
The sourceConnector value
See Also:
getSource()

setTargetConnector

public boolean setTargetConnector(FDiagramItem incr)
Wrapper method for setTarget.

Specified by:
setTargetConnector in interface FConnection
Parameters:
incr - The new targetConnector value
Returns:
No description provided
See Also:
setTarget(de.uni_paderborn.fujaba.uml.UMLObject)

getTargetConnector

public UMLDiagramItem getTargetConnector()
Wrapper method for getTarget.

Specified by:
getTargetConnector in class UMLConnection
Returns:
The targetConnector value
See Also:
getTarget()

toOneAccess

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

Parameters:
role - No description provided
Returns:
No description provided

isLinkBetween

public boolean isLinkBetween(java.lang.String firstObject,
                             java.lang.String secondObject)
Boolean method to check whether this link connects the two objects given by their names.

Parameters:
firstObject - No description provided
secondObject - No description provided
Returns:
The linkBetween value

getCorrespondingRole

public UMLRole getCorrespondingRole(UMLObject object)
Get the correspondingRole attribute of the UMLLink object

Parameters:
object - No description provided
Returns:
The correspondingRole value

getSourceRole

public UMLRole getSourceRole()
Get the sourceRole attribute of the UMLLink object

Returns:
The sourceRole value

getTargetRole

public UMLRole getTargetRole()
Get the targetRole attribute of the UMLLink object

Returns:
The targetRole value

accessable

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

Parameters:
object - No description provided
Returns:
No description provided

checkSwap

public static boolean checkSwap(UMLLink link)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
link - No description provided
Returns:
No description provided

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

checkNegativeError

public boolean checkNegativeError(UMLObject sourceObject,
                                  UMLObject targetObject,
                                  int priority)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
sourceObject - No description provided
targetObject - No description provided
priority - No description provided
Returns:
No description provided

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

setCutCopyPasteParent

public void setCutCopyPasteParent(FElement parent)
Hangs the current ASGElement into the ASG-tree. Needed for cut'n'paste.

Specified by:
setCutCopyPasteParent in interface FElement
Overrides:
setCutCopyPasteParent in class ASGElement
Parameters:
parent -

isPersistencyChange

protected boolean isPersistencyChange(java.beans.PropertyChangeEvent e)
Get the persistencyChange attribute of the UMLLink object

Overrides:
isPersistencyChange in class ASGElement
Parameters:
e - No description provided
Returns:
The persistencyChange value