# 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-2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm