\begin{figure}[!h]
\label{uml_classes}
\begin{center}

\begin{psmatrix}[rowsep=1,colsep=1]
[name=classA] \umlClass{\scriptsize Person}{
	\scriptsize name : String \\
	\hline
	\scriptsize getName() : String
} \\[5pt]
[name=classB] \umlClass{\scriptsize Employee}{\scriptsize
	\scriptsize salary : int \\
	\hline
	\scriptsize getSalary() : int
} 
\nccurve[angleA=-90,angleB=90]{classA}{classB}
\ncput[nrot=:U,npos=0.8]{}
\ncputicon{umlHerit}
\end{psmatrix}

\end{center}
\caption{UML class diagram: class \code{Employee} inherits from class \code{Person}}
\end{figure}
