public class RepositoryFileInfo extends Object implements Serializable
SynchronizationInfo.getRepositoryFileInfo()
,
Serialized FormConstructor and Description |
---|
RepositoryFileInfo(String id,
String path,
String version,
Date lastModified,
long size,
boolean checkedOut,
String checkedOutBy)
Initializing constructor that sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getCheckedOutBy()
Gets the user who has the repository file checked out, if it is checked out.
|
String |
getId()
Gets the unique identifier of the repository file.
|
Date |
getLastModified()
Gets the date on which the repository file was last modified.
|
String |
getPath()
Gets the full path to the repository file.
|
long |
getSize()
Gets the size (in bytes) of the repository file.
|
String |
getVersion()
Gets the latest version of the repository file.
|
int |
hashCode() |
boolean |
isCheckedOut()
Indicates whether the repository file is checked out.
|
String |
toString() |
public RepositoryFileInfo(String id, String path, String version, Date lastModified, long size, boolean checkedOut, String checkedOutBy)
It is not intended or recommended that the consumer of the API construct these objects.
id
- The unique identifier for the repository file.path
- The full path to the repository file.version
- The version of the repository file.lastModified
- The date on which the repository file was last modified.size
- The size (in bytes) of the repository file.checkedOut
- Indicates whether the repository is checked out.checkedOutBy
- If the file is checked out, who has it checked out.public String getId()
public String getPath()
public String getVersion()
public Date getLastModified()
public long getSize()
public boolean isCheckedOut()
true
if the repository file is checked out, false
otherwise.public String getCheckedOutBy()
null
.<i>Copyright (c) 2022, SAS Institute Inc., Cary, NC, USA</i>