Project

General

Profile

« Previous | Next » 

Revision 3be6ef3e

Added by Niels Hoffmann over 13 years ago

performed javacscript:fix and worked on documentation

View differences:

taxeditor-editor/src/main/java/eu/etaxonomy/taxeditor/section/supplemental/VersionElement.java
23 23
import eu.etaxonomy.taxeditor.preference.PreferencesUtil;
24 24

  
25 25
/**
26
 * <p>VersionElement class.</p>
27
 *
26 28
 * @author n.hoffmann
27 29
 * @created Nov 5, 2009
28 30
 * @version 1.0
......
37 39
	private VersionableEntity entity;
38 40
	
39 41
	/**
40
	 * @param parent
41
	 * @param listener
42
	 * @param style
42
	 * <p>Constructor for VersionElement.</p>
43
	 *
44
	 * @param style a int.
45
	 * @param toolkit a {@link eu.etaxonomy.taxeditor.forms.CdmFormFactory} object.
46
	 * @param parentElement a {@link eu.etaxonomy.taxeditor.forms.ICdmFormElement} object.
47
	 * @param entity a {@link eu.etaxonomy.cdm.model.common.VersionableEntity} object.
43 48
	 */
44 49
	public VersionElement(CdmFormFactory toolkit, ICdmFormElement parentElement, VersionableEntity entity, int style) {
45 50
		super(toolkit, parentElement);
......
59 64
		label_objectId.setLayoutData(CdmFormFactory.FILL_HORIZONTALLY());
60 65
	}
61 66
	
67
	/**
68
	 * <p>Setter for the field <code>entity</code>.</p>
69
	 *
70
	 * @param entity a {@link eu.etaxonomy.cdm.model.common.VersionableEntity} object.
71
	 */
62 72
	public void setEntity(VersionableEntity entity){
63 73

  
64 74
		this.entity = entity;
......
105 115
		return CdmUtils.Nz(user.getUsername());
106 116
	}
107 117

  
118
	/**
119
	 * <p>Getter for the field <code>entity</code>.</p>
120
	 *
121
	 * @return a {@link eu.etaxonomy.cdm.model.common.VersionableEntity} object.
122
	 */
108 123
	public VersionableEntity getEntity() {
109 124
		return entity;
110 125
	}
111 126

  
127
	/** {@inheritDoc} */
112 128
	public void setSelected(boolean selected) {
113 129
		// will not likely be selected
114 130
	}

Also available in: Unified diff