1
|
/**
|
2
|
* Copyright (C) 2007 EDIT
|
3
|
* European Distributed Institute of Taxonomy
|
4
|
* http://www.e-taxonomy.eu
|
5
|
*
|
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.
|
8
|
*/
|
9
|
|
10
|
package eu.etaxonomy.taxeditor.editor;
|
11
|
|
12
|
import eu.etaxonomy.cdm.model.name.INonViralName;
|
13
|
import eu.etaxonomy.cdm.model.taxon.TaxonNode;
|
14
|
|
15
|
/**
|
16
|
* <p>OpenEditorConfiguration class.</p>
|
17
|
*
|
18
|
* @author n.hoffmann
|
19
|
* @created Sep 27, 2010
|
20
|
*/
|
21
|
public class OpenEditorConfiguration {
|
22
|
|
23
|
private TaxonNode parentNode;
|
24
|
|
25
|
private INonViralName nonViralName;
|
26
|
|
27
|
private boolean openInEditor;
|
28
|
|
29
|
/**
|
30
|
* <p>Getter for the field <code>parentNode</code>.</p>
|
31
|
*
|
32
|
* @return the parent
|
33
|
*/
|
34
|
public TaxonNode getParentNode() {
|
35
|
return parentNode;
|
36
|
}
|
37
|
|
38
|
/**
|
39
|
* <p>Setter for the field <code>parentNode</code>.</p>
|
40
|
*
|
41
|
* @param parent the parent to set
|
42
|
*/
|
43
|
public void setParentNode(TaxonNode parent) {
|
44
|
this.parentNode = parent;
|
45
|
}
|
46
|
|
47
|
|
48
|
|
49
|
/**
|
50
|
* <p>isOpenInEditor</p>
|
51
|
*
|
52
|
* @return the openInEditor
|
53
|
*/
|
54
|
public boolean isOpenInEditor() {
|
55
|
return openInEditor;
|
56
|
}
|
57
|
|
58
|
/**
|
59
|
* <p>Setter for the field <code>openInEditor</code>.</p>
|
60
|
*
|
61
|
* @param openInEditor the openInEditor to set
|
62
|
*/
|
63
|
public void setOpenInEditor(boolean openInEditor) {
|
64
|
this.openInEditor = openInEditor;
|
65
|
}
|
66
|
|
67
|
/**
|
68
|
* <p>Getter for the field <code>nonViralName</code>.</p>
|
69
|
*
|
70
|
* @return the nonViralName
|
71
|
*/
|
72
|
public INonViralName getNonViralName() {
|
73
|
return nonViralName;
|
74
|
}
|
75
|
|
76
|
/**
|
77
|
* <p>Setter for the field <code>nonViralName</code>.</p>
|
78
|
*
|
79
|
* @param nonViralName the nonViralName to set
|
80
|
*/
|
81
|
public void setNonViralName(INonViralName nonViralName) {
|
82
|
this.nonViralName = nonViralName;
|
83
|
}
|
84
|
|
85
|
}
|