Command \umlassocclass#

Drawing an association class is very easy with TikZ-UML. It is just a class and a dependency between this class and a built point of another relation. The \umlassocclass makes it for you:

\umlemptyclass{A}
\umlemptyclass[x=6, y=-3]{B}

\umlHVassoc[name=assoc, attr=t|*, pos=1.9]{A}{B}
\umlassocclass[geometry=|-|, x=2, y=-3]{C}{assoc-1}{}{}

Figure made with TikZ

Figure made with TikZ

As the command is like a class and a relation, you can use the following options: x, y, width (default is 10ex), type (default is class), template coming from the \umlclass command, and name, geometry (default is - -), weight, arm, anchor1, anchor2, and anchors coming from the \umlrelationship command.