@Entity public class Release extends Object implements Serializable
Constructor and Description |
---|
Release()
Instantiates a new release.
|
Release(String id,
String name,
String url,
int packagesNmb,
String description,
boolean onLine,
long insertTime,
long latestUpdate,
Long endReleaseDate,
List<Package> listPackages)
Instantiates a new release.
|
Release(String id,
String name,
String url,
Long endReleaseDate)
Instantiates a new release.
|
Release(String id,
String name,
String url,
Long endReleaseDate,
List<Package> listPackages)
Instantiates a new release.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the description.
|
String |
getId()
Gets the id.
|
long |
getInsertTime()
Gets the insert time.
|
int |
getInternalId()
Gets the internal id.
|
long |
getLatestUpdate()
Gets the latest update.
|
List<Package> |
getListPackages()
Gets the list packages.
|
String |
getName()
Gets the name.
|
int |
getPackagesNmb()
Gets the packages nmb.
|
Long |
getReleaseDate()
Gets the release date.
|
Long |
getStartReleaseDate()
Gets the start release date.
|
String |
getUrl()
Gets the url.
|
boolean |
isOnLine()
Checks if is on line.
|
void |
setDescription(String description)
Sets the description.
|
void |
setId(String id)
Sets the id.
|
void |
setInsertTime(long insertTime)
Sets the insert time.
|
void |
setInternalId(int internalId)
Sets the internal id.
|
void |
setLatestUpdate(long latestUpdate)
Sets the latest update.
|
void |
setListPackages(List<Package> listPackages)
Sets the list packages.
|
void |
setName(String name)
Sets the name.
|
void |
setOnLine(boolean onLine)
Sets the on line.
|
void |
setPackagesNmb(int i)
Sets the packages nmb.
|
void |
setReleaseDate(Long releaseDate)
Sets the release date.
|
void |
setStartReleaseDate(Long startReleaseDate)
Sets the start release date.
|
void |
setUrl(String url)
Sets the url.
|
String |
toString() |
public static final String ID_FIELD
public Release()
public Release(String id, String name, String url, Long endReleaseDate)
id
- the idname
- the nameurl
- the urlendReleaseDate
- the end release datepublic Release(String id, String name, String url, Long endReleaseDate, List<Package> listPackages)
id
- the idname
- the nameurl
- the urlendReleaseDate
- the end release datelistPackages
- the list packagespublic Release(String id, String name, String url, int packagesNmb, String description, boolean onLine, long insertTime, long latestUpdate, Long endReleaseDate, List<Package> listPackages)
id
- the idname
- the nameurl
- the urlpackagesNmb
- the packages nmbdescription
- the descriptiononLine
- the on lineinsertTime
- the insert timelatestUpdate
- the latest updateendReleaseDate
- the end release datelistPackages
- the list packagespublic int getInternalId()
public String getId()
public String getName()
public String getUrl()
public List<Package> getListPackages()
public void setInternalId(int internalId)
internalId
- the new internal idpublic void setId(String id)
id
- the new idpublic void setName(String name)
name
- the new namepublic void setUrl(String url)
url
- the new urlpublic void setListPackages(List<Package> listPackages)
listPackages
- the new list packagespublic void setPackagesNmb(int i)
i
- the new packages nmbpublic int getPackagesNmb()
public long getInsertTime()
public void setInsertTime(long insertTime)
insertTime
- the new insert timepublic String getDescription()
public boolean isOnLine()
public void setDescription(String description)
description
- the new descriptionpublic void setOnLine(boolean onLine)
onLine
- the new on linepublic long getLatestUpdate()
public void setLatestUpdate(long latestUpdate)
latestUpdate
- the new latest updatepublic Long getReleaseDate()
public void setReleaseDate(Long releaseDate)
releaseDate
- the releaseDate to setpublic Long getStartReleaseDate()
public void setStartReleaseDate(Long startReleaseDate)
startReleaseDate
- the startReleaseDate to setCopyright © 2016. All Rights Reserved.