METHOD FOR AUTOMATED CLASS TRANSFORMATION UNDER CONDITIONS OF INCOMPLETE ATTRIBUTE DEFINITION
DOI:
https://doi.org/10.15588/1607-3274-2026-2-15Keywords:
object-oriented programming, classes, undefined attributes, method locking, parsing, class conversionAbstract
Context. Finding solutions to problems with an incomplete set of necessary data is a relevant problem in various applied research. In object-oriented programming, a similar problem arises when it is necessary to create a class object in the absence of some data regarding its initialization.
Objective. If there is enough data to solve a certain set of problems, it is advisable to create an object of the corresponding class. Problems arise when not all attributes of the created object have values. This can lead to errors in the operation of the object when calling methods that use undefined attributes. The aim of the work is to develop a mechanism that provides blocking of methods that are not ready to work, as well as their gradual unlocking as values for the attributes are defined.
Method. A mathematical model of the class is proposed, which allows distinguishing two subsets of attributes that do not have values at the time of creating the class object. A method has been developed that automatically converts the source class, adding a mechanism for locking/unlocking certain methods depending on the presence or absence of attribute values that these methods directly or indirectly use.
Result. The Class Transformer software product was created, which allowed a series of experiments to be conducted that confirmed the effectiveness of the research. The experiments showed a significant reduction in class conversion time compared to performing this work in the traditional way.
Conclusions. The proposed method for automated class conversion in conditions of incomplete attribute definition, which, on the one hand, allows you to start working with the object without waiting for the moment of complete data definition, and on the other hand, reduces the time for class conversion. The method can be used for various object-oriented programming languages
References
Liu W. The Implications of Object-Oriented Analysis and Design. Global Journal of Engineering, Design & Technology, 2022, Vol. 11, Iss. 3, P. 157. DOI: 10.35248/2319-7293.22.11.157.
Agu S., Elugwu F. Object Oriented Programming Approach. A Panacea for Effective Software Development [Electronic resource]. African Journal of Advanced Science & Technology Research, 2022, Vol. 6, № 1. Regime of access: https://publications.afropolitanjournals.com/ index.php/ajastr/article/view/215 free (date of the application: 30.09.2022). Header from the screen.
Perrelli M., Cosco F., Carbone G., et al. On the Benefits of Using Object-Oriented Programming for the Objective Evaluation of Vehicle Dynamic Performance in Concurrent Simulations. Machines, 2021, Vol. 9, Iss. 2, P. 41. DOI: 10.3390/machines9020041.
Wen P. Y., Chang S. Y. Design and Implementation of Model-Driven Development for Nursing Information System. Stud Health Technol Inform, 2022, Vol. 290, pp. 154–157. DOI: 10.3233/SHTI220051. PMID: 35672990.
Rashid T. A., Hassan B. A., Alsadoon A. et al. Awareness requirement and performance management for adaptive systems: a survey. The Journal of Supercomputing, 2023, Vol. 79(9), pp. 9692–9714. DOI: 10.1007/s11227-022-05021-1.
Johnny V., Philip M., Augustine S. Methods to Handle Incomplete Data. MAMC Journal of Medical Sciences, 2020, Vol. 6(3), P. 194. DOI: 10.4103/mamcjms.mamcjms_54_20.
Sun Z., Gao M., Jiang A. et al. Incomplete data processing method based on the measurement of missing rate and abnormal degree: Take the loose particle localization data set as an example. Expert Systems with Applications: An International Journal, 2023, Vol. 216, P. 119411. DOI: 10.1016/j.eswa.2022.119411.
New M. S., Licata D. R., Ahmed A. Gradual type theory. Journal of Functional Programming, 2021, Vol. 31, P. 21. DOI: 10.1017/S0956796821000125.
Cassola M., Talagorria A., Pardo A., et al. A gradual type system for Elixir. Journal of Computer Languages, 2022, Vol. 68, Iss. 4, P. 101077. DOI: 10.1016/j.cola.2021.101077.
Rashidi H., Azadi F. On Attributes of Objects in ObjectOriented Software Analysis. International Journal of Industrial Engineering & Production Research, 2019, Vol. 30(3), pp. 341–352. DOI: 10.22068/ijiepr.30.3.341.
Slivnik B. Context-sensitive parsing for programming languages. Journal of Computer Languages, 2022, Vol. 73, P. 101172. DOI: 10.1016/j.cola.2022.101172.
Wojszczyk R., Hapka A., Królikowski T. Performance analysis of extracting object structure from source code. 27th International Conference on Knowledge Based and Intelligent Information and Engineering Systems (KES 2023) : proceedings. Procedia Computer Science, 2023, Vol. 225, pp. 4065–4073. DOI: 10.1016/j.procs.2023.10.402.
Kungurtsev O. B., Bondar V. R., Gratilova K. O. et al. Method Automated Class Conversion for Composition Implementation. Radio Electronics, Computer Science, Control, 2024, № 2, pp. 142–149. DOI: 10.15588/1607-3274- 2024-2-14.
Shah K. P., Grant E. S. Towards Verification of UML Class Models using Formal Specification Methods: A Review [Electronic resource]. Global Journal of Computer Science and Technology, 2023, Vol. 23, № H1. Regime of access: https://computerresearch.org/ index.php/computer/ article/view/102296 free (date of the application: 25.10.2025). Header from the screen.
Al-Fedaghi S. Classes in Object-Oriented Modeling (UML): Further Understanding and Abstraction. International Journal of Computer Science and Network Security, 2021, Vol. 21, № 5, pp. 139–150. DOI: 10.48550/arXiv.2106.00267.
Kungurtsev O. B., Vytnova A. I. Determination of Inheritance Relations and Restructuring of Software Class Models in the Process of Developing Information Systems. Radio Electronics, Computer Science, Control, 2022, № 4, pp. 98–107.DOI:10.15588/1607-3274-2022-4-8.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 O. B. Kungurtsev, А. О. Antonov, N. O. Novikova

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Creative Commons Licensing Notifications in the Copyright Notices
The journal allows the authors to hold the copyright without restrictions and to retain publishing rights without restrictions.
The journal allows readers to read, download, copy, distribute, print, search, or link to the full texts of its articles.
The journal allows to reuse and remixing of its content, in accordance with a Creative Commons license СС BY -SA.
Authors who publish with this journal agree to the following terms:
-
Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License CC BY-SA that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
-
Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
-
Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) as it can lead to productive exchanges, as well as earlier and greater citation of published work.