jess
Interface Named

All Known Subinterfaces:
Modular
All Known Implementing Classes:
Deffacts, Deffunction, Defglobal, Defmodule, Defquery, Defrule, 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) 2013 Sandia Corporation


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

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

Returns:
the name of the construct

getConstructType

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

Returns:
the construct type

getDocstring

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

Returns:
the docstring, or null

© 2013 Sandia Corporation