com.threerings.crowd.data
Class OccupantInfo.NameUpdater

java.lang.Object
  extended by com.threerings.crowd.data.OccupantInfo.NameUpdater
All Implemented Interfaces:
OccupantInfo.Updater<OccupantInfo>
Enclosing class:
OccupantInfo

public static class OccupantInfo.NameUpdater
extends Object
implements OccupantInfo.Updater<OccupantInfo>

An update to dispatch when an occupant's name changes.


Field Summary
protected  Name _name
           
 
Constructor Summary
OccupantInfo.NameUpdater(Name name)
           
 
Method Summary
 boolean update(OccupantInfo info)
          Make whatever changes are desired to your OccupantInfo here.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_name

protected Name _name
Constructor Detail

OccupantInfo.NameUpdater

public OccupantInfo.NameUpdater(Name name)
Method Detail

update

public boolean update(OccupantInfo info)
Description copied from interface: OccupantInfo.Updater
Make whatever changes are desired to your OccupantInfo here.

Specified by:
update in interface OccupantInfo.Updater<OccupantInfo>
Returns:
true if the record was modified and should be published, false if no modifications were made (it will not be published).