Class ServiceVersionInfo
- java.lang.Object
-
- com.esri.arcgisruntime.arcgisservices.ServiceVersionInfo
-
public final class ServiceVersionInfo extends Object
Represents version metadata for a version in a branch-versioned feature service.All properties in this object are read-only, and represent the snapshot in time when
ServiceGeodatabase.fetchVersionsAsync()
was called.To add a new version use the
ServiceVersionParameters
object.- Since:
- 100.9.0
- See Also:
ServiceGeodatabase
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VersionAccess
getAccess()
Gets the access level of the version.Calendar
getCommonAncestorDate()
Gets the timestamp of when the version was last reconciled and posted to its ancestor.Calendar
getCreationDate()
Gets the timestamp of when the version was created.String
getDescription()
Gets the description of the version.Calendar
getEvaluationDate()
Gets the timestamp of when the topology of the version's data was last validated.Calendar
getModifiedDate()
Gets the timestamp of when the data in the version was last modified.String
getName()
Gets the name of the version.Calendar
getReconcileDate()
Gets the timestamp of when the version was last reconciled with its ancestor.UUID
getVersionId()
Gets the unique ID of the version.boolean
isOwner()
Gets whether the current portal user is the owner of the version.
-
-
-
Method Detail
-
getAccess
public VersionAccess getAccess()
Gets the access level of the version.- Returns:
- a VersionAccess for the access level
- Since:
- 100.9.0
-
getCommonAncestorDate
public Calendar getCommonAncestorDate()
Gets the timestamp of when the version was last reconciled and posted to its ancestor.- Returns:
- the timestamp of when the version was last reconciled and posted to its ancestor, or null if not available
- Since:
- 100.9.0
-
getCreationDate
public Calendar getCreationDate()
Gets the timestamp of when the version was created.- Returns:
- the timestamp of when the version was created, or null if not available
- Since:
- 100.9.0
-
getDescription
public String getDescription()
Gets the description of the version.- Returns:
- the description of the version
- Since:
- 100.9.0
-
getEvaluationDate
public Calendar getEvaluationDate()
Gets the timestamp of when the topology of the version's data was last validated.- Returns:
- the timestamp of when the topology of the version's data was last validated, or null if not available
- Since:
- 100.9.0
-
isOwner
public boolean isOwner()
Gets whether the current portal user is the owner of the version.- Returns:
- true if the current portal user is the owner of the version, false otherwise
- Since:
- 100.9.0
-
getModifiedDate
public Calendar getModifiedDate()
Gets the timestamp of when the data in the version was last modified.- Returns:
- the timestamp of when the data in the version was last modified, or null if not available
- Since:
- 100.9.0
-
getName
public String getName()
Gets the name of the version.- Returns:
- the name of the version
- Since:
- 100.9.0
-
getReconcileDate
public Calendar getReconcileDate()
Gets the timestamp of when the version was last reconciled with its ancestor.- Returns:
- the timestamp of when the version was last reconciled with its ancestor, or null if not available
- Since:
- 100.9.0
-
getVersionId
public UUID getVersionId()
Gets the unique ID of the version.- Returns:
- a UUID for the unique ID of the version, or null if none
- Since:
- 100.9.0
-
-