Package com.uc4.api.objects
Class SyncAttributes
- java.lang.Object
-
- com.uc4.api.objects.SyncAttributes
-
public class SyncAttributes extends java.lang.Object
This class represents the attributes of Sync objects.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
SyncAttributes(com.uc4.util.XMLDocument doc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCurrentState()
Returns the name of the current state.int
getValue()
Gets the current value.void
setCurrentState(java.lang.String currentState)
Sets the current state.void
setValue(int value)
Sets the value.protected void
store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)
-
-
-
Method Detail
-
store
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element request)
-
getValue
public int getValue()
Gets the current value.- Returns:
- Value
-
setValue
public void setValue(int value)
Sets the value.- Parameters:
value
- Value
-
getCurrentState
public java.lang.String getCurrentState()
Returns the name of the current state.- Returns:
- Current state
-
setCurrentState
public void setCurrentState(java.lang.String currentState)
Sets the current state.- Parameters:
currentState
- name of a sync state
-
-