Method and system for generating database records
AssigneeSap SE
InventorVishal Gaurav
Life of this patent
Estimating the term…
Abstract
A method and system for generating database records is provided. A user interface element is generated for a dynamic key, the user interface element having a name field and a value input field. A generic data object is provided, the generic data object having an attribute pair and the attribute pair having a dynamic name attribute and a dynamic value attribute. The name field is bound to the dynamic name attribute and the value input field is bound to the dynamic value attribute. An instance of the attribute pair for the dynamic key is generated. A first entry from the name field is passed to the dynamic name attribute and a second entry from the value input field is passed to the dynamic value attribute. The instance of the attribute pair is saved as a record.
Claims20
A computer implemented method to generate a database record, the method comprising:
- from a user interface, receiving a user selection of a condition type for querying a database associated with the condition type;
- in response to the user selection, identifying a query by group code to search for metadata associated with the condition type;
- executing the identified query by group code to retrieve the metadata associated with the condition type;
- based upon the retrieved metadata, configuring the user interface to generate a user interface element comprising a static key and a dynamic key, the dynamic key comprising a name field and a value input field;
- based upon the user interface element, generating a generic data object comprising a root node and a property valuation node, the property valuation node including an attribute pair, the attribute pair comprising a dynamic name attribute and a dynamic value attribute;
- binding the user interface element to the generic data object to pass a user entry received at the user interface element to the generic data object, by
- binding the static field to the root node, and
- binding the dynamic field to the property valuation node, by binding the name field to the dynamic name attribute and the value input field to the dynamic value attribute;
- and
- based upon the user entry to the user interface, generating the database record for an instance of the attribute pair, the instance of the attribute pair generated for the user entry bound to the dynamic field.
A computing device to generate a database record comprising:
- a user interface device to receive a selection of a condition type for querying a database associated with the condition type;
- a backend system to identify a query by group code to search for metadata associated with the condition type and executing the query by group code to retrieve the metadata;
- a user interface controller to configure the user interface device to generate a user interface element comprising a static key and a dynamic key, the dynamic key comprising a name field and a value input field and to generate a generic data object based upon the user interface element;
- a memory electronically coupled to the user interface controller to store a generic data object, the generic data object comprising a root node and a property valuation node, the property valuation node including an attribute pair, the attribute pair comprising a dynamic name attribute and a dynamic value attribute;
- a binder electronically coupled to the user interface controller and the memory to bind the user interface element to the generic data object to pass a user entry received at the user interface element to the generic data object, by binding the static field to the root node and binding the dynamic field to the property valuation node, by binding the name field to the dynamic name attribute and the value input field to the dynamic value attribute;
- a data object controller electronically coupled to the user interface controller, the memory and the binder to generate the database record for an instance of the attribute pair, the instance of the attribute pair generated for the user entry bound to the dynamic field and storing the instance of the attribute pair in the memory.
A machine-accessible medium that provides instructions that, when executed by a machine, cause the machine to perform operations comprising:
- from a user interface, receiving a user selection of a condition type for querying a database associated with the condition type;
- in response to the user selection, identifying a query by group code to search for metadata associated with the condition type;
- executing the identified query by group code to retrieve the metadata associated with the condition type;
- based upon the retrieved metadata, configuring the user interface to generate a user interface element comprising a static key and a dynamic key, the dynamic key comprising a name field and a value input field;
- based upon the user interface element, generating a generic data object comprising a root node and a property valuation node, the property valuation node including an attribute pair, the attribute pair comprising a dynamic name attribute and a dynamic value attribute;
- binding the user interface element to the generic data object to pass a user entry received at the user interface element to the generic data object, by
- binding the static field to the root node, and
- binding the dynamic field to the property valuation node, by binding the name field to the dynamic name attribute and the value input field to the dynamic value attribute;
- and
- based upon the user entry to the user interface, generating the database record for an instance of the attribute pair, the instance of the attribute pair generated for the user entry bound to the dynamic field.
Dependencies are inferred from the claim text.