public class RepoFileDto extends Object implements Serializable
Constructor and Description |
---|
RepoFileDto() |
Modifier and Type | Method and Description |
---|---|
long |
getId() |
Date |
getLastModified()
Gets the timestamp of the file's last modification.
|
long |
getLocalRevision() |
String |
getName() |
Long |
getParentId() |
boolean |
isNeededAsParent()
Indicates, whether this
RepoFileDto was added to a ChangeSetDto , because it was needed
as parent. |
void |
setId(long id) |
void |
setLastModified(Date lastModified) |
void |
setLocalRevision(long localRevision) |
void |
setName(String name) |
void |
setNeededAsParent(boolean neededAsParent) |
void |
setParentId(Long parentId) |
protected String |
toString_getProperties() |
String |
toString() |
public RepoFileDto()
public long getId()
public void setId(long id)
public Long getParentId()
public void setParentId(Long parentId)
public long getLocalRevision()
public void setLocalRevision(long localRevision)
public Date getLastModified()
It reflects the File.lastModified
property.
public void setLastModified(Date lastModified)
public boolean isNeededAsParent()
RepoFileDto
was added to a ChangeSetDto
, because it was needed
as parent.
If this is true
, the underlying file/directory is not dirty and does thus not need
to be transferred. The presence of this ChangeSetDto
serves only to complete the tree structure.
If this is false
, the underlying file/directory was modified and must be transferred.
public void setNeededAsParent(boolean neededAsParent)
protected String toString_getProperties()
Copyright © 2013–2019. All rights reserved.