public static class HistoryRecord.ProcessModelInfo extends LocalizedIdentity implements java.lang.Comparable<HistoryRecord.ProcessModelInfo>
Constructor and Description |
---|
ProcessModelInfo()
Creates a ProcessModelInfo with all fields null.
|
ProcessModelInfo(java.lang.Long id,
LocaleString name,
java.lang.String version,
java.lang.String uuid)
Creates a ProcessModelInfo with the given id, name, version and uuid.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(HistoryRecord.ProcessModelInfo other)
Compare against another ProcessModelInfo.
|
boolean |
equals(java.lang.Object o)
Returns whether the
LocalizedIdentity been passed is equal to this
LocalizedIdentity . |
java.lang.String |
getUuid()
Gets the process model's universally unique identifier (uuid).
|
java.lang.String |
getVersion()
Gets the process model version.
|
int |
hashCode()
Returns a hash code value for the object.
|
void |
setUuid(java.lang.String uuid)
Sets the process model's universally unique identifier (uuid).
|
void |
setVersion(java.lang.String version)
Sets the process model version.
|
public ProcessModelInfo()
public ProcessModelInfo(java.lang.Long id, LocaleString name, java.lang.String version, java.lang.String uuid)
id
- the process model's idname
- the process model's nameversion
- the process model's versionuuid
- the process model's uuidpublic java.lang.String getVersion()
AbstractProcessModel.getVersion()
.public void setVersion(java.lang.String version)
AbstractProcessModel.setVersion(String)
.version
- the process model version (e.g. "1.0")@ConvertWith(value=com.appiancorp.kougar.mapper.parameters.UuidParameterConverter.class) public java.lang.String getUuid()
public void setUuid(java.lang.String uuid)
uuid
- the uuidpublic int hashCode()
LocalizedIdentity
Hashtable
.hashCode
in class LocalizedIdentity
public boolean equals(java.lang.Object o)
LocalizedIdentity
LocalizedIdentity
been passed is equal to this
LocalizedIdentity
.equals
in class LocalizedIdentity
o
- the reference object with which to compare.true
if both objects are equal, otherwise
false
public int compareTo(HistoryRecord.ProcessModelInfo other)
compareTo
in interface java.lang.Comparable<HistoryRecord.ProcessModelInfo>
other
- Copyright © 2003-2024 Appian Corporation. All Rights Reserved.