Please analyze the following code file and determine whether it belongs…
- User
Assistant: User: Please analyze the following code file and determine whether it belongs to any of the provided modules based on the listed module descriptions. Note that the provided list of modules may not be exhaustive, and some files may not belong to any of the modules. If the code belongs to a module, Only output the module name, without any explanation or additional information; otherwise, return 'None' if it does not belong to any module.
Modules : { "UI": "Handles the front-end user interface, consisting of HTML, CSS, and JavaScript files generated by the Angular framework. It processes user requests and interacts with the server using AJAX for data retrieval and client-side interactions.""Test Driver": "Facilitates automated regression testing and handles transmission of test data in JSON format. It performs Java testing using TestNG and JavaScript unit-testing with Jest. It also sets up a simulated web server for servlet-level tests and automates end-to-end testing using Selenium Java." "Logic": "Manages the business logic of TEAMMATES, including handling relationships between entities, managing transactions, input value sanitization, access control rights, and interfacing with GAE-provided or third-party APIs." "Storage": "Performs CRUD operations on data entities, validation of data, and abstraction of GQL queries, hiding the complexities of datastore from the Logic component." "Common": "Contains utility classes, custom exceptions, and data transfer objects used across the entire application for easy consolidation and transfer of structured data." "E2E": "Handles end-to-end testing and load & performance testing, providing helpers, abstractions of browser pages, and test cases for E2E tests and L&P tests." "Client": "Contains scripts for administrative tasks, such as migrating data to a new schema and calculating statistics. This module connects directly to the application back-end for administrative purposes." }
Code: package teammates.storage.entity; /** * Represents a unique notification in the system. */ @Entity @Index public class Notification extends BaseEntity { @Id private String notificationId; @Translate(InstantTranslatorFactory.class) private Instant startTime; @Translate(InstantTranslatorFactory.class) private Instant endTime; private NotificationStyle style; private NotificationTargetUser targetUser; private String title; private String message; private boolean shown; @Translate(InstantTranslatorFactory.class) private Instant createdAt; @Translate(InstantTranslatorFactory.class) private Instant updatedAt; @SuppressWarnings("unused") private Notification() { // required by Objectify } /** * Instantiates a new notification, with ID randomly generated and time fields filled automatically. * * @param startTime start time for the notification to be shown to users * @param endTime notifications are hidden from users after endTime * @param style style of the notification (e.g. success, warning, etc.) * @param targetUser student or instructor * @param title title of the notification * @param message message body of the notification */ public Notification(Instant startTime, Instant endTime, NotificationStyle style, NotificationTargetUser targetUser, String title, String message) { this.setStartTime(startTime); this.setEndTime(endTime); this.setStyle(style); this.setTargetUser(targetUser); this.setTitle(title); this.setMessage(message); this.setCreatedAt(Instant.now()); UUID uuid = UUID.randomUUID(); this.notificationId = uuid.toString(); this.shown = false; } /** * Instantiates a new notification, with all fields passed in as parameters. * This is mainly for conversion from attributes to entity. */ public Notification(String notificationId, Instant startTime, Instant endTime, NotificationStyle style, NotificationTargetUser targetUser, String title, String message, boolean shown, Instant createdAt, Instant updatedAt) { this.setStartTime(startTime); this.setEndTime(endTime); this.setStyle(style); this.setTargetUser(targetUser); this.setTitle(title); this.setMessage(message); if (createdAt == null) { this.setCreatedAt(Instant.now()); } else { this.setCreatedAt(createdAt); } this.setUpdatedAt(updatedAt); this.notificationId = notificationId; this.shown = shown; assert this.createdAt != null; } public String getNotificationId() { return notificationId; } public Instant getStartTime() { return startTime; } public void setStartTime(Instant startTime) { this.startTime = startTime; } public Instant getEndTime() { return endTime; } public void setEndTime(Instant endTime) { this.endTime = endTime; } public NotificationStyle getStyle() { return style; } public void setStyle(NotificationStyle style) { this.style = style; } public NotificationTargetUser getTargetUser() { return targetUser; } public void setTargetUser(NotificationTargetUser targetUser) { this.targetUser = targetUser; } - Assistant
Storage