Package 

Class AppModel


  • 
    public final class AppModel
    extends Model<AppModel.Data>
                        

    Represents the application model that collects and exposes app-related data.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public final class AppModel.Data

      Data class representing the application model data.

      This class holds information about a model, including its name, version, build, and namespace.

    • Method Summary

      Modifier and Type Method Description
      Unit initialize(ModelContext modelContext) Sets up the model with the specified ModelContext.
      AppModel.Data get(ModelContext modelContext) Retrieves the data associated with this model.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • initialize

         Unit initialize(ModelContext modelContext)

        Sets up the model with the specified ModelContext.

        This method can be overridden by subclasses to perform initialization or setup tasks specific to the model.

        Parameters:
        modelContext - The context in which the model is being set up.
      • get

         AppModel.Data get(ModelContext modelContext)

        Retrieves the data associated with this model.

        Parameters:
        modelContext - The context in which the data is being retrieved.