Class DefaultModel

  • All Implemented Interfaces:
    ModelIF

    public class DefaultModel
    extends Object
    implements ModelIF
    PUBLIC: The default data carrier for models.
    • Constructor Detail

      • DefaultModel

        public DefaultModel​(String id,
                            String title)
    • Method Detail

      • getTitle

        public String getTitle()
        Description copied from interface: ModelIF
        PUBLIC: Returns the display title of the model.
        Specified by:
        getTitle in interface ModelIF
      • setTitle

        public void setTitle​(String title)
        Description copied from interface: ModelIF
        PUBLIC: Sets the display title of the model.
        Specified by:
        setTitle in interface ModelIF
      • getId

        public String getId()
        Description copied from interface: ModelIF
        PUBLIC: Returns the ID of the model.
        Specified by:
        getId in interface ModelIF
      • setId

        public void setId​(String id)
        Description copied from interface: ModelIF
        PUBLIC: Sets the ID of the model.
        Specified by:
        setId in interface ModelIF