The getName and getSpaceDef Methods

You can get the name and the space definition of the space represented by the Space object by invoking the getName and getSpaceDef methods respectively.

Related reference