refactoring: Rename presentation to presentation model (#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
This commit is contained in:
Sudarsan Balaji
2022-11-08 18:58:24 +00:00
committed by GitHub
parent 4388a4ac92
commit 1d5a0b07c1
16 changed files with 15 additions and 15 deletions
+1 -1
View File
@@ -208,7 +208,7 @@
<module>model-view-viewmodel</module>
<module>composite-entity</module>
<module>table-module</module>
<module>presentation</module>
<module>presentation-model</module>
<module>lockable-object</module>
<module>fanout-fanin</module>
<module>domain-model</module>
@@ -1,5 +1,5 @@
---
title: Presentation
title: Presentation Model
category: Behavioral
language: en
tags:
@@ -173,7 +173,7 @@ We can run class `App` to start this demo. the checkbox is the album classical;
## Class diagram
![](./etc/presentation.urm.png "presentation model")
![](./etc/presentation-model.urm.png "presentation model")
## Applicability
Use the Presentation Model Pattern when

Before

Width:  |  Height:  |  Size: 121 KiB

After

Width:  |  Height:  |  Size: 121 KiB

@@ -1,5 +1,5 @@
@startuml
package com.iluwatar.presentation {
package com.iluwatar.presentationmodel {
class Album {
~ artist : String
~ composer : String

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

@@ -52,7 +52,7 @@
<configuration>
<archive>
<manifest>
<mainClass>com.iluwatar.presentation.App</mainClass>
<mainClass>com.iluwatar.presentationmodel.App</mainClass>
</manifest>
</archive>
</configuration>
@@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.iluwatar.presentation;
package com.iluwatar.presentationmodel;
import lombok.AllArgsConstructor;
import lombok.Getter;
@@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.iluwatar.presentation;
package com.iluwatar.presentationmodel;
import lombok.extern.slf4j.Slf4j;
@@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.iluwatar.presentation;
package com.iluwatar.presentationmodel;
import java.util.ArrayList;
import java.util.List;
@@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.iluwatar.presentation;
package com.iluwatar.presentationmodel;
import lombok.extern.slf4j.Slf4j;
@@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.iluwatar.presentation;
package com.iluwatar.presentationmodel;
import java.awt.TextField;
import java.awt.event.MouseAdapter;
@@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.iluwatar.presentation;
package com.iluwatar.presentationmodel;
import org.junit.jupiter.api.Test;
@@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.iluwatar.presentation;
package com.iluwatar.presentationmodel;
import org.junit.jupiter.api.Test;
@@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.iluwatar.presentation;
package com.iluwatar.presentationmodel;
import org.junit.jupiter.api.Test;
@@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.iluwatar.presentation;
package com.iluwatar.presentationmodel;
import org.junit.jupiter.api.Test;
@@ -22,7 +22,7 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.iluwatar.presentation;
package com.iluwatar.presentationmodel;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertEquals;