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/forms/CdmPropertyChangeEvent.java
13 13
import org.eclipse.jface.util.PropertyChangeEvent;
14 14

  
15 15
/**
16
 * <p>CdmPropertyChangeEvent class.</p>
17
 *
16 18
 * @author n.hoffmann
17 19
 * @created Feb 24, 2010
18 20
 * @version 1.0
......
27 29

  
28 30
	private Exception exception;
29 31

  
32
	/**
33
	 * <p>Getter for the field <code>originatingEvent</code>.</p>
34
	 *
35
	 * @return a {@link java.lang.Object} object.
36
	 */
30 37
	public Object getOriginatingEvent() {
31 38
		return originatingEvent;
32 39
	}
33 40

  
41
	/**
42
	 * <p>Constructor for CdmPropertyChangeEvent.</p>
43
	 *
44
	 * @param eventObject a {@link java.lang.Object} object.
45
	 * @param originatingEvent a {@link java.lang.Object} object.
46
	 */
34 47
	public CdmPropertyChangeEvent(Object eventObject, Object originatingEvent) {
35 48
		super(eventObject, "EMPTY", null, null);
36 49
		this.originatingEvent = originatingEvent;
37 50
	}
38 51
	
52
	/**
53
	 * <p>Constructor for CdmPropertyChangeEvent.</p>
54
	 *
55
	 * @param eventObject a {@link java.lang.Object} object.
56
	 * @param exception a {@link java.lang.Exception} object.
57
	 */
39 58
	public CdmPropertyChangeEvent(Object eventObject, Exception exception) {
40 59
		super(eventObject, "EMPTY", null, null);
41 60
		this.exception = exception;
42 61
	}
43 62

  
44 63
	/**
45
	 * @param e
64
	 * <p>Setter for the field <code>exception</code>.</p>
65
	 *
66
	 * @param exception a {@link java.lang.Exception} object.
46 67
	 */
47 68
	public void setException(Exception exception) {
48 69
		this.exception = exception;
49 70
	}
50 71
	
72
	/**
73
	 * <p>Getter for the field <code>exception</code>.</p>
74
	 *
75
	 * @return a {@link java.lang.Exception} object.
76
	 */
51 77
	public Exception getException(){
52 78
		return exception;
53 79
	}
54 80
	
81
	/**
82
	 * <p>hasException</p>
83
	 *
84
	 * @return a boolean.
85
	 */
55 86
	public boolean hasException(){
56 87
		return exception != null;
57 88
	}

Also available in: Unified diff