org.compass.gps.device.jpa.embedded
Class DefaultJpaCompassGps

java.lang.Object
  extended by org.compass.gps.impl.AbstractCompassGps
      extended by org.compass.gps.impl.SingleCompassGps
          extended by org.compass.gps.device.jpa.embedded.DefaultJpaCompassGps
All Implemented Interfaces:
CompassGps, JpaCompassGps, CompassGpsInterfaceDevice

public class DefaultJpaCompassGps
extends SingleCompassGps
implements JpaCompassGps

An extension of SingleCompassGps allows to directly get the JpaGpsDevice associted with this Gps.

Author:
kimchy

Field Summary
static String JPA_DEVICE_NAME
           
 
Fields inherited from class org.compass.gps.impl.AbstractCompassGps
devices, log
 
Constructor Summary
DefaultJpaCompassGps()
           
DefaultJpaCompassGps(Compass compass)
           
 
Method Summary
 JpaGpsDevice getJpaGpsDevice()
          Returns the Jps Gps device associated with this Compass Gps.
 
Methods inherited from class org.compass.gps.impl.SingleCompassGps
doIndex, doStart, doStop, executeForIndex, executeForMirror, getIndexCompass, getMappingForEntityForIndex, getMappingForEntityForIndex, getMirrorCompass, hasMappingForEntityForIndex, hasMappingForEntityForIndex, hasMappingForEntityForMirror, hasMappingForEntityForMirror, setCompass, setIndexProperties, setIndexSettings, setIndexSettings, setIndexSettings
 
Methods inherited from class org.compass.gps.impl.AbstractCompassGps
addGpsDevice, finalize, getGpsDevice, getMappingForEntity, getRootMappingForEntity, getRootMappingForEntity, hasMappingForEntity, hasMappingForEntity, hasRootMappingForEntity, hasRootMappingForEntity, index, index, index, index, isPerformingIndexOperation, isRunning, refresh, setGpsDevices, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.compass.gps.CompassGps
addGpsDevice, index, index, index, index, isPerformingIndexOperation, isRunning, setGpsDevices, start, stop
 

Field Detail

JPA_DEVICE_NAME

public static final String JPA_DEVICE_NAME
See Also:
Constant Field Values
Constructor Detail

DefaultJpaCompassGps

public DefaultJpaCompassGps()

DefaultJpaCompassGps

public DefaultJpaCompassGps(Compass compass)
Method Detail

getJpaGpsDevice

public JpaGpsDevice getJpaGpsDevice()
Returns the Jps Gps device associated with this Compass Gps. The device is registered under JPA_DEVICE_NAME.

Specified by:
getJpaGpsDevice in interface JpaCompassGps


Copyright (c) 2004-2009 The Compass Project.