public class CrsData extends Object implements Comparable, Persistent
| Constructor and Description |
|---|
CrsData() |
CrsData(String authority,
int code,
String name) |
CrsData(String authority,
int code,
String name,
Date date) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
String |
getAuthority() |
int |
getCode() |
Date |
getDate() |
String |
getName() |
Properties |
getProperies() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistence() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setAuthority(String authority) |
void |
setCode(int code) |
void |
setName(String name) |
void |
setProperies(Properties properies) |
void |
updateLastAccess() |
public String getAuthority()
public int getCode()
public String getName()
public Properties getProperies()
public void setProperies(Properties properies)
properies - The properies to set.public void setAuthority(String authority)
public void setCode(int code)
public void setName(String name)
public Date getDate()
public void updateLastAccess()
public int compareTo(Object o)
compareTo in interface Comparablepublic void saveToState(PersistentState state) throws PersistenceException
PersistentsaveToState in interface PersistentPersistenceExceptionpublic void loadFromState(PersistentState state) throws PersistenceException
PersistentloadFromState in interface PersistentPersistenceExceptionpublic static void registerPersistence()