de.uni_paderborn.fujaba.uml
Class UMLPath

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
                          extended byde.uni_paderborn.fujaba.uml.UMLPath
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

public class UMLPath
extends UMLLink

This class represents path expressions

Version:
$Revision: 1.9 $
Author:
$Author: cschneid $

Nested Class Summary
 
Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement
ASGElement.SortByNameComparator
 
Field Summary
static int P_PATH
          No comment provided by developer, please add a comment to improve documentation.
 
Fields inherited from class de.uni_paderborn.fujaba.uml.UMLLink
CREATE, DELETE, MODIFY, NEGATIVE, NONE, NULL, OPTIONAL, P_CHECK, P_CHECK_TO_MANY, P_MULTILINK_BOUND_TO_UNBOUND, P_MULTILINK_CHECK, P_MULTILINK_ENTRY, P_MULTILINK_ENTRY_OPTIONAL, P_MULTILINK_FIRST, P_MULTILINK_LAST, P_MULTILINK_PATH, P_MULTILINK_PATH_OPTIONAL, P_MULTILINK_UNBOUND_TO_BOUND, P_NEGATIVE, P_NONE, P_OPTIONAL, P_OPTIONAL_CHECK, P_OPTIONAL_TO_MANY, P_OPTIONAL_TO_ONE, P_SET, P_TO_MANY, P_TO_ONE, SEARCH, VIA_ASGELEMENTREF_SUFFIX
 
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
UMLPath()
          Constructor for class UMLPath
UMLPath(UMLObject source, java.lang.String expression, UMLObject target)
          Constructor for class UMLPath
 
Method Summary
 UMLRole getCorrespondingRole(UMLObject object)
          Get the correspondingRole attribute of the UMLPath object
 java.lang.String getExpression()
          Get the expression attribute of the UMLPath object
 int getPriority(java.util.HashMap boundObjects, java.util.HashMap isomorphicBindings)
          Get the priority attribute of the UMLPath object
 UMLRole getSourceRole()
          Get the sourceRole attribute of the UMLPath object
 UMLRole getTargetRole()
          Get the targetRole attribute of the UMLPath object
 boolean isNavigable(UMLObject source)
          Get the navigable attribute of the UMLPath object
 boolean isReference()
          Get the reference attribute of the UMLPath object
 void removeYou()
          No comment provided by developer, please add a comment to improve documentation.
 void setExpression(java.lang.String newExpression)
          Sets the expression attribute of the UMLPath object
 java.lang.String toString()
          String representation of UMLPath
 
Methods inherited from class de.uni_paderborn.fujaba.uml.UMLLink
accessable, checkNegativeError, checkSwap, getAbsoluteModifier, getInstanceOf, getIsViaASGElementRef, getModifier, getName, getRange, getRevSourceLink, getRevTargetLink, getSource, getSourceConnector, getSuccessorLink, getTarget, getTargetConnector, getText, getTotality, getType, getUnboundObject, isLinkBetween, isPersistencyChange, setCutCopyPasteParent, setInstanceOf, setIsViaASGElementRef, setModifier, setName, setRange, setRevSourceLink, setRevTargetLink, setSource, setSourceConnector, setTarget, setTargetConnector, setTotality, setType, toOneAccess
 
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

P_PATH

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

See Also:
Constant Field Values
Constructor Detail

UMLPath

public UMLPath()
Constructor for class UMLPath


UMLPath

public UMLPath(UMLObject source,
               java.lang.String expression,
               UMLObject target)
Constructor for class UMLPath

Parameters:
source - No description provided
expression - No description provided
target - No description provided
Method Detail

isReference

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

Overrides:
isReference in class UMLLink
Returns:
The reference value

isNavigable

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

Overrides:
isNavigable in class UMLLink
Parameters:
source - No description provided
Returns:
The navigable value

setExpression

public void setExpression(java.lang.String newExpression)
Sets the expression attribute of the UMLPath object

Parameters:
newExpression - The new expression value

getExpression

public java.lang.String getExpression()
Get the expression attribute of the UMLPath object

Returns:
The expression value

getCorrespondingRole

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

Overrides:
getCorrespondingRole in class UMLLink
Parameters:
object - No description provided
Returns:
The correspondingRole value

getSourceRole

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

Overrides:
getSourceRole in class UMLLink
Returns:
The sourceRole value

getTargetRole

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

Overrides:
getTargetRole in class UMLLink
Returns:
The targetRole value

getPriority

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

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

toString

public java.lang.String toString()
String representation of UMLPath

Overrides:
toString in class UMLLink
Returns:
short string representation of current path

removeYou

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

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