Skip to content

Commit 1d5a0b0

Browse files
authored
refactoring: Rename presentation to presentation model (iluwatar#2291)
* Rename presentation to presentation-model * Rename image * Rename UML diagram * Rename presentation to presentation-model * Rename package to presentationmodel * Rename module reference in pom.xml
1 parent 4388a4a commit 1d5a0b0

File tree

16 files changed

+15
-15
lines changed

16 files changed

+15
-15
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@
208208
<module>model-view-viewmodel</module>
209209
<module>composite-entity</module>
210210
<module>table-module</module>
211-
<module>presentation</module>
211+
<module>presentation-model</module>
212212
<module>lockable-object</module>
213213
<module>fanout-fanin</module>
214214
<module>domain-model</module>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Presentation
2+
title: Presentation Model
33
category: Behavioral
44
language: en
55
tags:
@@ -173,7 +173,7 @@ We can run class `App` to start this demo. the checkbox is the album classical;
173173

174174

175175
## Class diagram
176-
![](./etc/presentation.urm.png "presentation model")
176+
![](./etc/presentation-model.urm.png "presentation model")
177177

178178
## Applicability
179179
Use the Presentation Model Pattern when
File renamed without changes.

presentation/etc/presentation.urm.puml renamed to presentation-model/etc/presentation-model.urm.puml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@startuml
2-
package com.iluwatar.presentation {
2+
package com.iluwatar.presentationmodel {
33
class Album {
44
~ artist : String
55
~ composer : String
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
<configuration>
5353
<archive>
5454
<manifest>
55-
<mainClass>com.iluwatar.presentation.App</mainClass>
55+
<mainClass>com.iluwatar.presentationmodel.App</mainClass>
5656
</manifest>
5757
</archive>
5858
</configuration>

presentation/src/main/java/com/iluwatar/presentation/Album.java renamed to presentation-model/src/main/java/com/iluwatar/presentationmodel/Album.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2323
* THE SOFTWARE.
2424
*/
25-
package com.iluwatar.presentation;
25+
package com.iluwatar.presentationmodel;
2626

2727
import lombok.AllArgsConstructor;
2828
import lombok.Getter;

presentation/src/main/java/com/iluwatar/presentation/App.java renamed to presentation-model/src/main/java/com/iluwatar/presentationmodel/App.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2323
* THE SOFTWARE.
2424
*/
25-
package com.iluwatar.presentation;
25+
package com.iluwatar.presentationmodel;
2626

2727
import lombok.extern.slf4j.Slf4j;
2828

presentation/src/main/java/com/iluwatar/presentation/DisplayedAlbums.java renamed to presentation-model/src/main/java/com/iluwatar/presentationmodel/DisplayedAlbums.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2323
* THE SOFTWARE.
2424
*/
25-
package com.iluwatar.presentation;
25+
package com.iluwatar.presentationmodel;
2626

2727
import java.util.ArrayList;
2828
import java.util.List;

presentation/src/main/java/com/iluwatar/presentation/PresentationModel.java renamed to presentation-model/src/main/java/com/iluwatar/presentationmodel/PresentationModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2323
* THE SOFTWARE.
2424
*/
25-
package com.iluwatar.presentation;
25+
package com.iluwatar.presentationmodel;
2626

2727
import lombok.extern.slf4j.Slf4j;
2828

0 commit comments

Comments
 (0)