public class TrData extends java.lang.Object implements java.lang.Comparable, Persistent
Constructor and Description |
---|
TrData() |
TrData(java.lang.String authority,
int code,
java.lang.String name,
java.lang.String crsSource,
java.lang.String crsTarget,
java.lang.String details) |
TrData(java.lang.String authority,
int code,
java.lang.String name,
java.lang.String crsSource,
java.lang.String crsTarget,
java.lang.String detalis,
java.util.Date date) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
java.lang.String |
getAuthority() |
int |
getCode() |
java.lang.String |
getCrsSource() |
java.lang.String |
getCrsTarget() |
java.util.Date |
getDate() |
java.lang.String |
getDetails() |
java.lang.String |
getName() |
java.util.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(java.lang.String authority) |
void |
setCode(int code) |
void |
setCrsSource(java.lang.String crsSource) |
void |
setCrsTarget(java.lang.String crsTarget) |
void |
setDetails(java.lang.String details) |
void |
setName(java.lang.String name) |
void |
setProperies(java.util.Properties properies) |
void |
updateLastAccess() |
public TrData(java.lang.String authority, int code, java.lang.String name, java.lang.String crsSource, java.lang.String crsTarget, java.lang.String details)
public TrData(java.lang.String authority, int code, java.lang.String name, java.lang.String crsSource, java.lang.String crsTarget, java.lang.String detalis, java.util.Date date)
public TrData()
public java.lang.String getAuthority()
public int getCode()
public java.lang.String getName()
public java.util.Properties getProperies()
public void setProperies(java.util.Properties properies)
properies
- The properies to set.public void setAuthority(java.lang.String authority)
public void setCode(int code)
public void setName(java.lang.String name)
public java.util.Date getDate()
public void updateLastAccess()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String getCrsSource()
public void setCrsSource(java.lang.String crsSource)
public java.lang.String getCrsTarget()
public void setCrsTarget(java.lang.String crsTarget)
public java.lang.String getDetails()
public void setDetails(java.lang.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()