Project

General

Profile

« Previous | Next » 

Revision d825b848

Added by Andreas Müller about 5 years ago

cleanup

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/ReferencedEntityBase.java
48 48
	@SuppressWarnings("unused")
49 49
	private static final Logger logger = Logger.getLogger(ReferencedEntityBase.class);
50 50

  
51
	//Details of the reference. These are mostly (implicitly) pages but can also be tables or any other element of a
52
	//publication. {if the citationMicroReference exists then there must be also a reference}
53
    @XmlElement(name = "Citation")
51
	@XmlElement(name = "Citation")
54 52
    @XmlIDREF
55 53
    @XmlSchemaType(name = "IDREF")
56 54
    @ManyToOne(fetch = FetchType.LAZY)
57 55
    @Cascade({CascadeType.SAVE_UPDATE,CascadeType.MERGE})
58 56
	private Reference citation;
59 57

  
58
	//Details of the reference. These are mostly (implicitly) pages but can also be tables or any other element of a
59
    //publication. {if the citationMicroReference exists then there must be also a reference}
60 60
    @XmlElement(name = "CitationMicroReference")
61 61
	private String citationMicroReference;
62 62

  
......
74 74

  
75 75
	public ReferencedEntityBase(Reference citation, String citationMicroReference,
76 76
			String originalNameString) {
77
		super();
78 77
		this.citationMicroReference = citationMicroReference;
79 78
		this.originalNameString = originalNameString;
80 79
		this.citation = citation;

Also available in: Unified diff