77 lines
1.5 KiB
Java
77 lines
1.5 KiB
Java
|
|
package it.acxent.news;
|
||
|
|
|
||
|
|
import it.acxent.anag.Users;
|
||
|
|
import it.acxent.db.ApplParmFull;
|
||
|
|
import it.acxent.db.CRAdapter;
|
||
|
|
import it.acxent.db.DBAdapter;
|
||
|
|
import java.sql.Date;
|
||
|
|
|
||
|
|
public class NewsUsersCR extends CRAdapter {
|
||
|
|
private long id_newsUsers;
|
||
|
|
|
||
|
|
private long id_users;
|
||
|
|
|
||
|
|
private long id_news;
|
||
|
|
|
||
|
|
private Date tmstInvio;
|
||
|
|
|
||
|
|
private News news;
|
||
|
|
|
||
|
|
private Users users;
|
||
|
|
|
||
|
|
public NewsUsersCR(ApplParmFull newApplParmFull) {
|
||
|
|
super(newApplParmFull);
|
||
|
|
}
|
||
|
|
|
||
|
|
public NewsUsersCR() {}
|
||
|
|
|
||
|
|
public long getId_newsUsers() {
|
||
|
|
return this.id_newsUsers;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setId_newsUsers(long id_newsUsers) {
|
||
|
|
this.id_newsUsers = id_newsUsers;
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getId_users() {
|
||
|
|
return this.id_users;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setId_users(long id_users) {
|
||
|
|
this.id_users = id_users;
|
||
|
|
}
|
||
|
|
|
||
|
|
public long getId_news() {
|
||
|
|
return this.id_news;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setId_news(long id_news) {
|
||
|
|
this.id_news = id_news;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Date getTmstInvio() {
|
||
|
|
return this.tmstInvio;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTmstInvio(Date tmstInvio) {
|
||
|
|
this.tmstInvio = tmstInvio;
|
||
|
|
}
|
||
|
|
|
||
|
|
public News getNews() {
|
||
|
|
this.news = (News)getSecondaryObject(this.news, News.class, getId_news());
|
||
|
|
return this.news;
|
||
|
|
}
|
||
|
|
|
||
|
|
public Users getUsers() {
|
||
|
|
this.users = (Users)getSecondaryObject((DBAdapter)this.users, Users.class, getId_users());
|
||
|
|
return this.users;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setNews(News news) {
|
||
|
|
this.news = news;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setUsers(Users users) {
|
||
|
|
this.users = users;
|
||
|
|
}
|
||
|
|
}
|