Automatic view generation based on annotations
AssigneeSap SE
InventorsPriyanshu Shukla, Rahul Choudhary
Life of this patent
Estimating the term…
Abstract
The present disclosure involves systems, software, and computer implemented methods for automatic view generation based on annotations. One example method includes receiving a request to display a user interface view on a client device. Metadata that defines at least one entity included in at least one data source is received. Annotations that define user interface elements for displaying information for the at least one entity are received. A metamodel is generated using the received metadata and the received annotations. Native user interface elements are automatically generated using the metamodel. The native user interface elements are native to the client device. The native user interface elements in the user interface view on the client device.
Claims20
A computer-implemented method comprising:
- receiving a first request to display a user interface view on a client device;
- receiving first metadata that defines at least one entity included in at least one data source;
- receiving first annotations that define first user interface elements for displaying information for the at least one entity;
- generating a first metamodel using the received first metadata and the received first annotations;
- storing the first metamodel on the client device as a stored metamodel;
- automatically generating first native user interface elements using the first metamodel, wherein the first native user interface elements are native to the client device;
- rendering the first native user interface elements in the user interface view on the client device;
- receiving a second request to display the user interface view on the client device, the second request received after receipt of the first request;
- receiving second metadata;
- receiving second annotations;
- and
- in response to determining that the second metadata matches the first metadata and that the second annotations match the first annotations:
- retrieving the stored metamodel without generating a second metamodel;
- automatically generating second native user interface elements using the stored metamodel, wherein the second native user interface elements are native to the client device;
- and
- rendering the second native user interface elements in the user interface view on the client device.
A system comprising:
- one or more computers;
- and
- a computer-readable medium coupled to the one or more computers having instructions stored thereon which, when executed by the one or more computers, cause the one or more computers to perform operations comprising:
- receiving a first request to display a user interface view on a client device;
- receiving first metadata that defines at least one entity included in at least one data source;
- receiving first annotations that define first user interface elements for displaying information for the at least one entity;
- generating a first metamodel using the received first metadata and the received first annotations;
- storing the first metamodel on the client device as a stored metamodel;
- automatically generating first native user interface elements using the first metamodel, wherein the first native user interface elements are native to the client device;
- rendering the first native user interface elements in the user interface view on the client device;
- receiving a second request to display the user interface view on the client device, the second request received after receipt of the first request;
- receiving second metadata;
- receiving second annotations;
- and
- in response to determining that the second metadata matches the first metadata and that the second annotations match the first annotations:
- retrieving the stored metamodel without generating a second metamodel;
- automatically generating second native user interface elements using the stored metamodel, wherein the second native user interface elements are native to the client device;
- and
- rendering the second native user interface elements in the user interface view on the client device.
A computer program product encoded on a non-transitory storage medium, the product comprising non-transitory, computer readable instructions for causing one or more processors to perform operations comprising:
- receiving a first request to display a user interface view on a client device;
- receiving first metadata that defines at least one entity included in at least one data source;
- receiving first annotations that define first user interface elements for displaying information for the at least one entity;
- generating a first metamodel using the received first metadata and the received first annotations;
- storing the first metamodel on the client device as a stored metamodel;
- automatically generating first native user interface elements using the first metamodel, wherein the first native user interface elements are native to the client device;
- rendering the first native user interface elements in the user interface view on the client device;
- receiving a second request to display the user interface view on the client device, the second request received after receipt of the first request;
- receiving second metadata;
- receiving second annotations;
- and
- in response to determining that the second metadata matches the first metadata and that the second annotations match the first annotations:
- retrieving the stored metamodel without generating a second metamodel;
- automatically generating second native user interface elements using the stored metamodel, wherein the second native user interface elements are native to the client device;
- and
- rendering the second native user interface elements in the user interface view on the client device.
Dependencies are inferred from the claim text.