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.NonViralName;
|
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
|
* @version 1.0
|
21
|
*/
|
22
|
public class OpenEditorConfiguration {
|
23
|
|
24
|
private TaxonNode parentNode;
|
25
|
|
26
|
private NonViralName nonViralName;
|
27
|
|
28
|
private boolean openInEditor;
|
29
|
|
30
|
/**
|
31
|
* <p>Getter for the field <code>parentNode</code>.</p>
|
32
|
*
|
33
|
* @return the parent
|
34
|
*/
|
35
|
public TaxonNode getParentNode() {
|
36
|
return parentNode;
|
37
|
}
|
38
|
|
39
|
/**
|
40
|
* <p>Setter for the field <code>parentNode</code>.</p>
|
41
|
*
|
42
|
* @param parent the parent to set
|
43
|
*/
|
44
|
public void setParentNode(TaxonNode parent) {
|
45
|
this.parentNode = parent;
|
46
|
}
|
47
|
|
48
|
|
49
|
|
50
|
/**
|
51
|
* <p>isOpenInEditor</p>
|
52
|
*
|
53
|
* @return the openInEditor
|
54
|
*/
|
55
|
public boolean isOpenInEditor() {
|
56
|
return openInEditor;
|
57
|
}
|
58
|
|
59
|
/**
|
60
|
* <p>Setter for the field <code>openInEditor</code>.</p>
|
61
|
*
|
62
|
* @param openInEditor the openInEditor to set
|
63
|
*/
|
64
|
public void setOpenInEditor(boolean openInEditor) {
|
65
|
this.openInEditor = openInEditor;
|
66
|
}
|
67
|
|
68
|
/**
|
69
|
* <p>Getter for the field <code>nonViralName</code>.</p>
|
70
|
*
|
71
|
* @return the nonViralName
|
72
|
*/
|
73
|
public NonViralName getNonViralName() {
|
74
|
return nonViralName;
|
75
|
}
|
76
|
|
77
|
/**
|
78
|
* <p>Setter for the field <code>nonViralName</code>.</p>
|
79
|
*
|
80
|
* @param nonViralName the nonViralName to set
|
81
|
*/
|
82
|
public void setNonViralName(NonViralName nonViralName) {
|
83
|
this.nonViralName = nonViralName;
|
84
|
}
|
85
|
|
86
|
}
|