Revision 5d49833e
Added by Ben Clark over 15 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/reference/PrintSeries.java | ||
---|---|---|
19 | 19 |
|
20 | 20 |
import org.apache.log4j.Logger; |
21 | 21 |
import org.hibernate.envers.Audited; |
22 |
import org.hibernate.search.annotations.Field; |
|
23 |
import org.hibernate.search.annotations.Index; |
|
24 |
import org.hibernate.search.annotations.Indexed; |
|
22 | 25 |
import org.springframework.beans.factory.annotation.Configurable; |
23 | 26 |
|
24 | 27 |
import eu.etaxonomy.cdm.strategy.cache.reference.IReferenceBaseCacheStrategy; |
... | ... | |
41 | 44 |
}) |
42 | 45 |
@XmlRootElement(name = "PrintSeries") |
43 | 46 |
@Entity |
47 |
@Indexed(index = "eu.etaxonomy.cdm.model.reference.ReferenceBase") |
|
44 | 48 |
@Audited |
45 | 49 |
@Configurable |
46 | 50 |
public class PrintSeries extends PublicationBase<IReferenceBaseCacheStrategy<PrintSeries>> implements Cloneable { |
47 | 51 |
private static final Logger logger = Logger.getLogger(PrintSeries.class); |
48 | 52 |
|
49 | 53 |
@XmlElement(name = "Series") |
54 |
@Field(index=Index.TOKENIZED) |
|
50 | 55 |
private String series; |
51 | 56 |
|
52 | 57 |
protected PrintSeries() { |
Also available in: Unified diff
Annotated References, Media, and Agents, and also added more data types to the anyTypeDefs to allow more types of data to be annotated and marked etc, and added a jaxb annotation to OriginalSource.sourcedObj