Project

General

Profile

« Previous | Next » 

Revision 2448aba7

Added by Andreas Müller almost 2 years ago

cleanup

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/Credit.java
6 6
* The contents of this file are subject to the Mozilla Public License Version 1.1
7 7
* See LICENSE.TXT at the top of this package for the full license terms.
8 8
*/
9

  
10 9
package eu.etaxonomy.cdm.model.common;
11 10

  
12 11
import javax.persistence.Entity;
......
19 18
import javax.xml.bind.annotation.XmlSchemaType;
20 19
import javax.xml.bind.annotation.XmlType;
21 20

  
22
import org.apache.logging.log4j.LogManager;import org.apache.logging.log4j.Logger;
21
import org.apache.logging.log4j.LogManager;
22
import org.apache.logging.log4j.Logger;
23 23
import org.hibernate.annotations.Cascade;
24 24
import org.hibernate.annotations.CascadeType;
25 25
import org.hibernate.envers.Audited;
......
29 29
/**
30 30
 * @author a.mueller
31 31
 * @since 23.03.2009
32
 * @version 1.0
33 32
 */
34 33
@XmlAccessorType(XmlAccessType.FIELD)
35 34
@XmlType(name = "Credit")
36 35
@Entity
37 36
@Audited
38
public class Credit extends LanguageStringBase implements Cloneable{
37
public class Credit extends LanguageStringBase {
38

  
39 39
	private static final long serialVersionUID = 5763391127298427701L;
40 40
	@SuppressWarnings("unused")
41 41
	private static final Logger logger = LogManager.getLogger(Credit.class);
......
81 81

  
82 82
//*********************** GETTER /SETTER *****************************/
83 83

  
84
	/**
85
	 * @return the agent
86
	 */
87 84
	public AgentBase getAgent() {
88 85
		return agent;
89 86
	}
......
91 88
		this.agent = agent;
92 89
	}
93 90

  
94

  
95
	/**
96
	 * @return the abbreviatedText
97
	 */
98 91
	public String getAbbreviatedText() {
99 92
		return abbreviatedText;
100 93
	}
......
117 110
		return result;
118 111
	}
119 112

  
113
// ************************ STRING ****************************/
114

  
120 115
    @Override
121 116
    public String toString() {
122 117
        if (isNotBlank(this.abbreviatedText)){

Also available in: Unified diff