repositories
/
Persons_Comparator.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Structure the code to respect MVC design pattern.
[Persons_Comparator.git]
/
src
/
OriginView.java
1
public class
OriginView
{
2
private
Origin originObj
;
3
4
OriginView
(
Origin originObj
) {
5
setOriginObj
(
originObj
);
6
}
7
8
public
Origin
getOriginObj
() {
9
return
originObj
;
10
}
11
12
public void
setOriginObj
(
Origin originObj
) {
13
this
.
originObj
=
originObj
;
14
}
15
}