Package com.uc4.api.objects
Class SyncState
- java.lang.Object
-
- com.uc4.api.objects.SyncState
-
public class SyncState extends java.lang.ObjectThis class represents the state of a Sync object.
-
-
Constructor Summary
Constructors Constructor Description SyncState(java.lang.String state, java.lang.String description)Constructs a newSyncStateusing the specified state name and description.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetDescription()Returns the description of the state.java.lang.StringgetState()Returns the name of the state.inthashCode()voidsetDescription(java.lang.String description)Sets the description of the state.voidsetState(java.lang.String state)Sets the name of the state.java.lang.StringtoString()
-
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Returns the description of the state.- Returns:
- Description
-
setDescription
public void setDescription(java.lang.String description)
Sets the description of the state. Max. 80 characters are allowed.- Parameters:
description- Description
-
getState
public java.lang.String getState()
Returns the name of the state.- Returns:
- Name of the state
-
setState
public void setState(java.lang.String state)
Sets the name of the state. Max. 30 characters are allowed.- Parameters:
state- Name of the state
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-