2 * Copyright (C) 2007 EDIT
3 * European Distributed Institute of Taxonomy
4 * http://www.e-taxonomy.eu
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.
10 package eu
.etaxonomy
.cdm
.model
.agent
;
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
;
19 import org
.hibernate
.annotations
.Index
;
20 import org
.hibernate
.annotations
.Table
;
22 import eu
.etaxonomy
.cdm
.model
.media
.IdentifiableMediaEntity
;
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.
33 * @created 08-Nov-2007 13:06:57
35 @XmlAccessorType(XmlAccessType
.FIELD
)
36 @XmlType(name
= "Agent", propOrder
= {
39 @Table(appliesTo
="Agent", indexes
= { @Index(name
= "agentTitleCacheIndex", columnNames
= { "titleCache" }) })
40 public abstract class Agent
extends IdentifiableMediaEntity
{