Class HistoryRecord.ProcessModelInfo

java.lang.Object
com.appiancorp.suiteapi.common.LocalizedIdentity
com.appiancorp.suiteapi.process.HistoryRecord.ProcessModelInfo
All Implemented Interfaces:
Serializable, Comparable<HistoryRecord.ProcessModelInfo>
Enclosing class:
HistoryRecord

public static class HistoryRecord.ProcessModelInfo extends LocalizedIdentity implements Comparable<HistoryRecord.ProcessModelInfo>
Information about a process model, including id, version, name and uuid.
See Also:
  • Constructor Details

    • ProcessModelInfo

      public ProcessModelInfo()
      Creates a ProcessModelInfo with all fields null.
    • ProcessModelInfo

      public ProcessModelInfo(Long id, LocaleString name, String version, String uuid)
      Creates a ProcessModelInfo with the given id, name, version and uuid.
      Parameters:
      id - the process model's id
      name - the process model's name
      version - the process model's version
      uuid - the process model's uuid
  • Method Details

    • getVersion

      public String getVersion()
      Gets the process model version. See AbstractProcessModel.getVersion().
      Returns:
      the process model version (e.g. "1.0")
    • setVersion

      public void setVersion(String version)
      Sets the process model version. See AbstractProcessModel.setVersion(String).
      Parameters:
      version - the process model version (e.g. "1.0")
    • getUuid

      @ConvertWith(com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public String getUuid()
      Gets the process model's universally unique identifier (uuid).
      Returns:
      the uuid
    • setUuid

      public void setUuid(String uuid)
      Sets the process model's universally unique identifier (uuid).
      Parameters:
      uuid - the uuid
    • hashCode

      public int hashCode()
      Description copied from class: LocalizedIdentity
      Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by Hashtable.
      Overrides:
      hashCode in class LocalizedIdentity
      Returns:
      a hash code value for this object
    • equals

      public boolean equals(Object o)
      Description copied from class: LocalizedIdentity
      Returns whether the LocalizedIdentity been passed is equal to this LocalizedIdentity.
      Overrides:
      equals in class LocalizedIdentity
      Parameters:
      o - the reference object with which to compare.
      Returns:
      true if both objects are equal, otherwise false
    • compareTo

      public int compareTo(HistoryRecord.ProcessModelInfo other)
      Compare against another ProcessModelInfo.
      Specified by:
      compareTo in interface Comparable<HistoryRecord.ProcessModelInfo>
      Parameters:
      other -
      Returns: