Skip to content

Commit

Permalink
Don't use 'subclass' in favor of 'derived class'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Dec 9, 2020
1 parent af75b7f commit ee607be
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions chapters/annotations.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1528,10 +1528,10 @@ \section{Annotations for the Graphical User Interface}\label{annotations-for-the
\end{lstlisting}
\end{enumerate}

These rules also apply if the connectors and/or components are
defined in superclass. \emph{Example:} Assume that \lstinline!step1! is defined in
superclass \lstinline!CompositeStep! with 3 connections, and a new connection is
performed in a subclass. The result is:
These rules also apply if the connectors and/or components are defined in superclass.

\emph{Example:} Assume that \lstinline!step1! is defined in superclass \lstinline!CompositeStep! with 3 connections, and a new connection is performed in a derived class.
The result is:
\begin{lstlisting}[language=modelica]
extends CompositeStep(step1(nIn=4)); // new modifier nIn=4
equation
Expand Down

0 comments on commit ee607be

Please sign in to comment.