com.jpattern.orm.test.domain.Zoo_People Maven / Gradle / Ivy
The newest version!
package com.jpattern.orm.test.domain;
import java.io.InputStream;
import java.io.Reader;
import java.sql.Blob;
import java.sql.Date;
import com.jpattern.orm.annotation.Generator;
import com.jpattern.orm.annotation.Id;
import com.jpattern.orm.annotation.Table;
import com.jpattern.orm.annotation.generator.GeneratorType;
/**
*
* @author Francesco Cina
*
* 05/giu/2011
*/
@Table(tableName = "PEOPLE", schemaName = "ZOO")
public class Zoo_People {
@Id
@Generator(generatorType = GeneratorType.SEQUENCE, name = "ZOO_SEQ_PEOPLE")
private long id;
private String firstname;
private String lastname;
private Date birthdate;
private Date deathdate;
private InputStream firstblob;
private Blob secondblob;
private Reader firstclob;
public long getId() {
return this.id;
}
public void setId(final long id) {
this.id = id;
}
public String getFirstname() {
return this.firstname;
}
public void setFirstname(final String firstname) {
this.firstname = firstname;
}
public String getLastname() {
return this.lastname;
}
public void setLastname(final String lastname) {
this.lastname = lastname;
}
public Date getBirthdate() {
return this.birthdate;
}
public void setBirthdate(final Date birthdate) {
this.birthdate = birthdate;
}
public Date getDeathdate() {
return this.deathdate;
}
public void setDeathdate(final Date deathdate) {
this.deathdate = deathdate;
}
public InputStream getFirstblob() {
return this.firstblob;
}
public void setFirstblob(final InputStream firstblob) {
this.firstblob = firstblob;
}
public Blob getSecondblob() {
return this.secondblob;
}
public void setSecondblob(final Blob secondblob) {
this.secondblob = secondblob;
}
public void setFirstclob(final Reader firstclob) {
this.firstclob = firstclob;
}
public Reader getFirstclob() {
return this.firstclob;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy