public class CompTrData extends TrData
Constructor and Description |
---|
CompTrData(java.lang.String authority,
int code,
java.lang.String name,
java.lang.String crsSource,
java.lang.String crsTarget,
java.lang.String details,
TrData firstTr,
TrData secondTr) |
CompTrData(TrData firstTr,
TrData secondTr) |
Modifier and Type | Method and Description |
---|---|
TrData |
getFirstTr() |
TrData |
getSecondTr() |
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 |
setFirstTr(TrData firstTr) |
void |
setSecondTr(TrData secondTr) |
compareTo, getAuthority, getCode, getCrsSource, getCrsTarget, getDate, getDetails, getName, getProperies, setAuthority, setCode, setCrsSource, setCrsTarget, setDetails, setName, setProperies, updateLastAccess
public CompTrData(java.lang.String authority, int code, java.lang.String name, java.lang.String crsSource, java.lang.String crsTarget, java.lang.String details, TrData firstTr, TrData secondTr)
public TrData getFirstTr()
public void setFirstTr(TrData firstTr)
public TrData getSecondTr()
public void setSecondTr(TrData secondTr)
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class TrData
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class TrData
PersistenceException
public static void registerPersistence()