|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.basic.BasicIncrement
de.uni_paderborn.fujaba.asg.ASGElement
de.uni_paderborn.fujaba.uml.UMLIncrement
de.uni_paderborn.fujaba.uml.UMLDiagramItem
de.uni_paderborn.fujaba.uml.UMLConnection
de.uni_paderborn.fujaba.uml.UMLAssoc
------------- 0..n stereotype 0..1
UMLAssoc | getText() |----------------------------- UMLStereotype
------------- uMLAssoc uMLStereotype
| Nested Class Summary |
| Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement |
ASGElement.SortByNameComparator |
| Field Summary | |
private boolean |
alreadyRemoved
No comment provided by developer, please add a comment to improve documentation. |
private int |
direction
No comment provided by developer, please add a comment to improve documentation. |
private de.upb.tools.fca.FTreeSet |
instances
No comment provided by developer, please add a comment to improve documentation. |
static int |
LEFTRIGHT
direction = {LeftRight, RightLeft} |
private UMLRole |
leftRole
Reverse UMLAssoc revLeftRole |
private java.lang.String |
name
No comment provided by developer, please add a comment to improve documentation. |
static int |
RIGHTLEFT
direction = {LeftRight, RightLeft} |
private UMLRole |
rightRole
Reverse UMLAssoc revRightRole |
private boolean |
rolesTransient
true if attributes for roles should be flagged transient |
| Fields inherited from class de.uni_paderborn.fujaba.uml.UMLDiagramItem |
|
| Fields inherited from class de.uni_paderborn.fujaba.uml.UMLIncrement |
|
| Fields inherited from class de.uni_paderborn.fujaba.asg.ASGElement |
|
| Fields inherited from class de.uni_paderborn.fujaba.basic.BasicIncrement |
dontUseAccessMethodsInThisClass |
| Fields inherited from interface de.uni_paderborn.fujaba.metamodel.FAssoc |
DIRECTION_PROPERTY, LEFT_ROLE_PROPERTY, RIGHT_ROLE_PROPERTY, STEREOTYPE_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 | |
UMLAssoc()
Constructor for class UMLAssoc |
|
UMLAssoc(java.lang.String name,
int direction,
UMLConstraint constraint,
UMLRole leftRole,
UMLRole rightRole)
Constructor for class UMLAssoc |
|
UMLAssoc(java.lang.String name,
UMLClass leftClass,
java.lang.String leftRoleName,
java.lang.String leftCard,
UMLClass rightClass,
java.lang.String rightRoleName,
java.lang.String rightCard)
Constructor for class UMLAssoc |
|
| Method Summary | |
void |
addToInstances(UMLLink elem)
Access method for an one to n association. |
java.util.Enumeration |
elementsOfInstances()
No comment provided by developer, please add a comment to improve documentation. |
static boolean |
existsRef(UMLClass theClass,
java.lang.String theRoleName)
No comment provided by developer, please add a comment to improve documentation. |
static UMLAssoc[] |
getAssocForItems(UMLClass firstClass,
java.lang.String firstRoleName,
UMLClass secondClass,
java.lang.String secondRoleName)
Boolean static method to check wether two classes are connected via the passed association. |
int |
getDirection()
Get the direction attribute of the UMLAssoc object |
FRole |
getFLeftRole()
Get the fLeftRole attribute of the UMLAssoc object |
FRole |
getFRightRole()
Get the fRightRole attribute of the UMLAssoc object |
UMLRole |
getLeftRole()
Get the leftRole attribute of the UMLAssoc object |
java.lang.String |
getName()
Get the name attribute of the UMLAssoc object |
FElement |
getParentElement()
Query the logical parent of this element (e.g. package of a class, diagram of an object). |
UMLRole |
getPartnerRole(UMLRole role)
Get the partnerRole attribute of the UMLAssoc object |
static UMLAssoc |
getRef(UMLClass theClass,
java.lang.String theRoleName)
Get the ref attribute of the UMLAssoc class |
UMLRole |
getRightRole()
Get the rightRole attribute of the UMLAssoc object |
java.lang.String |
getSortedComparator()
Deprecated. Use UMLRole.getSortedComparator() instead |
UMLDiagramItem |
getSourceConnector()
Get the sourceConnector attribute of the UMLAssoc object |
UMLStereotype |
getStereotype()
Deprecated. use stereotypes/UMLStereotype instead |
java.lang.String |
getStereotypeName()
Deprecated. use stereotypes/UMLStereotype instead |
UMLDiagramItem |
getTargetConnector()
Get the targetConnector attribute of the UMLAssoc object |
java.lang.String |
getText()
Get the text attribute of the UMLAssoc object |
boolean |
hasInInstances(UMLLink elem)
No comment provided by developer, please add a comment to improve documentation. |
boolean |
isAlreadyRemoved()
Get the alreadyRemoved attribute of the UMLAssoc object |
boolean |
isRealReference()
Checks whether this is a unidirectional assoc. |
boolean |
isRolesTransient()
|
boolean |
isVirtualPath()
|
java.util.Iterator |
iteratorOfInstances()
No comment provided by developer, please add a comment to improve documentation. |
private void |
removeAllFromInstances()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeAttrs()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeFromInstances(UMLLink elem)
No comment provided by developer, please add a comment to improve documentation. |
void |
removeLeftRole()
No comment provided by developer, please add a comment to improve documentation. |
void |
removeRightRole()
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 |
setDirection(int direction)
Sets the direction attribute of the UMLAssoc object |
boolean |
setLeftRole(FRole leftRole)
Sets the leftRole attribute of the UMLAssoc object |
void |
setName(java.lang.String name)
Sets the name attribute of the UMLAssoc object |
boolean |
setRightRole(FRole rightRole)
Sets the rightRole attribute of the UMLAssoc object |
void |
setRolesTransient(boolean rolesTransient)
|
void |
setSortedComparator(java.lang.String comparator)
Deprecated. Use UMLRole.setSortedComparator(java.lang.String)
instead |
boolean |
setSourceConnector(FDiagramItem incr)
Sets the sourceConnector attribute of the UMLAssoc object |
void |
setStereotype(FStereotype obj)
Deprecated. use stereotypes/UMLStereotype instead |
boolean |
setTargetConnector(FDiagramItem incr)
Sets the targetConnector attribute of the UMLAssoc 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 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.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 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 |
public static final transient int LEFTRIGHT
public static final transient int RIGHTLEFT
private java.lang.String name
private int direction
private UMLRole leftRole
private UMLRole rightRole
private de.upb.tools.fca.FTreeSet instances
private boolean alreadyRemoved
private boolean rolesTransient
| Constructor Detail |
public UMLAssoc()
public UMLAssoc(java.lang.String name,
UMLClass leftClass,
java.lang.String leftRoleName,
java.lang.String leftCard,
UMLClass rightClass,
java.lang.String rightRoleName,
java.lang.String rightCard)
name - No description providedleftClass - No description providedleftRoleName - No description providedleftCard - No description providedrightClass - No description providedrightRoleName - No description providedrightCard - No description provided
public UMLAssoc(java.lang.String name,
int direction,
UMLConstraint constraint,
UMLRole leftRole,
UMLRole rightRole)
name - No description provideddirection - No description providedconstraint - No description providedleftRole - No description providedrightRole - No description provided| Method Detail |
public static UMLAssoc[] getAssocForItems(UMLClass firstClass,
java.lang.String firstRoleName,
UMLClass secondClass,
java.lang.String secondRoleName)
firstClass - No description providedfirstRoleName - No description providedsecondClass - No description providedsecondRoleName - No description provided
public static boolean existsRef(UMLClass theClass,
java.lang.String theRoleName)
theClass - No description providedtheRoleName - No description provided
public static UMLAssoc getRef(UMLClass theClass,
java.lang.String theRoleName)
theClass - No description providedtheRoleName - No description provided
public boolean isRealReference()
public java.lang.String getName()
getName in interface FElementgetName in class ASGElementpublic void setName(java.lang.String name)
setName in interface FElementsetName in class ASGElementname - The new name valuepublic int getDirection()
getDirection in interface FAssocpublic void setDirection(int direction)
setDirection in interface FAssocdirection - The new direction valuepublic java.lang.String getSortedComparator()
UMLRole.getSortedComparator() instead
getDirection() to retrieve the comparator from them.
public void setSortedComparator(java.lang.String comparator)
UMLRole.setSortedComparator(java.lang.String)
instead
comparator - The new sortedComparator valuepublic UMLRole getLeftRole()
public FRole getFLeftRole()
getFLeftRole in interface FAssocpublic boolean setLeftRole(FRole leftRole)
setLeftRole in interface FAssocleftRole - The new leftRole value
public final void removeLeftRole()
removeLeftRole in interface FAssocpublic boolean setSourceConnector(FDiagramItem incr)
setSourceConnector in interface FConnectionincr - The new sourceConnector value
public UMLDiagramItem getSourceConnector()
getSourceConnector in class UMLConnectionpublic UMLRole getRightRole()
public FRole getFRightRole()
getFRightRole in interface FAssocpublic boolean setRightRole(FRole rightRole)
setRightRole in interface FAssocrightRole - The new rightRole value
public final void removeRightRole()
removeRightRole in interface FAssocpublic boolean setTargetConnector(FDiagramItem incr)
setTargetConnector in interface FConnectionincr - The new targetConnector value
public UMLDiagramItem getTargetConnector()
getTargetConnector in class UMLConnectionpublic UMLRole getPartnerRole(UMLRole role)
role - No description provided
public boolean hasInInstances(UMLLink elem)
elem - No description provided
public java.util.Enumeration elementsOfInstances()
public java.util.Iterator iteratorOfInstances()
public void addToInstances(UMLLink elem)
elem - The object added.public void removeFromInstances(UMLLink elem)
elem - No description providedprivate final void removeAllFromInstances()
public boolean isAlreadyRemoved()
isAlreadyRemoved in interface FAssocpublic boolean isVirtualPath()
isVirtualPath in interface FAssocpublic void removeYou()
removeYou in interface FElementremoveYou in class UMLDiagramItempublic FElement getParentElement()
getParentElement in interface FElementgetParentElement in class UMLDiagramItempublic void removeAttrs()
removeAttrs in interface FAssocpublic java.lang.String getText()
getText in interface FElementgetText in class ASGElementpublic java.lang.String toString()
UMLDiagramItem
toString in class UMLDiagramItempublic void setStereotype(FStereotype obj)
obj - The new stereotype valuepublic UMLStereotype getStereotype()
public java.lang.String getStereotypeName()
public boolean isRolesTransient()
isRolesTransient in interface FAssocpublic void setRolesTransient(boolean rolesTransient)
rolesTransient - true if attributes for roles should be flagged transient
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||