Upload
linette-williamson
View
214
Download
1
Embed Size (px)
Citation preview
© 2010 DH KHTN.
Stability
UML!Classname = “book”
description = “demo”Transform
Java!Classname = “book”comment = “”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”comment = “”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”comment = “”
Synchronize
If no model is modified, the synchronized models are not modified.
© 2010 DH KHTN.
Preservation
UML!Classname = “book”
description = “demo”Transform
Java!Classname = “book”comment = “”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”
comment = “persistent”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”
comment = “persistent”
Synchronize
Modifications on both sides should be kept.
© 2010 DH KHTN.
Propagation
UML!Classname = “book”
description = “demo”Transform
Java!Classname = “book”comment = “”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”comment = “”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”comment = “”
Synchronize
publication
publicationpublication
The modifications should be propagated to the other side if necessary.
© 2010 DH KHTN.
Composibility – Step 1
UML!Classname = “book”
description = “demo”Transform
Java!Classname = “book”comment = “”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”comment = “”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”comment = “”
Synchronize
publicationpublication
publication
A series of modifications have the same effect regardless of whether is applied once or is applied incrementally
© 2010 DH KHTN.
Composibility – Step 2
UML!Classname = “book”
description = “demo”
Java!Classname = “book”comment = “”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”
comment = “persistent”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”
comment = “persistent”
Synchronize
publicationpublication
publication
publicationpublication
A series of modifications have the same effect regardless of whether is applied once or is applied incrementally
© 2010 DH KHTN.
Composibility - Composed
UML!Classname = “book”
description = “demo”Transform
Java!Classname = “book”comment = “”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”
comment = “persistent”
UML!Classname = “book”
description = “demo”
Java!Classname = “book”
comment = “persistent”
Synchronize
publicationpublication
publication
A series of modifications have the same effect regardless of whether is applied once or is applied incrementally