-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Booking model: getters, unittesting, javadoc. Added note model
- Loading branch information
1 parent
03f7f2c
commit d98f0b9
Showing
4 changed files
with
548 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
package bookingbugAPI.models; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
/** | ||
* Created by User on 20.05.2016. | ||
*/ | ||
public class Notes { | ||
@JsonProperty("private") | ||
private String[] privateNotes; | ||
@JsonProperty("public") | ||
private String[] publicNotes; | ||
|
||
/** | ||
* Returns public notes. | ||
* | ||
* @return The private notes associated with the Note Object | ||
*/ | ||
public String[] getPublicNotes() { | ||
return publicNotes; | ||
} | ||
|
||
/** | ||
* Returns the private notes. | ||
* | ||
* @return The private notes associated with the Note Object | ||
*/ | ||
public String[] getPrivateNotes() { | ||
return privateNotes; | ||
} | ||
} |
Oops, something went wrong.