KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > kelp > common > node > OtterNode


1 /*
2  * Enhydra Java Application Server Project
3  *
4  * The contents of this file are subject to the Enhydra Public License
5  * Version 1.1 (the "License"); you may not use this file except in
6  * compliance with the License. You may obtain a copy of the License on
7  * the Enhydra web site ( http://www.enhydra.org/ ).
8  *
9  * 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 JavaDoc;
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 JavaDoc getProperty(String JavaDoc property);
44
45     /**
46      * Method declaration
47      *
48      *
49      * @param property
50      * @param value
51      */

52     abstract public void setProperty(String JavaDoc property, String JavaDoc value);
53     abstract public void setProperty(String JavaDoc property, int value);
54
55     /**
56      * Method declaration
57      *
58      *
59      * @param javaSource
60      */

61     abstract public Object JavaDoc getNativeNode();
62
63     /**
64      * Method declaration
65      *
66      *
67      * @param o
68      */

69     abstract public void setNativeNode(Object JavaDoc o);
70
71     abstract public OtterProject getProject();
72     abstract public OtterNode getParent();
73     abstract public String JavaDoc getXMLCOptionFilePath();
74     abstract public void setXMLCOptionFilePath(String JavaDoc n);
75     abstract public String JavaDoc getXMLCParameters();
76     abstract public void setXMLCParameters(String JavaDoc p);
77     abstract public boolean isSelected();
78     abstract public void setSelected(boolean b);
79     abstract public Throwable JavaDoc getException();
80     abstract public void setException(Throwable JavaDoc e);
81     abstract public void save();
82 }
83
84
Popular Tags