| org.drools.facttemplates.FactTemplate
All known Subclasses: org.drools.facttemplates.FactTemplateImpl,
FactTemplate | public interface FactTemplate extends Serializable(Code) | | author: Peter Lin author: Template defines the methods to access an object, which is the author: equivalent of un-ordered facts. It defines all the necessary author: methods for Deftemplate. |
getAllFieldTemplates | FieldTemplate[] getAllFieldTemplates()(Code) | | Return an array of all the slots.
|
getFieldTemplate | FieldTemplate getFieldTemplate(int index)(Code) | | Get the Slot at the given pattern id
Parameters: index - |
getFieldTemplateIndex | int getFieldTemplateIndex(String name)(Code) | | Get the pattern index with the given name
Parameters: name - |
getName | String getName()(Code) | | The name of the template may be the fully qualified
class name, or an alias.
|
getNumberOfFields | int getNumberOfFields()(Code) | | templates may have 1 or more slots. A slot is a named
pattern with a specific type of value.
|
|
|