01: /*
02: * Enhydra Java Application Server Project
03: *
04: * The contents of this file are subject to the Enhydra Public License
05: * Version 1.1 (the "License"); you may not use this file except in
06: * compliance with the License. You may obtain a copy of the License on
07: * the Enhydra web site ( http://www.enhydra.org/ ).
08: *
09: * Software distributed under the License is distributed on an "AS IS"
10: * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
11: * the License for the specific terms governing rights and limitations
12: * under the License.
13: *
14: * The Initial Developer of the Enhydra Application Server is Lutris
15: * Technologies, Inc. The Enhydra Application Server and portions created
16: * by Lutris Technologies, Inc. are Copyright Lutris Technologies, Inc.
17: * All Rights Reserved.
18: *
19: * Contributor(s):
20: * Paul Mahar
21: *
22: */
23:
24: package org.enhydra.kelp.common.node;
25:
26: import java.io.File;
27:
28: /**
29: * Interface declaration
30: *
31: *
32: * @author Paul Mahar
33: */
34: public interface OtterNode extends PropertyKeys {
35:
36: /**
37: * Method declaration
38: *
39: * @param property
40: *
41: * @return
42: */
43: abstract public String getProperty(String property);
44:
45: /**
46: * Method declaration
47: *
48: *
49: * @param property
50: * @param value
51: */
52: abstract public void setProperty(String property, String value);
53:
54: abstract public void setProperty(String property, int value);
55:
56: /**
57: * Method declaration
58: *
59: *
60: * @param javaSource
61: */
62: abstract public Object getNativeNode();
63:
64: /**
65: * Method declaration
66: *
67: *
68: * @param o
69: */
70: abstract public void setNativeNode(Object o);
71:
72: abstract public OtterProject getProject();
73:
74: abstract public OtterNode getParent();
75:
76: abstract public String getXMLCOptionFilePath();
77:
78: abstract public void setXMLCOptionFilePath(String n);
79:
80: abstract public String getXMLCParameters();
81:
82: abstract public void setXMLCParameters(String p);
83:
84: abstract public boolean isSelected();
85:
86: abstract public void setSelected(boolean b);
87:
88: abstract public Throwable getException();
89:
90: abstract public void setException(Throwable e);
91:
92: abstract public void save();
93: }
|