Code example for EntityTemplate

Methods: setContentType