Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2XB3FinalProject
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Insights
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
Christopher Schankula
2XB3FinalProject
Commits
5ea31b4d
Commit
5ea31b4d
authored
7 years ago
by
Ray
Browse files
Options
Downloads
Patches
Plain Diff
Added documentation for record
parent
100efdf6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/record/Record.java
+68
-13
68 additions, 13 deletions
src/record/Record.java
with
68 additions
and
13 deletions
src/record/Record.java
+
68
−
13
View file @
5ea31b4d
...
...
@@ -18,7 +18,9 @@ public class Record {
private
final
int
minute
;
/**
* Initialize Record abstract object
*/
public
Record
(
int
eventId
,
String
occurId
,
int
speciesId
,
int
count
,
float
latitude
,
float
longitude
,
String
locality
,
int
depth
,
int
year
,
int
month
,
int
day
,
int
hour
,
int
minute
)
{
this
.
eventId
=
eventId
;
this
.
occurId
=
occurId
;
...
...
@@ -38,63 +40,116 @@ public class Record {
}
/**
* Gets the event ID
*
* @return The eventid of the object
*/
public
int
getEventId
()
{
return
eventId
;
}
/**
* Gets the occurrence ID
*
* @return The occurence ID of the object
*/
public
String
getOccurId
()
{
return
occurId
;
}
/**
* Gets the species ID
*
* @return The species ID of the object
*/
public
int
getSpeciesId
()
{
return
speciesId
;
}
/**
* Gets the count of the object
*
* @return The count of the object
*/
public
int
getCount
()
{
return
count
;
}
/**
* Gets latitude of the object
*
* @return The latitude of the object
*/
public
float
getLatitude
()
{
return
latitude
;
}
/**
* Gets longitude of the object
*
* @return The longitude of the object
*/
public
float
getLongitude
()
{
return
longitude
;
}
/**
* Gets locality of the object
*
* @return The locality of the object
*/
public
String
getLocality
()
{
return
locality
;
}
/**
* Gets Depth of the object
*
* @return The depth of the object
*/
public
int
getDepth
()
{
return
depth
;
}
/**
* Gets year of the object
*
* @return The year of the object
*/
public
int
getYear
()
{
return
year
;
}
/**
* Gets month of the object
*
* @return The month of the object
*/
public
int
getMonth
()
{
return
month
;
}
/**
* Gets day of the object
*
* @return The day of the object
*/
public
int
getDay
()
{
return
day
;
}
/**
* Gets hour of the object
*
* @return The hour of the object
*/
public
int
getHour
()
{
return
hour
;
}
/**
* Gets minute of the object
*
* @return The minute of the object
*/
public
int
getMinute
()
{
return
minute
;
}
...
...
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