Answer Server 25.4
Answer Server Help

# LuaCodifiedFact Methods

A `LuaCodifiedFact` object is a complete fact. You initialize this fact from a `LuaIncompleteFact` object by using the `initToCodifiedFact` method (see LuaIncompleteFact Methods and initToCodifiedFact).

A `LuaCodifiedFact` object must not have any missing elements (for example, it must have an entity value. It can also have zero or more `LuaCodifiedFactProperty` objects, each of which can have zero or more `LuaCodifiedFactQualifier` objects. See LuaCodifiedFactProperty Methods and LuaCodifiedFactQualifier Methods.

If you have a `LuaCodifiedFact` object called `fact`, you can call its methods by using the '`:`' operator. For example:

    fact:setEntity("code")

Method | Description
--- | ---
setEntity | Sets the entity described by this fact.
setProperties | Sets the properties for this fact.
setSource | Sets the source of the information for this fact.

Copyright 2016-2025 Open Text
Version 25.4 | Last updated October 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Answer Server 25.4

Topic Title: LuaCodifiedFact Methods