Class ServiceVersionInfo
- java.lang.Object
-
- com.esri.arcgisruntime.arcgisservices.ServiceVersionInfo
-
public final class ServiceVersionInfo extends java.lang.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.java.util.Calendar
getCommonAncestorDate()
Gets the timestamp of when the version was last reconciled and posted to its ancestor.java.util.Calendar
getCreationDate()
Gets the timestamp of when the version was created.java.lang.String
getDescription()
Gets the description of the version.java.util.Calendar
getEvaluationDate()
Gets the timestamp of when the topology of the version's data was last validated.java.util.Calendar
getModifiedDate()
Gets the timestamp of when the data in the version was last modified.java.lang.String
getName()
Gets the name of the version.java.util.Calendar
getReconcileDate()
Gets the timestamp of when the version was last reconciled with its ancestor.java.util.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 java.util.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 java.util.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 java.lang.String getDescription()
Gets the description of the version.- Returns:
- the description of the version
- Since:
- 100.9.0
-
getEvaluationDate
public java.util.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 java.util.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 java.lang.String getName()
Gets the name of the version.- Returns:
- the name of the version
- Since:
- 100.9.0
-
getReconcileDate
public java.util.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 java.util.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
-
-