19 package org.turro.publication.entity;
21 import javax.persistence.Column;
22 import javax.persistence.Entity;
23 import javax.persistence.GeneratedValue;
24 import javax.persistence.GenerationType;
25 import javax.persistence.Id;
26 import javax.persistence.ManyToOne;
27 import org.turro.action.Contacts;
28 import org.turro.plugin.contacts.IContact;
38 @GeneratedValue(strategy=GenerationType.IDENTITY)
39 @Column(name=
"IDENTIFIER")
42 private String idContact;
44 private boolean administrator;
62 this.idContact = idContact;
71 this.administrator = administrator;
75 return publicationCategory;
79 this.publicationCategory = publicationCategory;
87 if(_contact ==
null) {
95 idContact = _contact !=
null ? _contact.
getId() :
null;
98 private void resetIContact() {
boolean isAdministrator()
PublicationCategory getPublicationCategory()
void setPublicationCategory(PublicationCategory publicationCategory)
void setContact(IContact contact)
void setAdministrator(boolean administrator)
void setIdContact(String idContact)