Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
docs:3500:0300:0318 [2023/04/05 05:57] – removed - external edit (Unknown date) 127.0.0.1docs:3500:0300:0318 [2023/04/05 07:48] (current) – [IEntityTemplate interface] sean
Line 1: Line 1:
 +{{tag>Programmers_Reference IEntityTemplate_Interface}}
 +[<10>]
 +==== IEntityTemplate interface ====
 +
 +IEntityTemplate represents the instance of the business object before it has been added to the database. As such it does not have the unique ID and some other attributes assigned to the instance of the business object automatically by the system. The main usage of this interface is to set initial values of an instance when using the ''[[pr_methods:createentityfromtemplate|createEntityFromTemplate]]'' method in the [[docs:3500:0300:0315|IExecutionEngine]] interface.
 +
 +The interface exposes ''[[pr_methods:getname|getName]]'', ''[[pr_methods:getattributevalue|getAttributeValue]]'', ''[[pr_methods:setattributevalue|setAttributeValue]]'', ''[[pr_methods:getreferences|getReferences]]'' and ''[[pr_methods:setreferences|setReferences]]'' methods. Their signatures and purpose is identical to the corresponding methods in the [[docs:3500:0300:0317|IEntity]] interface.