All Implemented Interfaces:
ElementBase

public class ModelVersionInfo extends ModelVersionProperties implements ElementBase
Description of a registered model version. These are the values that are returned from UC.
  • Constructor Details

    • ModelVersionInfo

      public ModelVersionInfo()
      Constructor
  • Method Details

    • getCreated_at

      public long getCreated_at()
      Return the time that the element was created.
      Specified by:
      getCreated_at in interface ElementBase
      Returns:
      date/time as long
    • setCreated_at

      public void setCreated_at(long created_at)
      Set up the time that the element was created.
      Specified by:
      setCreated_at in interface ElementBase
      Parameters:
      created_at - date/time as long
    • getUpdated_at

      public long getUpdated_at()
      Return the time that the element was last updated.
      Specified by:
      getUpdated_at in interface ElementBase
      Returns:
      date/time as long
    • setUpdated_at

      public void setUpdated_at(long updated_at)
      Set up the time that the element was last updated.
      Specified by:
      setUpdated_at in interface ElementBase
      Parameters:
      updated_at - date/time as long
    • getCreated_by

      public String getCreated_by()
      Return the userId that created the element.
      Specified by:
      getCreated_by in interface ElementBase
      Returns:
      string name
    • setCreated_by

      public void setCreated_by(String created_by)
      Set up the userId that created the element.
      Specified by:
      setCreated_by in interface ElementBase
      Parameters:
      created_by - string name
    • getUpdated_by

      public String getUpdated_by()
      Return the element that last updated the element.
      Specified by:
      getUpdated_by in interface ElementBase
      Returns:
      string name
    • setUpdated_by

      public void setUpdated_by(String updated_by)
      Set up the element that last updated the element.
      Specified by:
      setUpdated_by in interface ElementBase
      Parameters:
      updated_by - string name
    • getId

      public String getId()
      Return the internal identifier of the registered model version.
      Returns:
      string
    • setId

      public void setId(String id)
      Set up the internal identifier of the registered model version.
      Parameters:
      id - string
    • getFull_name

      public String getFull_name()
      Return the fully qualified name of the registered model version.
      Returns:
      string
    • setFull_name

      public void setFull_name(String full_name)
      Set up the full qualified name of the registered model version.
      Parameters:
      full_name - string
    • getVersion

      public long getVersion()
      Return the version number for this version.
      Returns:
      long
    • setVersion

      public void setVersion(long version)
      Set up the version number for this version.
      Parameters:
      version - long
    • getModel_version_status

      public String getModel_version_status()
      Return the status of this version.
      Returns:
      ModelVersionStatus enum (as string)
    • setModel_version_status

      public void setModel_version_status(String model_version_status)
      Set up the status of this version.
      Parameters:
      model_version_status - ModelVersionStatus enum (as string)
    • toString

      public String toString()
      Standard toString method.
      Overrides:
      toString in class ModelVersionProperties
      Returns:
      print out of variables in a JSON-style
    • equals

      public boolean equals(Object objectToCompare)
      Compare the values of the supplied object with those stored in the current object.
      Overrides:
      equals in class ModelVersionProperties
      Parameters:
      objectToCompare - supplied object
      Returns:
      boolean result of comparison
    • hashCode

      public int hashCode()
      Return hash code based on properties.
      Overrides:
      hashCode in class ModelVersionProperties
      Returns:
      int