1 package org.hibernate.test.formulajoin; 3 4 import java.io.Serializable ; 5 6 9 public class Detail implements Serializable { 10 private Long id; 11 private Master master; 12 private int version; 13 private String details; 14 private boolean currentVersion; 15 16 public boolean isCurrentVersion() { 17 return currentVersion; 18 } 19 public void setCurrentVersion(boolean currentVersion) { 20 this.currentVersion = currentVersion; 21 } 22 public String getDetails() { 23 return details; 24 } 25 public void setDetails(String details) { 26 this.details = details; 27 } 28 public Long getId() { 29 return id; 30 } 31 public void setId(Long id) { 32 this.id = id; 33 } 34 public Master getMaster() { 35 return master; 36 } 37 public void setMaster(Master master) { 38 this.master = master; 39 } 40 public int getVersion() { 41 return version; 42 } 43 public void setVersion(int version) { 44 this.version = version; 45 } 46 } 47 | Popular Tags |