|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sciplore.resources.Resource
org.sciplore.resources.Application
@Entity public class Application
Resource class for applications.
Resource| Constructor Summary | |
|---|---|
Application()
|
|
| Method Summary | |
|---|---|
static Application |
getApplication(Application a)
Returns an Application object from the database for an Application object. |
static Application |
getApplication(Integer id)
Returns the application object with the given identifier. |
static Application |
getApplication(String key,
String version)
Returns an application object matching key and version. |
Integer |
getId()
Returns the identifier. |
String |
getKey()
Returns the application key. |
String |
getName()
Returns the application's name. |
Date |
getReleaseDate()
Returns the release date. |
Short |
getValid()
Returns information about the validity of the record. |
String |
getVersion()
Returns the version. |
void |
setId(Integer id)
Sets the identifier. |
void |
setKey(String key)
Sets the application key. |
void |
setName(String name)
Sets the application's name. |
void |
setReleaseDate(Date releaseDate)
Sets the release date. |
void |
setValid(Short valid)
Sets information about the validity of the record. |
void |
setVersion(String version)
Sets the version. |
static Application |
sync(Application app)
Synchronizes an Application object with a record from the database. |
| Methods inherited from class org.sciplore.resources.Resource |
|---|
save |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Application()
| Method Detail |
|---|
public static Application getApplication(Application a)
a - the application object
public static Application getApplication(Integer id)
id - the identifier
public static Application getApplication(String key,
String version)
key - the keyversion - the version
public static Application sync(Application app)
app - the Application
public Integer getId()
public String getKey()
public String getName()
public Date getReleaseDate()
public Short getValid()
public String getVersion()
public void setId(Integer id)
id - the identifierpublic void setKey(String key)
key - the application keypublic void setName(String name)
name - the application's namepublic void setReleaseDate(Date releaseDate)
releaseDate - the release datepublic void setValid(Short valid)
valid - Information about the validity of the record.public void setVersion(String version)
version - the version
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||