org.hd.d.pg2k.svrCore
Class AllExhibitPropertiesDelta.Change

java.lang.Object
  extended by org.hd.d.pg2k.svrCore.AllExhibitPropertiesDelta.Change
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AllExhibitPropertiesDelta.Change>
Enclosing class:
AllExhibitPropertiesDelta

private static final class AllExhibitPropertiesDelta.Change
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<AllExhibitPropertiesDelta.Change>

Data for new/changed exhibit; immutable and serialisable.


Field Summary
 ExhibitPropsComputable epc
          EPC; may be null.
 ExhibitPropsLoadable epl
          EPL; may be null.
 ExhibitStaticAttr esa
          ESA; never null.
private static long serialVersionUID
          Serialisation ID.
 
Constructor Summary
AllExhibitPropertiesDelta.Change(ExhibitStaticAttr esa, ExhibitPropsLoadable epl, ExhibitPropsComputable epc)
           
 
Method Summary
 int compareTo(AllExhibitPropertiesDelta.Change other)
          Provide a total ordering, using name as the primary sort field.
 boolean equals(java.lang.Object obj)
          Equal iff all fields are identical.
 int hashCode()
          The hash is based on the the exhibit name.
 java.lang.String toString()
          Human-readable summary.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Serialisation ID.

See Also:
Constant Field Values

esa

public final ExhibitStaticAttr esa
ESA; never null.


epl

public final ExhibitPropsLoadable epl
EPL; may be null.


epc

public final ExhibitPropsComputable epc
EPC; may be null.

Constructor Detail

AllExhibitPropertiesDelta.Change

public AllExhibitPropertiesDelta.Change(ExhibitStaticAttr esa,
                                        ExhibitPropsLoadable epl,
                                        ExhibitPropsComputable epc)
Method Detail

equals

public boolean equals(java.lang.Object obj)
Equal iff all fields are identical.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
The hash is based on the the exhibit name.

Overrides:
hashCode in class java.lang.Object

compareTo

public int compareTo(AllExhibitPropertiesDelta.Change other)
Provide a total ordering, using name as the primary sort field.

Specified by:
compareTo in interface java.lang.Comparable<AllExhibitPropertiesDelta.Change>

toString

public java.lang.String toString()
Human-readable summary.

Overrides:
toString in class java.lang.Object

DHD Multimedia Gallery V1.50.55

Copyright (c) 1996-2008, Damon Hart-Davis. All rights reserved.