public class RepositoryFileInfo extends Object implements Serializable
Constructor and Description |
---|
RepositoryFileInfo(String identifier,
String path,
String version,
Date lastModifiedDate,
long size,
boolean checkedOut,
String checkedOutBy)
Initializing constructor which sets the values of all variables.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Indicate whether some other object is "equal to" this one.
|
String |
getCheckedOutBy()
Returns who has this repository file checked out, if it is checked out.
|
String |
getIdentifier()
Returns the unique identifier of this repository file.
|
Date |
getLastModifiedDate()
Returns the last date this repository file was modified.
|
String |
getPath()
Returns the full path of this repository file.
|
long |
getSize()
Returns the size of this repository file (in bytes).
|
String |
getVersion()
Returns the latest version of this repository file.
|
int |
hashCode()
Return a hash code value for the object.
|
boolean |
isCheckedOut()
Is this repository file currently checked out?
|
String |
toString()
Return a string representation of the object.
|
public RepositoryFileInfo(String identifier, String path, String version, Date lastModifiedDate, long size, boolean checkedOut, String checkedOutBy)
It is not intended or recommended that the consumer of the API construct these objects. They should only be
retrieved from service calls such as RepositoryResourceService.getSynchronizationInfo(String)
.
identifier
- The unique identifier for the repository file.path
- The full path of the repository file.version
- The version of the repository file.lastModifiedDate
- The date the repository file was last modified.size
- The size of the repository file.checkedOut
- Whether this repository is checked out.checkedOutBy
- If this repository file is checked out, who has it checked out.public String getIdentifier()
public String getPath()
public String getVersion()
public Date getLastModifiedDate()
public long getSize()
public boolean isCheckedOut()
true
if this repository file is currently checked out, false
otherwise.public String getCheckedOutBy()
null
.public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public String toString()
toString
in class Object
Object.toString()
Copyright (c) 2017, SAS Institute Inc., Cary, NC, USA