public class Sync extends UC4Object
| Constructor and Description |
|---|
Sync() |
| Modifier and Type | Method and Description |
|---|---|
Iterator<SyncAction> |
actionIterator()
Returns an iterator over
SyncAction. |
int |
actionSize()
Returns the number of defined actions.
|
void |
addAction(SyncAction action)
Adds a new action to this Sync object.
|
void |
addState(SyncState state)
Adds a
SyncState to this Sync object. |
SyncAttributes |
attributes()
Gets attributes of this Sync object.
|
XHeader |
header()
Returns the header data of this object.
|
boolean |
isExecutable()
Returns
true if this Object can be executed. |
boolean |
removeAction(SyncAction action)
Removes the specified action.
|
void |
removeAllActions()
Method to remove all the actions.
|
void |
removeAllStates()
Method to remove all the states.
|
boolean |
removeState(SyncState state)
Removes the specified
SyncState. |
Iterator<SyncState> |
stateIterator()
Returns an iterator over
SyncState. |
int |
stateSize()
Returns the number of Sync states.
|
void |
validate()
Validates the object.
|
docu, getAccess, getIdnr, getModCount, getName, getType, isOldVersion, load, storepublic XHeader header()
public SyncAttributes attributes()
public Iterator<SyncState> stateIterator()
SyncState.SyncStatepublic void addState(SyncState state)
SyncState to this Sync object.state - State which should be addedpublic boolean removeState(SyncState state)
SyncState.state - State which should be removedpublic int stateSize()
public Iterator<SyncAction> actionIterator()
SyncAction.SyncActionpublic void addAction(SyncAction action)
action - Action which should be addedpublic boolean removeAction(SyncAction action)
actionIterator.action - Action which should be removedpublic void removeAllActions()
public void removeAllStates()
public int actionSize()
public void validate()
throws InvalidObjectException
UC4ObjectInvalidObjectException is thrown.validate in class UC4ObjectInvalidObjectException - If the object is not validpublic boolean isExecutable()
UC4Objecttrue if this Object can be executed.isExecutable in class UC4ObjectCopyright © 2021. All rights reserved.