|
|||||||||||
| 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.UMLRole
No comment provided by developer, please add a comment to improve documentation.
| Nested Class Summary |
| Nested classes inherited from class de.uni_paderborn.fujaba.asg.ASGElement |
ASGElement.SortByNameComparator |
| Field Summary | |
static int |
ADD_METHOD
Deprecated. |
private int |
adornment
Value is one of {None, Aggregation, Composition, Reference, Qualified} |
private UMLAttr |
associatedAttribute
0..1 0..1 UMLAttr ------------------------------------------------ UMLRole associatedAttribute implementingAssocRole |
private UMLCardinality |
card
No comment provided by developer, please add a comment to improve documentation. |
private java.lang.String |
name
No comment provided by developer, please add a comment to improve documentation. |
private boolean |
parsed
Indicates if the role was generated from parsed source code. |
private UMLQualifier |
qualifier
No comment provided by developer, please add a comment to improve documentation. |
static int |
REMOVE_METHOD
Deprecated. |
private UMLAssoc |
revLeftRole
No comment provided by developer, please add a comment to improve documentation. |
private de.upb.tools.fca.FHashSet |
revQualifiedRole
n qualifiedRole 0..1 UMLQualifier ------------------------------------- UMLRole revQualifiedRole qualifiedRole |
private UMLAssoc |
revRightRole
No comment provided by developer, please add a comment to improve documentation. |
private java.lang.String |
sortedComparator
No comment provided by developer, please add a comment to improve documentation. |
private UMLClass |
target
No comment provided by developer, please add a comment to improve documentation. |
private int |
umlVisibility
No comment provided by developer, please add a comment to improve documentation. |
| 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.FRole |
ADORNMENT_PROPERTY, AGGREGATION, ASSOC_PROPERTY, ATTR_NAME_PROPERTY, CARD_PROPERTY, COMPOSITION, NONE, PARSED_PROPERTY, PARTNER_ROLE_PROPERTY, QUALIFIED, QUALIFIER_PROPERTY, REFERENCE, REV_QUALIFIED_ROLE, REV_ROLES_PROPERTY, TARGET_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 | |
UMLRole()
Constructor for class UMLRole |
|
UMLRole(java.lang.String name,
int adornment,
UMLClass target,
UMLQualifier qualifier,
UMLCardinality card,
int visibility,
UMLAssoc revLeftRole,
UMLAssoc revRightRole)
Constructor for class UMLRole |
|
UMLRole(java.lang.String name,
UMLClass target,
java.lang.String cardString)
Constructor for class UMLRole |
|
| Method Summary | |
boolean |
addToRevQualifiedRole(FQualifier value)
|
protected java.lang.String |
createUnparseModuleName()
No comment provided by developer, please add a comment to improve documentation. |
int |
getAdornment()
Get the adornment attribute of the UMLRole object, one of {None, Aggregation, Composition, Reference, Qualified} |
UMLAssoc |
getAssoc()
Get the assoc attribute of the UMLRole object |
UMLAttr |
getAssociatedAttribute()
UMLMethod: '+ getAssociatedAttribute (): UMLAttr'. |
java.lang.String |
getAttrName()
Returns an attribute name which represents this role. |
UMLCardinality |
getCard()
Get the card attribute of the UMLRole object |
FAssoc |
getFAssoc()
Get the fAssoc attribute of the UMLRole object |
FAttr |
getFAssociatedAttribute()
Get the fAssociatedAttribute attribute of the UMLRole object |
FCardinality |
getFCard()
Get the fCard attribute of the UMLRole object |
FRole |
getFPartnerRole()
Get the fPartnerRole attribute of the UMLRole object |
FQualifier |
getFQualifier()
Get the fQualifier attribute of the UMLRole object |
FClass |
getFRevRoles()
Get the fRevRoles attribute of the UMLRole object |
FClass |
getFTarget()
Get the fTarget attribute of the UMLRole object |
java.lang.String |
getName()
Get the name attribute of the UMLRole object |
FElement |
getParentElement()
Query the logical parent of this element (e.g. package of a class, diagram of an object). |
UMLRole |
getPartnerRole()
Get the partnerRole attribute of the UMLRole object |
UMLQualifier |
getQualifier()
Get the qualifier attribute of the UMLRole object |
UMLAssoc |
getRevLeftRole()
Get the revLeftRole attribute of the UMLRole object |
UMLAssoc |
getRevRightRole()
Get the revRightRole attribute of the UMLRole object |
UMLClass |
getRevRoles()
Get the revRoles attribute of the UMLRole object |
java.lang.String |
getSortedComparator()
Get the sortedComparator attribute of the UMLAssoc object |
UMLClass |
getTarget()
Get the target attribute of the UMLRole object |
int |
getUmlVisibility()
Get the umlVisibility attribute of the UMLRole object |
boolean |
hasInRevQualifiedRole(FQualifier value)
|
boolean |
isParsed()
Indicates if the role was generated from parsed source code. |
java.util.Iterator |
iteratorOfRevQualifiedRole()
|
void |
removeAllFromRevQualifiedRole()
No comment provided by developer, please add a comment to improve documentation. |
private void |
removeCard()
No comment provided by developer, please add a comment to improve documentation. |
boolean |
removeFromRevQualifiedRole(FQualifier value)
|
private void |
removeQualifier()
No comment provided by developer, please add a comment to improve documentation. |
private void |
removeRevLeftRole()
No comment provided by developer, please add a comment to improve documentation. |
private void |
removeRevRightRole()
No comment provided by developer, please add a comment to improve documentation. |
private void |
removeTarget()
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 |
setAdornment(int adornment)
Sets the adornment attribute of the UMLRole object, one of {None, Aggregation, Composition, Reference, Qualified} |
boolean |
setAssociatedAttribute(UMLAttr value)
UMLMethod: '+ setAssociatedAttribute (value: UMLAttr): Boolean'. |
void |
setCard(FCardinality card)
Sets the card attribute of the UMLRole object |
void |
setName(java.lang.String name)
Sets the name attribute of the UMLRole object |
void |
setParsed(boolean parsed)
Indicate that the role was generated from parsed source code. |
void |
setQualifier(FQualifier qualifier)
Sets the qualifier attribute of the UMLRole object |
void |
setRevLeftRole(FAssoc revLeftRole)
Sets the revLeftRole attribute of the UMLRole object |
void |
setRevRightRole(FAssoc revRightRole)
Sets the revRightRole attribute of the UMLRole object |
void |
setRevRoles(FClass target)
Sets the revRoles attribute of the UMLRole object |
void |
setSortedComparator(java.lang.String comparator)
Sets the sortedComparator attribute of the UMLAssoc object |
void |
setTarget(FClass target)
Sets the target attribute of the UMLRole object |
void |
setUmlVisibility(int newUmlVisibility)
Sets the umlVisibility attribute of the UMLRole object |
int |
sizeOfRevQualifiedRole()
|
java.lang.String |
toString()
|
| 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.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 int ADD_METHOD
public static final int REMOVE_METHOD
private java.lang.String name
private int umlVisibility
private int adornment
FRole.NONE,
FRole.AGGREGATION,
FRole.COMPOSITION,
FRole.REFERENCE,
FRole.QUALIFIEDprivate boolean parsed
private transient UMLClass target
private UMLAssoc revLeftRole
private UMLAssoc revRightRole
private UMLCardinality card
private UMLQualifier qualifier
private transient de.upb.tools.fca.FHashSet revQualifiedRole
n qualifiedRole 0..1
UMLQualifier ------------------------------------- UMLRole
revQualifiedRole qualifiedRole
private java.lang.String sortedComparator
private UMLAttr associatedAttribute
0..1 0..1
UMLAttr ------------------------------------------------ UMLRole
associatedAttribute implementingAssocRole
| Constructor Detail |
public UMLRole()
public UMLRole(java.lang.String name,
UMLClass target,
java.lang.String cardString)
name - No description providedtarget - No description providedcardString - No description provided
public UMLRole(java.lang.String name,
int adornment,
UMLClass target,
UMLQualifier qualifier,
UMLCardinality card,
int visibility,
UMLAssoc revLeftRole,
UMLAssoc revRightRole)
name - No description providedadornment - No description providedtarget - No description providedqualifier - No description providedcard - No description providedvisibility - No description providedrevLeftRole - No description providedrevRightRole - No description provided| Method Detail |
protected java.lang.String createUnparseModuleName()
createUnparseModuleName in class ASGElementpublic 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 getUmlVisibility()
getUmlVisibility in interface FRolepublic void setUmlVisibility(int newUmlVisibility)
setUmlVisibility in interface FRolenewUmlVisibility - The new umlVisibility valuepublic int getAdornment()
getAdornment in interface FRoleFRole.NONE,
FRole.AGGREGATION,
FRole.COMPOSITION,
FRole.REFERENCE,
FRole.QUALIFIEDpublic void setAdornment(int adornment)
setAdornment in interface FRoleadornment - The new adornment valueFRole.NONE,
FRole.AGGREGATION,
FRole.COMPOSITION,
FRole.REFERENCE,
FRole.QUALIFIEDpublic void setParsed(boolean parsed)
setParsed in interface FRoleparsed - true, if the role was generated from parsed source codepublic boolean isParsed()
isParsed in interface FRolepublic UMLClass getTarget()
public FClass getFTarget()
getFTarget in interface FRolepublic void setTarget(FClass target)
setTarget in interface FRoletarget - The new target valuepublic void setRevRoles(FClass target)
setRevRoles in interface FRoletarget - The new revRoles valuepublic UMLClass getRevRoles()
public FClass getFRevRoles()
getFRevRoles in interface FRoleprivate final void removeTarget()
public UMLAssoc getRevLeftRole()
public void setRevLeftRole(FAssoc revLeftRole)
revLeftRole - The new revLeftRole valueprivate final void removeRevLeftRole()
public UMLAssoc getRevRightRole()
public void setRevRightRole(FAssoc revRightRole)
revRightRole - The new revRightRole valueprivate final void removeRevRightRole()
public UMLCardinality getCard()
public FCardinality getFCard()
getFCard in interface FRolepublic void setCard(FCardinality card)
setCard in interface FRolecard - The new card valueprivate final void removeCard()
public UMLQualifier getQualifier()
public FQualifier getFQualifier()
getFQualifier in interface FRolepublic void setQualifier(FQualifier qualifier)
setQualifier in interface FRolequalifier - The new qualifier valueprivate final void removeQualifier()
public boolean hasInRevQualifiedRole(FQualifier value)
hasInRevQualifiedRole in interface FRolevalue - No description provided
public java.util.Iterator iteratorOfRevQualifiedRole()
iteratorOfRevQualifiedRole in interface FRolepublic int sizeOfRevQualifiedRole()
sizeOfRevQualifiedRole in interface FRolepublic boolean addToRevQualifiedRole(FQualifier value)
addToRevQualifiedRole in interface FRolevalue - The object added.
public boolean removeFromRevQualifiedRole(FQualifier value)
removeFromRevQualifiedRole in interface FRolevalue - No description provided
public void removeAllFromRevQualifiedRole()
removeAllFromRevQualifiedRole in interface FRolepublic UMLAssoc getAssoc()
public FAssoc getFAssoc()
getFAssoc in interface FRolepublic UMLRole getPartnerRole()
public FRole getFPartnerRole()
getFPartnerRole in interface FRolepublic java.lang.String getAttrName()
getAttrName in interface FRolepublic java.lang.String getSortedComparator()
getSortedComparator in interface FRolepublic void setSortedComparator(java.lang.String comparator)
comparator - The new sortedComparator valuepublic void removeYou()
removeYou in interface FElementremoveYou in class UMLIncrementpublic FElement getParentElement()
getParentElement in interface FElementgetParentElement in class ASGElementpublic java.lang.String toString()
public boolean setAssociatedAttribute(UMLAttr value)
value - The new associatedAttribute value
public UMLAttr getAssociatedAttribute()
public FAttr getFAssociatedAttribute()
getFAssociatedAttribute in interface FRole
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||