com.partnersoft.maps.model
Class AbstractModuleKit

java.lang.Object
  extended by com.partnersoft.maps.model.AbstractModuleKit

public abstract class AbstractModuleKit
extends java.lang.Object

Basic ModuleKit containing app, mapset, module, and editActor links. Module is set by mapset passed. Startup and shutdown methods are not called from within this class.

Copyright 2008 Partner Software, Inc.

Version:
$Id$
Author:
Rich Stepanski

Field Summary
protected  MapEditActor actor
           
protected  java.lang.String roverDataType
           
protected  java.lang.String roverGraphicType
           
protected  java.lang.String sourceDataType
           
protected  java.lang.String sourceGraphicType
           
 
Constructor Summary
AbstractModuleKit(MapApp app, MapSet mapset)
           
AbstractModuleKit(MapApp app, MapSet mapset, java.lang.String roverDataType, java.lang.String roverGraphicType)
           
 
Method Summary
 MapEditActor getActor()
           
 MapApp getApp()
           
 MapSet getMapset()
           
 Module getModule()
           
 java.lang.String getRoverDataType()
          Returns data type generated by this kit.
 java.lang.String getRoverGraphicType()
          Returns graphic type generated by this kit.
 java.lang.String getSourceDataType()
          Returns data type manipulated by this kit.
 java.lang.String getSourceGraphicType()
          Returns graphic type manipulated by this kit.
abstract  void shutdown()
          Cleanup work for this kit, intended to be run from a shutdown script before closing.
abstract  void startup()
          Initialization work for this kit, intended to be run from a startup script after creation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

actor

protected MapEditActor actor

roverDataType

protected java.lang.String roverDataType

roverGraphicType

protected java.lang.String roverGraphicType

sourceDataType

protected java.lang.String sourceDataType

sourceGraphicType

protected java.lang.String sourceGraphicType
Constructor Detail

AbstractModuleKit

public AbstractModuleKit(MapApp app,
                         MapSet mapset)

AbstractModuleKit

public AbstractModuleKit(MapApp app,
                         MapSet mapset,
                         java.lang.String roverDataType,
                         java.lang.String roverGraphicType)
Method Detail

getApp

public final MapApp getApp()

getMapset

public final MapSet getMapset()

getModule

public final Module getModule()

getActor

public final MapEditActor getActor()

getRoverDataType

public java.lang.String getRoverDataType()
Returns data type generated by this kit.

Returns:
- Data type generated by this kit.

getRoverGraphicType

public java.lang.String getRoverGraphicType()
Returns graphic type generated by this kit.

Returns:
- graphic type generated by this kit.

getSourceGraphicType

public java.lang.String getSourceGraphicType()
Returns graphic type manipulated by this kit.

Returns:
- graphic type manipulated by this kit.

getSourceDataType

public java.lang.String getSourceDataType()
Returns data type manipulated by this kit.

Returns:
- Data type manipulated by this kit.

startup

public abstract void startup()
Initialization work for this kit, intended to be run from a startup script after creation.


shutdown

public abstract void shutdown()
Cleanup work for this kit, intended to be run from a shutdown script before closing.