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
de310c6d
Commit
de310c6d
authored
11 years ago
by
Goik Martin
Browse files
Options
Downloads
Patches
Plain Diff
Cosmetics
parent
2efab615
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ws/eclipse/HibIntro/src/main/java/component/address/Address.java
+4
-4
4 additions, 4 deletions
...pse/HibIntro/src/main/java/component/address/Address.java
ws/eclipse/HibIntro/src/main/java/component/email/Email.java
+11
-11
11 additions, 11 deletions
ws/eclipse/HibIntro/src/main/java/component/email/Email.java
with
15 additions
and
15 deletions
ws/eclipse/HibIntro/src/main/java/component/address/Address.java
+
4
−
4
View file @
de310c6d
...
...
@@ -5,8 +5,8 @@ import javax.persistence.Embeddable;
@Embeddable
public
class
Address
{
private
String
street
;
public
String
getStreet
()
{
return
street
;}
private
String
street
;
public
String
getStreet
()
{
return
street
;}
public
void
setStreet
(
String
street
)
{
this
.
street
=
street
;}
private
String
city
;
...
...
@@ -16,9 +16,9 @@ public class Address {
private
String
zipcode
;
public
String
getZipcode
()
{
return
zipcode
;}
public
void
setZipcode
(
String
zipcode
)
{
this
.
zipcode
=
zipcode
;}
protected
Address
()
{}
public
Address
(
final
String
street
,
final
String
city
,
final
String
zipcode
)
{
setStreet
(
street
);
setCity
(
city
);
...
...
This diff is collapsed.
Click to expand it.
ws/eclipse/HibIntro/src/main/java/component/email/Email.java
+
11
−
11
View file @
de310c6d
...
...
@@ -5,15 +5,15 @@ import javax.persistence.Embeddable;
@Embeddable
public
class
Email
{
private
String
emailAddress
;
public
String
getEmailAddress
()
{
return
emailAddress
;}
public
void
setEmailAddress
(
final
String
emailAddress
)
{
this
.
emailAddress
=
emailAddress
;}
private
String
emailAddress
;
public
String
getEmailAddress
()
{
return
emailAddress
;}
public
void
setEmailAddress
(
final
String
emailAddress
)
{
this
.
emailAddress
=
emailAddress
;}
protected
Email
()
{}
public
Email
(
final
String
emailAddress
)
{
setEmailAddress
(
emailAddress
);
}
void
sendEmail
(
final
String
subject
,
final
String
content
)
{
//Not yet implemented
}
}
protected
Email
()
{}
public
Email
(
final
String
emailAddress
)
{
setEmailAddress
(
emailAddress
);
}
void
sendEmail
(
final
String
subject
,
final
String
content
)
{
//Not yet implemented
}
}
\ No newline at end of file
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