package ch.sahits;
import java.sql.Date;
import java.sql.Blob;
/**
* This class represents the database table
* USER.
*/
public class Taz {
/** <code>id</code> holds the value of the field ID */
private long id;
/** <code>name</code> holds the value of the field NAME */
private String name;
/** <code>surname</code> holds the value of the field SURNAME */
private String surname;
/** <code>email</code> holds the value of the field EMAIL */
private String email;
/** <code>birthDate</code> holds the value of the field BIRTH_DATE */
private Date birthDate;
/** <code>image</code> holds the value of the field IMAGE */
private Blob image;
/** <code>age</code> holds the value of the field AGE */
private short age;
/**
* Retrieve the value of the field ID.
* @return the value of the field
*/
public long getId(){
return id;
}
/**
* Set the value of the field ID.
* @param id value to be set for ID
*/
public void setId(long id){
this.id = id;
}
/**
* Retrieve the value of the field NAME.
* @return the value of the field
*/
public String getName(){
return name;
}
/**
* Set the value of the field NAME.
* @param name value to be set for NAME
*/
public void setName(String name){
this.name = name;
}
/**
* Retrieve the value of the field SURNAME.
* @return the value of the field
*/
public String getSurname(){
return surname;
}
/**
* Set the value of the field SURNAME.
* @param surname value to be set for SURNAME
*/
public void setSurname(String surname){
this.surname = surname;
}
/**
* Retrieve the value of the field EMAIL.
* @return the value of the field
*/
public String getEmail(){
return email;
}
/**
* Set the value of the field EMAIL.
* @param email value to be set for EMAIL
*/
public void setEmail(String email){
this.email = email;
}
/**
* Retrieve the value of the field BIRTH_DATE.
* @return the value of the field
*/
public Date getBirthDate(){
return birthDate;
}
/**
* Set the value of the field BIRTH_DATE.
* @param birthDate value to be set for BIRTH_DATE
*/
public void setBirthDate(Date birthDate){
this.birthDate = birthDate;
}
/**
* Retrieve the value of the field IMAGE.
* @return the value of the field
*/
public Blob getImage(){
return image;
}
/**
* Set the value of the field IMAGE.
* @param image value to be set for IMAGE
*/
public void setImage(Blob image){
this.image = image;
}
/**
* Retrieve the value of the field AGE.
* @return the value of the field
*/
public short getAge(){
return age;
}
/**
* Set the value of the field AGE.
* @param age value to be set for AGE
*/
public void setAge(short age){
this.age = age;
}
}