Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
broken-petclinic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
s61200
broken-petclinic
Commits
05e891ce
Commit
05e891ce
authored
7 years ago
by
Aditya Ketkar
Committed by
Dave Syer
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Removed redundant javadoc comments
parent
fa3b7f9a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/springframework/samples/petclinic/visit/Visit.java
+6
-39
6 additions, 39 deletions
...va/org/springframework/samples/petclinic/visit/Visit.java
with
6 additions
and
39 deletions
src/main/java/org/springframework/samples/petclinic/visit/Visit.java
+
6
−
39
View file @
05e891ce
...
@@ -37,24 +37,16 @@ import org.springframework.samples.petclinic.model.BaseEntity;
...
@@ -37,24 +37,16 @@ import org.springframework.samples.petclinic.model.BaseEntity;
@Table
(
name
=
"visits"
)
@Table
(
name
=
"visits"
)
public
class
Visit
extends
BaseEntity
{
public
class
Visit
extends
BaseEntity
{
/**
* Holds value of property date.
*/
@Column
(
name
=
"visit_date"
)
@Column
(
name
=
"visit_date"
)
@Temporal
(
TemporalType
.
TIMESTAMP
)
@Temporal
(
TemporalType
.
TIMESTAMP
)
@DateTimeFormat
(
pattern
=
"yyyy/MM/dd"
)
@DateTimeFormat
(
pattern
=
"yyyy/MM/dd"
)
private
Date
date
;
private
Date
date
;
/**
* Holds value of property description.
*/
@NotEmpty
@NotEmpty
@Column
(
name
=
"description"
)
@Column
(
name
=
"description"
)
private
String
description
;
private
String
description
;
/**
* Holds value of property pet.
*/
@Column
(
name
=
"pet_id"
)
@Column
(
name
=
"pet_id"
)
private
Integer
petId
;
private
Integer
petId
;
...
@@ -67,56 +59,31 @@ public class Visit extends BaseEntity {
...
@@ -67,56 +59,31 @@ public class Visit extends BaseEntity {
}
}
/**
* Getter for property date.
*
* @return Value of property date.
*/
public
Date
getDate
()
{
public
Date
getDate
()
{
return
this
.
date
;
return
this
.
date
;
}
}
/**
* Setter for property date.
*
* @param date New value of property date.
*/
public
void
setDate
(
Date
date
)
{
public
void
setDate
(
Date
date
)
{
this
.
date
=
date
;
this
.
date
=
date
;
}
}
/**
* Getter for property description.
*
* @return Value of property description.
*/
public
String
getDescription
()
{
public
String
getDescription
()
{
return
this
.
description
;
return
this
.
description
;
}
}
/**
* Setter for property description.
*
* @param description New value of property description.
*/
public
void
setDescription
(
String
description
)
{
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
this
.
description
=
description
;
}
}
/**
* Getter for property pet id.
*
* @return Value of property pet id.
*/
public
Integer
getPetId
()
{
public
Integer
getPetId
()
{
return
this
.
petId
;
return
this
.
petId
;
}
}
/**
* Setter for property pet id.
*
* @param petId New value of property pet id.
*/
public
void
setPetId
(
Integer
petId
)
{
public
void
setPetId
(
Integer
petId
)
{
this
.
petId
=
petId
;
this
.
petId
=
petId
;
}
}
...
...
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