|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.opencyc.elf.ELFObject | +--org.opencyc.elf.NodeComponent
Provides common attributes and behavior for Elementary Loop
Functioning (ELF) node components.
Copyright 2001 Cycorp, Inc., license is open source GNU LGPL.
THIS SOFTWARE AND KNOWLEDGE BASE CONTENT ARE PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OPENCYC ORGANIZATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE AND KNOWLEDGE BASE CONTENT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Field Summary | |
static int |
DEFAULT_VERBOSITY
The default verbosity of this object's output. |
protected org.opencyc.uml.core.Procedure |
interruptionRequest
the interruption procedure to execute |
protected Node |
node
Reference to the ELF Node which contains this object. |
protected boolean |
pendingInterruption
indicates a pending interruption |
protected int |
verbosity
Sets verbosity of this object's output. |
Fields inherited from class org.opencyc.elf.ELFObject |
name |
Constructor Summary | |
NodeComponent()
|
Method Summary | |
Node |
getNode()
Gets the ELF Node which contains this object. |
java.util.ArrayList |
interrupt(org.opencyc.uml.core.Procedure interruptionRequest)
Requests an interruption of the current processing of this node component to execute the given procedure and to return the list of the output pin values. |
void |
setNode(Node node)
Sets the ELF Node which contains this object. |
void |
setVerbosity(int verbosity)
Sets verbosity of this object's output. |
Methods inherited from class org.opencyc.elf.ELFObject |
getName, setName, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int DEFAULT_VERBOSITY
protected int verbosity
protected Node node
protected boolean pendingInterruption
protected org.opencyc.uml.core.Procedure interruptionRequest
Constructor Detail |
public NodeComponent()
Method Detail |
public Node getNode()
public java.util.ArrayList interrupt(org.opencyc.uml.core.Procedure interruptionRequest)
interruptionRequest
- the given interruption procedure to executepublic void setNode(Node node)
node
- the ELF Node which contains this objectpublic void setVerbosity(int verbosity)
verbosity
- 0 --> quiet ... 9 -> maximum diagnostic input
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |