Answer Server 12.13

# 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-2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Answer Server 12.13

Topic Title: LuaCodifiedFact Methods