Showing posts with label UML. Show all posts
Showing posts with label UML. Show all posts

2/11/2009

Update the Bouml form 4.4-1 to 4.10 in Ubuntu 8.10

1 add source of bouml
deb http://download.tuxfamily.org/arakhne/ubuntu intrepid-arakhne universe

2 add pulic key
The packages are signed by a GPG public key. You must add this key into your apt key list to avoid warnings. To proceed use one of the following methods:

1. Download the public key from the download area and add it into the apt key list:

wget -q http://download.tuxfamily.org/arakhne/public.key -O- | sudo apt-key add -

2. Import the public key into your local key repository:

$> gpg --keyserver www.keyserver.net --recv-keys 0xBA62BC7E
gt; gpg --keyserver www.keyserver.net --recv-keys 0xBA62BC7E

or

$> gpg --keyserver keyserver.mobrien.net --recv-keys 0xBA62BC7E
gt; gpg --keyserver keyserver.mobrien.net --recv-keys 0xBA62BC7E

Add the imported public key into the apt key list:

$> gpg --export -a 0xBA62BC7E | sudo apt-key add -
gt; gpg --export -a 0xBA62BC7E | sudo apt-key add -
3 update by apt-get

8/09/2008

The relationship of class in UML

In theUML, a class diagram is a type of static structure diagram that describes the structure of a system by showing the system's classes, their attributes, and the relationships between the classes.

  • Instance Level Relationships have Association, Aggregation and Composition.
    Composition is a special form of aggregation where in each part may belong to only one whole at a time. When the whole is destroyed, so are its parts. Aggregation is a special form of association as well that specifies a whole-part relationship between the aggregate (whole) and a component part.You state an association at the class level.Association is An association between classes indicates that objects of one class may be related to objects of the other class
  • Class Level Relationships have generalization.
    The generalization relationship is also known as the inheritance or "is a" relationship.
  • General Relationship have dependency.
    A dependency exists between two defined elements if a change to the definition of one would result in a change to the other. A dependency can be between instances, classes, or both.
Note:In the class diagram, there the arrow always point to the supplier.