org.vrspace.server.object
Class Site

java.lang.Object
  extended byjava.util.Observable
      extended byorg.vrspace.server.VRObject
          extended byorg.vrspace.server.DBObject
              extended byorg.vrspace.server.PublicDBObject
                  extended byorg.vrspace.server.OwnedDBObject
                      extended byorg.vrspace.server.object.Site
All Implemented Interfaces:
java.lang.Cloneable, Owned

public class Site
extends OwnedDBObject

Site is part of Avatar, to which Items can be attached - i.e. palms.


Field Summary
 int maxItems
          max items that can be attached to this site
 float maxMass
          max mass this site can carry
 java.lang.String name
          site name
 float rotx
          site rotation
 float roty
          site rotation
 float rotz
          site rotation
 float x
          site translation relative to avatar root
 float y
          site translation relative to avatar root
 float z
          site translation relative to avatar root
 
Fields inherited from class org.vrspace.server.DBObject
db
 
Fields inherited from class org.vrspace.server.VRObject
db_id, primitiveMap, primitives
 
Constructor Summary
Site()
           
 
Method Summary
 void add(Item item)
          add an Item to this site.
 Item get(java.lang.String name)
          Look up this site for Item with this name.
 Item[] getAll()
          Returns list of Items held by this site.
 Item remove(Item item)
          Remove an Item from this site
Not implemented.
 Item[] removeAll()
          Remove all items from this site
Not implemented.
 
Methods inherited from class org.vrspace.server.OwnedDBObject
addOwner, isOwned, notifyOwners, ownershipRequired, processEvent, removeOwner, sendEvent
 
Methods inherited from class org.vrspace.server.PublicDBObject
setValue
 
Methods inherited from class org.vrspace.server.DBObject
delete, get, put, put
 
Methods inherited from class org.vrspace.server.VRObject
arrayToString, canRead, canWrite, clone, equals, fieldToText, fromString, fromText, getClassName, getField, getFields, getId, getID, getMemebers, hasField, hasMethod, isNew, newInstance, sendResponse, setField, setField, setField, setFields, setFields, stringToArray, toString, toText, toText, toText
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public java.lang.String name
site name


x

public float x
site translation relative to avatar root


y

public float y
site translation relative to avatar root


z

public float z
site translation relative to avatar root


rotx

public float rotx
site rotation


roty

public float roty
site rotation


rotz

public float rotz
site rotation


maxItems

public int maxItems
max items that can be attached to this site


maxMass

public float maxMass
max mass this site can carry

Constructor Detail

Site

public Site()
Method Detail

add

public void add(Item item)
add an Item to this site.
Not implemented.


remove

public Item remove(Item item)
Remove an Item from this site
Not implemented.


get

public Item get(java.lang.String name)
Look up this site for Item with this name.
Not implemented.


getAll

public Item[] getAll()
Returns list of Items held by this site.
Not implemented.


removeAll

public Item[] removeAll()
Remove all items from this site
Not implemented.