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