This method of the Direct3dRMObject Class sets the object's name.
public void setName(String name);
getName