public class PatchData
extends java.lang.Object
Constructor and Description |
---|
PatchData() |
PatchData(int id,
java.lang.String fileName,
java.util.Date uploadDate,
AnchorData anchor,
java.lang.String url) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
AnchorData |
getAnchor()
Anchor information for the patch, not present if no anchor
|
java.lang.String |
getFileName()
The name of the patch file
|
int |
getId()
The patch id
|
java.util.Date |
getUploadDate()
The upload date of the file
|
java.lang.String |
getUrl()
The url to download the patch content
|
int |
hashCode() |
void |
setAnchor(AnchorData anchor) |
void |
setFileName(java.lang.String fileName) |
void |
setId(int id) |
void |
setUploadDate(java.util.Date uploadDate) |
void |
setUrl(java.lang.String url) |
public PatchData()
public PatchData(int id, java.lang.String fileName, java.util.Date uploadDate, AnchorData anchor, java.lang.String url)
public int getId()
public void setId(int id)
public java.lang.String getFileName()
public void setFileName(java.lang.String fileName)
public java.util.Date getUploadDate()
public void setUploadDate(java.util.Date uploadDate)
public AnchorData getAnchor()
public void setAnchor(AnchorData anchor)
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object