Revision 4208745a
Added by Ben Clark over 15 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/occurrence/SpecimenOrObservationBase.java | ||
---|---|---|
49 | 49 |
import eu.etaxonomy.cdm.model.description.SpecimenDescription; |
50 | 50 |
import eu.etaxonomy.cdm.model.description.Stage; |
51 | 51 |
import eu.etaxonomy.cdm.model.media.IdentifiableMediaEntity; |
52 |
import eu.etaxonomy.cdm.strategy.cache.common.IIdentifiableEntityCacheStrategy; |
|
52 | 53 |
|
53 | 54 |
/** |
54 | 55 |
* type figures are observations with at least a figure object in media |
... | ... | |
71 | 72 |
@Audited |
72 | 73 |
@Inheritance(strategy=InheritanceType.SINGLE_TABLE) |
73 | 74 |
@Table(appliesTo="SpecimenOrObservationBase", indexes = { @Index(name = "specimenOrObservationBaseTitleCacheIndex", columnNames = { "titleCache" }) }) |
74 |
public abstract class SpecimenOrObservationBase extends IdentifiableMediaEntity {
|
|
75 |
public abstract class SpecimenOrObservationBase<S extends IIdentifiableEntityCacheStrategy> extends IdentifiableMediaEntity<S> {
|
|
75 | 76 |
|
76 | 77 |
private static final Logger logger = Logger.getLogger(SpecimenOrObservationBase.class); |
77 | 78 |
|
Also available in: Unified diff
Lots of changes, but primarily:
Enabled the marshalling / unmarshalling of LSIDAuthority
Renamed the User table to UserAccount to avoid problems on SQLServer
Major refactoring of CacheStrategyGenerators so that the generic framework extends across all IIdentifiableEntities, allowing (but not requiring) the use of @Configurable and aop to inject custom cache strategy generators at runtime