New gendobj added the set<DSet>() method.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@972 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2002-02-08 23:54:25 +00:00
parent 36e70e902d
commit 05a8a19a12
@@ -1,5 +1,5 @@
//
// $Id: PlaceObject.java,v 1.1 2002/02/08 23:10:36 mdb Exp $
// $Id: PlaceObject.java,v 1.2 2002/02/08 23:54:25 mdb Exp $
package com.threerings.crowd.data;
@@ -70,4 +70,15 @@ public class PlaceObject extends DObject
{
requestElementUpdate(OCCUPANT_INFO, elem);
}
/**
* Requests that the <code>occupantInfo</code> field be set to the
* specified value. Generally one only adds, updates and removes
* elements of a distributed set, but certain situations call for a
* complete replacement of the set value.
*/
public void setOccupantInfo (DSet value)
{
requestAttributeChange(OCCUPANT_INFO, value);
}
}