{{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.