Revision 4208745a
Added by Ben Clark over 15 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/agent/TeamOrPersonBase.java | ||
---|---|---|
36 | 36 |
}) |
37 | 37 |
@Entity |
38 | 38 |
@Audited |
39 |
public abstract class TeamOrPersonBase<T extends TeamOrPersonBase<?>> extends AgentBase implements INomenclaturalAuthor { |
|
39 |
public abstract class TeamOrPersonBase<T extends TeamOrPersonBase<?>> extends AgentBase<INomenclaturalAuthorCacheStrategy<T>> implements INomenclaturalAuthor {
|
|
40 | 40 |
private static final long serialVersionUID = 5216821307314001961L; |
41 | 41 |
public static final Logger logger = Logger.getLogger(TeamOrPersonBase.class); |
42 | 42 |
|
43 | 43 |
@XmlElement(name="NomenclaturalTitle") |
44 | 44 |
protected String nomenclaturalTitle; |
45 |
|
|
46 |
@XmlTransient |
|
47 |
@Transient |
|
48 |
protected INomenclaturalAuthorCacheStrategy<T> cacheStrategy; |
|
49 | 45 |
|
50 | 46 |
/** |
51 | 47 |
* Returns the identification string (nomenclatural abbreviation) used in |
... | ... | |
63 | 59 |
public void setNomenclaturalTitle(String nomenclaturalTitle) { |
64 | 60 |
this.nomenclaturalTitle = nomenclaturalTitle; |
65 | 61 |
} |
66 |
|
|
67 | 62 |
} |
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