jess
Interface Named

All Known Subinterfaces:
Modular
All Known Implementing Classes:
Deffacts, Deffunction, Defglobal, Defmodule, Deftemplate, Fact, HasLHS

public interface Named

A Named thing has a name and a construct type. All of the Jess construct classes implement this interface.

(C) 2006 Sandia National Laboratories


Method Summary
 java.lang.String getConstructType()
          Return the type of construct this object is; for example, "defrule", "deftemplate", etc.
 java.lang.String getDocstring()
          Return a documentation comment for this object, or null if none is defined
 java.lang.String getName()
          Return the name of this construct.
 

Method Detail

getName

public java.lang.String getName()
Return the name of this construct.

Returns:
the name of the construct

getConstructType

public java.lang.String getConstructType()
Return the type of construct this object is; for example, "defrule", "deftemplate", etc.

Returns:
the construct type

getDocstring

public java.lang.String getDocstring()
Return a documentation comment for this object, or null if none is defined

Returns:
the docstring, or null

© 2007 Sandia Corporation