persistentTitleCache -> titleCache
[cdmlib.git] / cdmlib-model / src / main / java / eu / etaxonomy / cdm / model / agent / Agent.java
1 /**
2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
5 *
6 * The contents of this file are subject to the Mozilla Public License Version 1.1
7 * See LICENSE.TXT at the top of this package for the full license terms.
8 */
9
10 package eu.etaxonomy.cdm.model.agent;
11
12
13
14 import javax.persistence.Entity;
15 import javax.xml.bind.annotation.XmlAccessType;
16 import javax.xml.bind.annotation.XmlAccessorType;
17 import javax.xml.bind.annotation.XmlType;
18
19 import org.hibernate.annotations.Index;
20 import org.hibernate.annotations.Table;
21
22 import eu.etaxonomy.cdm.model.media.IdentifyableMediaEntity;
23
24 /**
25 * The upmost (abstract) class for agents such as persons, teams or institutions.
26 * An agent is a conscious entity which can take decisions, act and create
27 * according to its own knowledge and goals and which may be approached.
28 * Agents can be authors for nomenclatural or bibliographical references as well
29 * as creators of pictures or field collectors or administrators of collections.
30 *
31 * @author m.doering
32 * @version 1.0
33 * @created 08-Nov-2007 13:06:57
34 */
35 @XmlAccessorType(XmlAccessType.FIELD)
36 @XmlType(name = "Agent", propOrder = {
37 })
38 @Entity
39 @Table(appliesTo="Agent", indexes = { @Index(name = "agentTitleCacheIndex", columnNames = { "titleCache" }) })
40 public abstract class Agent extends IdentifyableMediaEntity{
41
42
43
44
45 }