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.string.Strings;
37 @GeneratedValue(strategy=GenerationType.IDENTITY)
38 @Column(name=
"IDENTIFIER")
46 private boolean optional;
57 return publicationCategory;
61 this.publicationCategory = publicationCategory;
77 this.optional = optional;
83 return Strings.isBlank(keyId);
PublicationCategory getPublicationCategory()
void setKeyId(String keyId)
void setOptional(boolean optional)
void setPublicationCategory(PublicationCategory publicationCategory)