|
|||||||||||
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. |
static int |
REMOVE_METHOD
Deprecated. |
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. |
boolean |
removeFromRevQualifiedRole(FQualifier value)
|
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
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 providedpublic 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 providedMethod Detail |
protected java.lang.String createUnparseModuleName()
createUnparseModuleName
in class ASGElement
public java.lang.String getName()
getName
in interface FElement
getName
in class ASGElement
public void setName(java.lang.String name)
setName
in interface FElement
setName
in class ASGElement
name
- The new name valuepublic int getUmlVisibility()
getUmlVisibility
in interface FRole
public void setUmlVisibility(int newUmlVisibility)
setUmlVisibility
in interface FRole
newUmlVisibility
- The new umlVisibility valuepublic int getAdornment()
getAdornment
in interface FRole
FRole.NONE
,
FRole.AGGREGATION
,
FRole.COMPOSITION
,
FRole.REFERENCE
,
FRole.QUALIFIED
public void setAdornment(int adornment)
setAdornment
in interface FRole
adornment
- The new adornment valueFRole.NONE
,
FRole.AGGREGATION
,
FRole.COMPOSITION
,
FRole.REFERENCE
,
FRole.QUALIFIED
public void setParsed(boolean parsed)
setParsed
in interface FRole
parsed
- true, if the role was generated from parsed source codepublic boolean isParsed()
isParsed
in interface FRole
public UMLClass getTarget()
public FClass getFTarget()
getFTarget
in interface FRole
public void setTarget(FClass target)
setTarget
in interface FRole
target
- The new target valuepublic void setRevRoles(FClass target)
setRevRoles
in interface FRole
target
- The new revRoles valuepublic UMLClass getRevRoles()
public FClass getFRevRoles()
getFRevRoles
in interface FRole
public UMLAssoc getRevLeftRole()
public void setRevLeftRole(FAssoc revLeftRole)
revLeftRole
- The new revLeftRole valuepublic UMLAssoc getRevRightRole()
public void setRevRightRole(FAssoc revRightRole)
revRightRole
- The new revRightRole valuepublic UMLCardinality getCard()
public FCardinality getFCard()
getFCard
in interface FRole
public void setCard(FCardinality card)
setCard
in interface FRole
card
- The new card valuepublic UMLQualifier getQualifier()
public FQualifier getFQualifier()
getFQualifier
in interface FRole
public void setQualifier(FQualifier qualifier)
setQualifier
in interface FRole
qualifier
- The new qualifier valuepublic boolean hasInRevQualifiedRole(FQualifier value)
hasInRevQualifiedRole
in interface FRole
value
- No description provided
public java.util.Iterator iteratorOfRevQualifiedRole()
iteratorOfRevQualifiedRole
in interface FRole
public int sizeOfRevQualifiedRole()
sizeOfRevQualifiedRole
in interface FRole
public boolean addToRevQualifiedRole(FQualifier value)
addToRevQualifiedRole
in interface FRole
value
- The object added.
public boolean removeFromRevQualifiedRole(FQualifier value)
removeFromRevQualifiedRole
in interface FRole
value
- No description provided
public void removeAllFromRevQualifiedRole()
removeAllFromRevQualifiedRole
in interface FRole
public UMLAssoc getAssoc()
public FAssoc getFAssoc()
getFAssoc
in interface FRole
public UMLRole getPartnerRole()
public FRole getFPartnerRole()
getFPartnerRole
in interface FRole
public java.lang.String getAttrName()
getAttrName
in interface FRole
public java.lang.String getSortedComparator()
getSortedComparator
in interface FRole
public void setSortedComparator(java.lang.String comparator)
comparator
- The new sortedComparator valuepublic void removeYou()
removeYou
in interface FElement
removeYou
in class UMLIncrement
public FElement getParentElement()
getParentElement
in interface FElement
getParentElement
in class ASGElement
public 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 |