Class GUIPatch
- java.lang.Object
-
- com.logicaldoc.gui.common.client.beans.GUIPatch
-
- All Implemented Interfaces:
Serializable
public class GUIPatch extends Object implements Serializable
GUI representation of a patch.- Since:
- 8.2.1
- Author:
- Marco Meschieri - LogicalDOC
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GUIPatch()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getColor()
static String
getColor(int rating)
Date
getDate()
String
getDescription()
String
getFile()
String
getId()
String
getName()
int
getRating()
long
getSize()
boolean
isInstalled()
boolean
isLocal()
boolean
isRestart()
void
setDate(Date date)
void
setDescription(String description)
void
setFile(String file)
void
setId(String id)
void
setInstalled(boolean installed)
void
setLocal(boolean local)
void
setName(String name)
void
setRating(int rating)
void
setRestart(boolean restart)
void
setSize(long size)
String
toString()
-
-
-
Method Detail
-
getId
public String getId()
-
getDate
public Date getDate()
-
getDescription
public String getDescription()
-
getSize
public long getSize()
-
isInstalled
public boolean isInstalled()
-
setId
public void setId(String id)
-
setDate
public void setDate(Date date)
-
setDescription
public void setDescription(String description)
-
setSize
public void setSize(long size)
-
setInstalled
public void setInstalled(boolean installed)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getFile
public String getFile()
-
setFile
public void setFile(String file)
-
isRestart
public boolean isRestart()
-
setRestart
public void setRestart(boolean restart)
-
getRating
public int getRating()
-
setRating
public void setRating(int rating)
-
getColor
public static String getColor(int rating)
-
getColor
public String getColor()
-
isLocal
public boolean isLocal()
-
setLocal
public void setLocal(boolean local)
-
-