Revision 5d49833e
Added by Ben Clark over 15 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/reference/Patent.java | ||
---|---|---|
18 | 18 |
|
19 | 19 |
import org.apache.log4j.Logger; |
20 | 20 |
import org.hibernate.envers.Audited; |
21 |
import org.hibernate.search.annotations.Indexed; |
|
21 | 22 |
import org.springframework.beans.factory.annotation.Configurable; |
22 | 23 |
|
23 | 24 |
import eu.etaxonomy.cdm.strategy.cache.reference.IReferenceBaseCacheStrategy; |
... | ... | |
38 | 39 |
@XmlType(name = "Patent") |
39 | 40 |
@XmlRootElement(name = "Patent") |
40 | 41 |
@Entity |
42 |
@Indexed(index = "eu.etaxonomy.cdm.model.reference.ReferenceBase") |
|
41 | 43 |
@Audited |
42 | 44 |
@Configurable |
43 | 45 |
public class Patent extends StrictReferenceBase<IReferenceBaseCacheStrategy<Patent>> implements Cloneable { |
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