repositories
/
Persons_Comparator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Structure the code to respect MVC design pattern.
[Persons_Comparator.git]
/
src
/
EyeView.java
diff --git a/src/EyeView.java
b/src/EyeView.java
new file mode 100644
(file)
index 0000000..
06de469
--- /dev/null
+++ b/
src/EyeView.java
@@ -0,0
+1,15
@@
+public class EyeView {
+ private Eye eyeObj;
+
+ EyeView(Eye eyeObj) {
+ setEyeObj(eyeObj);
+ }
+
+ public Eye getEyeObj() {
+ return eyeObj;
+ }
+
+ public void setEyeObj(Eye eyeObj) {
+ this.eyeObj = eyeObj;
+ }
+}