public class SyncState
extends java.lang.Object
Constructor and Description |
---|
SyncState(java.lang.String state,
java.lang.String description)
Constructs a new
SyncState using the specified state name and description. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
Returns the description of the state.
|
java.lang.String |
getState()
Returns the name of the state.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
Sets the description of the state.
|
void |
setState(java.lang.String state)
Sets the name of the state.
|
java.lang.String |
toString() |
public SyncState(java.lang.String state, java.lang.String description)
SyncState
using the specified state name and description.state
- Name of the statedescription
- Description of the statepublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- Descriptionpublic java.lang.String getState()
public void setState(java.lang.String state)
state
- Name of the statepublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object