public class WorkflowType
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents a workflow type.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
Required. The name of the workflow type.
|
private java.lang.String |
version
Required. The version of the workflow type.
|
Constructor and Description |
---|
WorkflowType() |
Modifier and Type | Method and Description |
---|---|
WorkflowType |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
Required. The name of the workflow type.
|
java.lang.String |
getVersion()
Required. The version of the workflow type.
|
int |
hashCode() |
void |
setName(java.lang.String name)
Required. The name of the workflow type.
|
void |
setVersion(java.lang.String version)
Required. The version of the workflow type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowType |
withName(java.lang.String name)
Required. The name of the workflow type.
|
WorkflowType |
withVersion(java.lang.String version)
Required. The version of the workflow type.
|
private java.lang.String name
Required. The name of the workflow type.
private java.lang.String version
Required. The version of the workflow type.
public void setName(java.lang.String name)
Required. The name of the workflow type.
name
- Required. The name of the workflow type.public java.lang.String getName()
Required. The name of the workflow type.
public WorkflowType withName(java.lang.String name)
Required. The name of the workflow type.
name
- Required. The name of the workflow type.public void setVersion(java.lang.String version)
Required. The version of the workflow type.
version
- Required. The version of the workflow type.public java.lang.String getVersion()
Required. The version of the workflow type.
public WorkflowType withVersion(java.lang.String version)
Required. The version of the workflow type.
version
- Required. The version of the workflow type.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public WorkflowType clone()
clone
in class java.lang.Object