public class WsRelease extends Object
Constructor and Description |
---|
WsRelease()
Creates an empty WsRelease object.
|
WsRelease(String name,
String description,
Date releaseDate,
WsReleaseType releaseType)
Creates a new WsRelease object with the given name, description, release
date and release type.
|
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Gets the description of the release.
|
Long |
getId()
Gets the id of the release.
|
String |
getImage()
Gets the image associated with the release.
|
String |
getName()
Gets the name of the release.
|
Date |
getReleaseDate()
Gets the release date for the release.
|
WsReleaseType |
getReleaseType()
Gets the Release Type of the release.
|
Integer |
getSortOrder()
Gets the sort order of the release.
|
boolean |
isActive()
Is this release active?
|
void |
setActive(boolean active)
Set whether or not this release is active.
|
void |
setDescription(String description)
Sets the description of the release.
|
void |
setId(Long id)
Sets the release's id.
|
void |
setImage(String image)
Sets the image associated with the release.
|
void |
setName(String name)
Sets the name of the release.
|
void |
setReleaseDate(Date releaseDate)
Sets the release date for the release.
|
void |
setReleaseType(WsReleaseType releaseType)
Sets the Release Type of the release.
|
void |
setSortOrder(Integer sortOrder)
Sets the sort order of the release.
|
String |
toString()
Gets a string representation of this release.
|
public WsRelease()
public WsRelease(String name, String description, Date releaseDate, WsReleaseType releaseType)
name
- name of the releasedescription
- a description of the release (can be null)releaseDate
- date the release is scheduled forreleaseType
- type of the releasepublic Long getId()
public void setId(Long id)
id
- the id to setpublic String getName()
public void setName(String name)
name
- the name to setpublic String getDescription()
public void setDescription(String description)
description
- the description to setpublic Date getReleaseDate()
public void setReleaseDate(Date releaseDate)
releaseDate
- the releaseDate to setpublic WsReleaseType getReleaseType()
WsReleaseType
public void setReleaseType(WsReleaseType releaseType)
releaseType
- the releaseType to setWsReleaseType
public String getImage()
public void setImage(String image)
image
- the image to setpublic Integer getSortOrder()
public void setSortOrder(Integer sortOrder)
sortOrder
- the sortOrder to setpublic boolean isActive()
public void setActive(boolean active)
active
- is the release activeCopyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.