Actualizar Ingenieria de Software/comsite diagrama.puml
This commit is contained in:
@@ -30,4 +30,29 @@ package RealWorldExample{
|
|||||||
Program -l-> DrawingElement: " "
|
Program -l-> DrawingElement: " "
|
||||||
CompositeElement "1" o-l--- "*" PrimitiveElement: " "
|
CompositeElement "1" o-l--- "*" PrimitiveElement: " "
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
package basico {
|
||||||
|
|
||||||
|
class Leaf extends Component
|
||||||
|
|
||||||
|
class Composite {
|
||||||
|
+ Operation()
|
||||||
|
+ Add(Component)
|
||||||
|
+ Remove(Component)
|
||||||
|
+ GetChildren(index): Component
|
||||||
|
}
|
||||||
|
|
||||||
|
class Component {
|
||||||
|
+ Operation()
|
||||||
|
+ Add(Component)
|
||||||
|
+ Remove(Component)
|
||||||
|
+ GetChildren(index): Component
|
||||||
|
}
|
||||||
|
|
||||||
|
Composite "1" o-l- "*" Component: Children
|
||||||
|
Composite -u-|> Component
|
||||||
|
class Client
|
||||||
|
Client -r-> Component
|
||||||
|
}
|
||||||
@enduml
|
@enduml
|
||||||
Reference in New Issue
Block a user