public class TrData extends Object implements Comparable, Persistent
Constructor and Description |
---|
TrData() |
TrData(String authority,
int code,
String name,
String crsSource,
String crsTarget,
String details) |
TrData(String authority,
int code,
String name,
String crsSource,
String crsTarget,
String detalis,
Date date) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Object o) |
String |
getAuthority() |
int |
getCode() |
String |
getCrsSource() |
String |
getCrsTarget() |
Date |
getDate() |
String |
getDetails() |
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 |
setCrsSource(String crsSource) |
void |
setCrsTarget(String crsTarget) |
void |
setDetails(String details) |
void |
setName(String name) |
void |
setProperies(Properties properies) |
void |
updateLastAccess() |
public TrData(String authority, int code, String name, String crsSource, String crsTarget, String details)
public TrData(String authority, int code, String name, String crsSource, String crsTarget, String detalis, Date date)
public TrData()
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 Comparable
public String getCrsSource()
public void setCrsSource(String crsSource)
public String getCrsTarget()
public void setCrsTarget(String crsTarget)
public String getDetails()
public void setDetails(String details)
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
PersistenceException
public static void registerPersistence()