Package gen :: Package lib :: Module placebase :: Class PlaceBase
[frames] | no frames]

Class PlaceBase

source code


Base class for place-aware objects.

Instance Methods
 
__init__(self, source=None)
Initialize a PlaceBase.
source code
 
set_place_handle(self, place_handle)
Set the database handle for Place associated with the object.
source code
str
get_place_handle(self)
Return the database handle of the Place assocated with the Event.
source code
Method Details

__init__(self, source=None)
(Constructor)

source code 

Initialize a PlaceBase.

If the source is not None, then object is initialized from values of the source object.

Parameters:
  • source (PlaceBase) - Object used to initialize the new object

set_place_handle(self, place_handle)

source code 

Set the database handle for Place associated with the object.

Parameters:
  • place_handle (str) - Place database handle

get_place_handle(self)

source code 

Return the database handle of the Place assocated with the Event.

Returns: str
Place database handle