This method of the Direct3dRMObject Class retrieves the object name.
public String getName();
Returns the name of the object.
setName