Class Diagrams

In one:

Missing from the above diagram is Aggregation and Composition, which is represented with a diamond, filled or not:

If the Invoice can live independently of Client, then it's just a composition. If the Invoice is in charge of the lifespan of the LineItem, it is an Aggregate.

Client <>-> Invoice <#>-> LineItem

Combined Device, Component and Class UML Diagram BasicsDeviceDeployment ArtifactComponent AComponent BInterfaceClassSubClassDependencyElementSubItemServicerealisesgeneralisesmanagesdepends oncomposedofconsumes