public class SyncedEntry
extends java.lang.Object
PushAPI.enumerateSyncedEntries(String, EnumerationMode)
for more
information about folders)PushAPI.enumerateSyncedEntries(String, EnumerationMode)
)Modifier and Type | Field and Description |
---|---|
protected boolean |
folder
Whether the entry corresponds to a folder or to a document.
|
protected SyncedEntriesIterator |
parentIterator
Parent iterator.
|
protected java.lang.String |
stamp
The entry stamp.
|
protected java.lang.String |
uri
The entry URI.
|
Constructor and Description |
---|
SyncedEntry()
Basic constructor.
|
SyncedEntry(java.lang.String uri,
java.lang.String stamp,
boolean folder,
SyncedEntriesIterator parentIterator)
Constructor specifying the synchronized entry content and the parent
iterator.
|
SyncedEntry(SyncedEntriesIterator parentIterator)
Constructor specifying the parent iterator which generated the entry.
|
Modifier and Type | Method and Description |
---|---|
SyncedEntriesIterator |
getParentIterator()
Get a reference to the parent iterator, which generated this synchronized entry.
|
java.lang.String |
getStamp()
Gets the value of the stamp for this entry (meaningless for a folder).
|
java.lang.String |
getUri()
Gets the URI of this synchronized entry.
|
boolean |
isFolder()
Checks whether this entry represents a folder.
|
protected void |
setFolder(boolean folder)
Sets the folder property for this entry.
|
protected void |
setStamp(java.lang.String stamp)
Sets the value of the stamp for this synchronized entry.
|
protected void |
setUri(java.lang.String uri)
Sets the value of the URI for this synchronized entry.
|
protected java.lang.String uri
protected java.lang.String stamp
protected boolean folder
protected SyncedEntriesIterator parentIterator
public SyncedEntry()
public SyncedEntry(SyncedEntriesIterator parentIterator)
parentIterator
- the parent iterator.public SyncedEntry(java.lang.String uri, java.lang.String stamp, boolean folder, SyncedEntriesIterator parentIterator)
uri
- the entry URIstamp
- the entry stampfolder
- whether the entry is a folder or a documentparentIterator
- the parent iteratorpublic boolean isFolder()
true
if this entry is a folder, false
otherwise.protected void setFolder(boolean folder)
folder
- true
if this entry should be considered as a folder,
false
otherwise.public java.lang.String getStamp()
protected void setStamp(java.lang.String stamp)
stamp
- the value of the stamp.public java.lang.String getUri()
protected void setUri(java.lang.String uri)
uri
- the value to set.public SyncedEntriesIterator getParentIterator()
Copyright © 2021 Dassault Systèmes, All Rights Reserved.