Created
December 17, 2011 03:39
-
-
Save nthx/1489059 to your computer and use it in GitHub Desktop.
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
/** @@pat.transaction */ | |
public void prolongCopy(Copy copy, DateRepresentation newReturnDate) | |
{ | |
copy.returnDate = newReturnDate; | |
} | |
public Copy getCopyById(Long id) { | |
return (Copy) copies.get(id); //copies is java.util.Map | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment