|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
org.shredzone.repowatch.model
Class Version
java.lang.Objectorg.shredzone.repowatch.model.BaseModel
org.shredzone.repowatch.model.Version
- All Implemented Interfaces:
- Serializable
Represents a version of a package.
- Version:
- $Revision: 317 $
- See Also:
- Serialized Form
| Field Summary |
|---|
| Fields inherited from class org.shredzone.repowatch.model.BaseModel |
|---|
id |
| Constructor Summary | |
|---|---|
Version()
|
|
| Method Summary | |
|---|---|
String |
getEpoch()
Current epoch of that package. |
Date |
getFileDate()
Creation timestamp of the package file. |
String |
getFileLocation()
File location of the package file, relative to the repository base URL. |
Date |
getFirstSeen()
First time the package was seen in this repository. |
Date |
getLastSeen()
Last time the package was seen in this repository. |
Package |
getPackage()
Package this version belongs to. |
String |
getRel()
Current release of that package. |
Repository |
getRepository()
Repository this version belongs to. |
String |
getVer()
Current version of that package. |
boolean |
isDeleted()
Has the package been remove from the repository. |
void |
setDeleted(boolean deleted)
|
void |
setEpoch(String epoch)
|
void |
setFileDate(Date fileDate)
|
void |
setFileLocation(String fileLocation)
|
void |
setFirstSeen(Date firstSeen)
|
void |
setLastSeen(Date lastSeen)
|
void |
setPackage(Package pack)
|
void |
setRel(String rel)
|
void |
setRepository(Repository repo)
|
void |
setVer(String ver)
|
| Methods inherited from class org.shredzone.repowatch.model.BaseModel |
|---|
equals, getId, hashCode, setId |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
Version
public Version()
| Method Detail |
|---|
getRepository
public Repository getRepository()
Repositorythis version belongs to.
setRepository
public void setRepository(Repository repo)
getPackage
public Package getPackage()
Packagethis version belongs to.
setPackage
public void setPackage(Package pack)
getEpoch
public String getEpoch()
- Current epoch of that package.
setEpoch
public void setEpoch(String epoch)
getVer
public String getVer()
- Current version of that package.
setVer
public void setVer(String ver)
getRel
public String getRel()
- Current release of that package.
setRel
public void setRel(String rel)
getFirstSeen
public Date getFirstSeen()
- First time the package was seen in this repository.
setFirstSeen
public void setFirstSeen(Date firstSeen)
getLastSeen
public Date getLastSeen()
- Last time the package was seen in this repository.
setLastSeen
public void setLastSeen(Date lastSeen)
getFileDate
public Date getFileDate()
- Creation timestamp of the package file.
setFileDate
public void setFileDate(Date fileDate)
getFileLocation
public String getFileLocation()
- File location of the package file, relative to the repository base URL.
setFileLocation
public void setFileLocation(String fileLocation)
isDeleted
public boolean isDeleted()
- Has the package been remove from the repository.
setDeleted
public void setDeleted(boolean deleted)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2007-2011 shredzone.org. All Rights Reserved.
