|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hd.d.pg2k.svrCore.ExhibitPropsGlobalImmutable.EPGIDiff
public static final class ExhibitPropsGlobalImmutable.EPGIDiff
Immutable record of the difference between two EPGI instances. This contains the "diffable" items.
| Field Summary | |
|---|---|
private PropertiesDiff |
locationDBDiff
The diffed location DB in properties format; non-empty else null. |
long |
locationDBTimestampNew
The new location DB timestamp; strictly positive, or zero for empty diff. |
private static long |
serialVersionUID
Serial UID. |
private PropertiesBundleDiff |
treedescDiff
The diffed treedesc in properties format; non-empty else null. |
long |
treedescTimestampNew
The new treedesc timestamp; strictly positive, or zero for empty diff. |
| Constructor Summary | |
|---|---|
ExhibitPropsGlobalImmutable.EPGIDiff()
Create an empty instance. |
|
ExhibitPropsGlobalImmutable.EPGIDiff(long locationDBTimestampNew,
PropertiesDiff locationDBDiff,
long treedescTimestampNew,
PropertiesBundleDiff treedescDiff)
Create an instance. |
|
| Method Summary | |
|---|---|
static ExhibitPropsGlobalImmutable |
applyDiff(ExhibitPropsGlobalImmutable oldEpgi,
ExhibitPropsGlobalImmutable.EPGIDiff diff)
Apply diff to derive new EPGI; never null. |
static ExhibitPropsGlobalImmutable.EPGIDiff |
createDiff(ExhibitPropsGlobalImmutable e1,
ExhibitPropsGlobalImmutable e2)
Create a diff from the old EPGI value to the new one. |
protected java.lang.Object |
readResolve()
Deserialise: use constructor for validation, defensive copying, conversion from old formats, etc. |
void |
validateObject()
Checks that the object is internally consistent. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final long locationDBTimestampNew
private final PropertiesDiff locationDBDiff
public final long treedescTimestampNew
private final PropertiesBundleDiff treedescDiff
private static final long serialVersionUID
| Constructor Detail |
|---|
public ExhibitPropsGlobalImmutable.EPGIDiff()
public ExhibitPropsGlobalImmutable.EPGIDiff(long locationDBTimestampNew,
PropertiesDiff locationDBDiff,
long treedescTimestampNew,
PropertiesBundleDiff treedescDiff)
| Method Detail |
|---|
public static ExhibitPropsGlobalImmutable.EPGIDiff createDiff(ExhibitPropsGlobalImmutable e1,
ExhibitPropsGlobalImmutable e2)
throws AllExhibitPropertiesDelta.DiffException
AllExhibitPropertiesDelta.DiffException
public static ExhibitPropsGlobalImmutable applyDiff(ExhibitPropsGlobalImmutable oldEpgi,
ExhibitPropsGlobalImmutable.EPGIDiff diff)
oldEpgi - null is treated as if an empty EPGIdiff - diff to apply; never null
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
java.io.ObjectStreamException
public void validateObject()
throws java.io.InvalidObjectException
validateObject in interface java.io.ObjectInputValidationjava.io.InvalidObjectException
|
DHD Multimedia Gallery V1.50.55 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||