• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

what is the Use of implementing serilizable in below Class  RSS feed

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
package feelsafeHibernatePackage;



/**
* AbstractRooms generated by MyEclipse - Hibernate Tools
*/

public abstract class AbstractRooms implements java.io.Serializable {


// Fields

private String roomid;
private Employees employees;
private Patient patient;
private Integer roomtype;


// Constructors

/** default constructor */
public AbstractRooms() {
}

/** minimal constructor */
public AbstractRooms(String roomid) {
this.roomid = roomid;
}

/** full constructor */
public AbstractRooms(String roomid, Employees employees, Patient patient, Integer roomtype) {
this.roomid = roomid;
this.employees = employees;
this.patient = patient;
this.roomtype = roomtype;
}


// Property accessors

public String getRoomid() {
return this.roomid;
}

public void setRoomid(String roomid) {
this.roomid = roomid;
}

public Employees getEmployees() {
return this.employees;
}

public void setEmployees(Employees employees) {
this.employees = employees;
}

public Patient getPatient() {
return this.patient;
}

public void setPatient(Patient patient) {
this.patient = patient;
}

public Integer getRoomtype() {
return this.roomtype;
}

public void setRoomtype(Integer roomtype) {
this.roomtype = roomtype;
}









}
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!