Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GoikLectures
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Goik Martin
GoikLectures
Commits
60a4919b
Commit
60a4919b
authored
10 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Missing (previously unversioned?) class added
parent
cb5587e3
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
P/Sda2/Jpa/University/src/main/java/de/hdm_stuttgart/mi/sda2/jpa/cd/domain/Address.java
+48
-0
48 additions, 0 deletions
.../java/de/hdm_stuttgart/mi/sda2/jpa/cd/domain/Address.java
with
48 additions
and
0 deletions
P/Sda2/Jpa/University/src/main/java/de/hdm_stuttgart/mi/sda2/jpa/cd/domain/Address.java
0 → 100644
+
48
−
0
View file @
60a4919b
package
de.hdm_stuttgart.mi.sda2.jpa.cd.domain
;
import
javax.persistence.Embeddable
;
@SuppressWarnings
(
"javadoc"
)
@Embeddable
public
class
Address
{
protected
Address
(){}
String
street
,
town
,
zip
;
public
Address
(
final
String
street
,
final
String
town
,
final
String
zip
)
{
setStreet
(
street
);
setTown
(
town
);
setZip
(
zip
);
}
public
String
getStreet
()
{
return
street
;
}
public
void
setStreet
(
String
street
)
{
this
.
street
=
street
;
}
public
String
getTown
()
{
return
town
;
}
public
void
setTown
(
String
town
)
{
this
.
town
=
town
;
}
public
String
getZip
()
{
return
zip
;
}
public
void
setZip
(
String
zip
)
{
this
.
zip
=
zip
;
}
@Override
public
String
toString
()
{
return
getStreet
()
+
", "
+
getZip
()
+
" "
+
getTown
();
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment