Package jline.lang

Class Model

java.lang.Object
jline.lang.Model
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
Ensemble, Network, Workflow

public class Model extends Object implements Serializable
Class representing a model supported by the library
See Also:
  • Constructor Details

    • Model

      public Model(String modelName)
      Creates a new model with the specified name. Sets the locale to US and initializes the LINE version from GlobalConstants.
      Parameters:
      modelName - the name to assign to this model
  • Method Details

    • getName

      public String getName()
      Gets the name of this model.
      Returns:
      the model name
    • setName

      public void setName(String setName)
      Sets the name of this model.
      Parameters:
      setName - the new name for this model
    • getVersion

      public String getVersion()
      Gets the LINE version associated with this model.
      Returns:
      the LINE version string
    • setVersion

      public void setVersion(String version)
      Sets the LINE version for this model.
      Parameters:
      version - the LINE version string