Package jline.lang

Class Model

  • All Implemented Interfaces:
    java.io.Serializable

    
    public class Model
     implements Serializable
                        

    Class representing a model supported by the library

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
      Model(String modelName) Creates a new model with the specified name.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getName() Gets the name of this model.
      void setName(String setName) Sets the name of this model.
      String getVersion() Gets the LINE version associated with this model.
      void setVersion(String version) Sets the LINE version for this model.
      • Methods inherited from class java.lang.Object

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

      • Model

        Model(String modelName)
        Creates a new model with the specified name.
        Parameters:
        modelName - the name to assign to this model
    • Method Detail

      • getName

         String getName()

        Gets the name of this model.

        Returns:

        the model name

      • setName

         void setName(String setName)

        Sets the name of this model.

        Parameters:
        setName - the new name for this model
      • getVersion

         String getVersion()

        Gets the LINE version associated with this model.

        Returns:

        the LINE version string

      • setVersion

         void setVersion(String version)

        Sets the LINE version for this model.

        Parameters:
        version - the LINE version string