uci.uml.Foundation.Core
Class Association
java.lang.Object
|
+--uci.uml.Foundation.Core.ElementImpl
|
+--uci.uml.Foundation.Core.ModelElementImpl
|
+--uci.uml.Foundation.Core.NamespaceImpl
|
+--uci.uml.Foundation.Core.GeneralizableElementImpl
|
+--uci.uml.Foundation.Core.Association
- Direct Known Subclasses:
- AssociationRole
- public class Association
- extends GeneralizableElementImpl
- implements IAssociation
By default, Associations are in the same Namespace as their source
Classifier
- See Also:
- Serialized Form
| Fields inherited from class uci.uml.Foundation.Core.ModelElementImpl |
_behavior,
_collaboration,
_constraint,
_elementOwnership,
_elementReference,
_provision,
_requirement,
_stereotype,
_taggedValue,
_template,
_templateParameter,
MAX_STEREOTYPE |
|
Constructor Summary |
Association()
|
Association(Classifier srcC,
Classifier dstC)
|
Association(Name name)
|
Association(Name name,
Name srcN,
Classifier srcC,
Multiplicity srcM,
AggregationKind srcA,
Name dstN,
Classifier dstC,
Multiplicity dstM,
AggregationKind dstA)
|
Association(String nameStr)
|
Association(String nameStr,
AssociationEnd from,
AssociationEnd to)
|
| Methods inherited from class uci.uml.Foundation.Core.GeneralizableElementImpl |
addGeneralization,
addSpecialization,
alsoTrash,
getGeneralization,
getIsAbstract,
getIsLeaf,
getIsRoot,
getSpecialization,
removeGeneralization,
removeSpecialization,
setGeneralization,
setIsAbstract,
setIsLeaf,
setIsRoot,
setSpecialization |
| Methods inherited from class uci.uml.Foundation.Core.NamespaceImpl |
addOwnedElement,
addPrivateOwnedElement,
addProtectedOwnedElement,
addPublicOwnedElement,
addUnspecOwnedElement,
contains,
contains,
containsPublic,
elementOwnershipFor,
findElementNamed,
getModelElements,
getOwnedElement,
removeOwnedElement,
setOwnedElement |
| Methods inherited from class uci.uml.Foundation.Core.ModelElementImpl |
addBehavior,
addConstraint,
addElementReference,
addProvision,
addRequirement,
addStereotype,
addTemplateParameter,
containsStereotype,
dbgStereotypes,
dbgTaggedValues,
getBehavior,
getConstraint,
getElementOwnership,
getElementReference,
getNamespace,
getProvision,
getRequirement,
getStereotype,
getTemplate,
getTemplateParameter,
getVisibility,
isLegalXMI,
isNotLegalXMI,
removeBehavior,
removeConstraint,
removeElementReference,
removeProvision,
removeRequirement,
removeStereotype,
removeTemplateParameter,
setBehavior,
setConstraint,
setElementOwnership,
setElementReference,
setNamespace,
setProvision,
setRequirement,
setStereotype,
setTemplate,
setTemplateParameter,
setVisibility |
| Methods inherited from class uci.uml.Foundation.Core.ElementImpl |
addCharacteristic,
addPropertyChangeListener,
addTaggedValue,
addVetoableChangeListener,
firePropertyChange,
firePropertyChange,
firePropertyChange,
firePropertyChangeNoCritique,
firePropertyChangeNoCritique,
fireVetoableChange,
fireVetoableChange,
fireVetoableChange,
fireVetoableChangeNoCompare,
getCharacteristic,
getClassification,
getElementCount,
getHighlight,
getId,
getName,
getNamedProperty,
getOCLTypeStr,
getTaggedValue,
getVetoListeners,
newElementID,
removeCharacteristic,
removePropertyChangeListener,
removeTaggedValue,
removeVetoableChangeListener,
setCharacteristic,
setClassification,
setElementCount,
setHighlight,
setId,
setName,
setName,
setStaticChangeListener,
setTaggedValue,
toString |
_connection
public Vector _connection
_link
public Vector _link
Association
public Association()
Association
public Association(Name name)
Association
public Association(String nameStr)
Association
public Association(String nameStr,
AssociationEnd from,
AssociationEnd to)
Association
public Association(Name name,
Name srcN,
Classifier srcC,
Multiplicity srcM,
AggregationKind srcA,
Name dstN,
Classifier dstC,
Multiplicity dstM,
AggregationKind dstA)
Association
public Association(Classifier srcC,
Classifier dstC)
getConnection
public Vector getConnection()
- Specified by:
- getConnection in interface IAssociation
setConnection
public void setConnection(Vector x)
throws PropertyVetoException
- Specified by:
- setConnection in interface IAssociation
addConnection
public void addConnection(AssociationEnd x)
throws PropertyVetoException
- Specified by:
- addConnection in interface IAssociation
removeConnection
public void removeConnection(AssociationEnd x)
throws PropertyVetoException
- Specified by:
- removeConnection in interface IAssociation
getLink
public Vector getLink()
- Specified by:
- getLink in interface IAssociation
setLink
public void setLink(Vector x)
throws PropertyVetoException
- Specified by:
- setLink in interface IAssociation
addLink
public void addLink(Link x)
throws PropertyVetoException
- Specified by:
- addLink in interface IAssociation
removeLink
public void removeLink(Link x)
throws PropertyVetoException
- Specified by:
- removeLink in interface IAssociation
hasCompositeEnd
public boolean hasCompositeEnd()
- Specified by:
- hasCompositeEnd in interface IAssociation
hasAggregateEnd
public boolean hasAggregateEnd()
- Specified by:
- hasAggregateEnd in interface IAssociation
prepareForTrash
public Object prepareForTrash()
throws PropertyVetoException
- Overrides:
- prepareForTrash in class NamespaceImpl
recoverFromTrash
public void recoverFromTrash(Object momento)
throws PropertyVetoException
- Overrides:
- recoverFromTrash in class NamespaceImpl
dbgString
public String dbgString()
- Overrides:
- dbgString in class ElementImpl