Advertisement
Guest User

Untitled

a guest
Jan 4th, 2019
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. @PropertyGetter("value")
  2. public Object getValue(LabTestAttribute attribute) {
  3. try {
  4. return attribute.getValue();
  5. }
  6. catch (NotYetPersistedException ex) {
  7. return null;
  8. }
  9. }
  10.  
  11. @PropertySetter("value")
  12. public static void setValue(LabTestAttribute instance, Object value) {
  13. instance.setValue(value);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement