org.cougaar.tutorial.booksonline.assets
Interface GISPG

All Superinterfaces:
java.lang.Cloneable, org.cougaar.planning.ldm.dq.HasDataQuality, org.cougaar.planning.ldm.asset.PropertyGroup, java.io.Serializable
All Known Subinterfaces:
NewGISPG
All Known Implementing Classes:
GISPG.Future, GISPG.Null_GISPG, GISPGImpl

public interface GISPG
extends org.cougaar.planning.ldm.asset.PropertyGroup, org.cougaar.planning.ldm.dq.HasDataQuality


Nested Class Summary
static class GISPG.Future
          Future PG implementation for GISPG
static class GISPG.Null_GISPG
          Null_PG implementation for GISPG
 
Field Summary
static java.lang.String assetGetter
           
static java.lang.String assetSetter
           
static java.lang.Class factoryClass
          the factory class
static java.lang.String factoryMethod
          the method of factoryClass that creates this type
static java.lang.String mutableClass
          the (mutable) class type returned by factoryMethod
static GISPG nullPG
          The Null instance for indicating that the PG definitely has no value
static java.lang.Class primaryClass
          the (immutable) class type returned by domain factory
 
Method Summary
 double calcETA(java.lang.String destDepot)
           
 double getFromLat()
           
 double getFromLong()
           
 java.lang.String getNearestDepot(java.lang.String destCity, java.lang.String destState)
           
 int getRouteNumber(java.lang.String destDepot)
           
 java.lang.String getSourceCity()
           
 
Methods inherited from interface org.cougaar.planning.ldm.asset.PropertyGroup
clone, copy, getAssetGetMethod, getAssetSetMethod, getPrimaryClass, hasDataQuality, lock, lock, unlock
 
Methods inherited from interface org.cougaar.planning.ldm.dq.HasDataQuality
getDataQuality
 

Field Detail

factoryMethod

public static final java.lang.String factoryMethod
the method of factoryClass that creates this type

See Also:
Constant Field Values

mutableClass

public static final java.lang.String mutableClass
the (mutable) class type returned by factoryMethod

See Also:
Constant Field Values

factoryClass

public static final java.lang.Class factoryClass
the factory class


primaryClass

public static final java.lang.Class primaryClass
the (immutable) class type returned by domain factory


assetSetter

public static final java.lang.String assetSetter
See Also:
Constant Field Values

assetGetter

public static final java.lang.String assetGetter
See Also:
Constant Field Values

nullPG

public static final GISPG nullPG
The Null instance for indicating that the PG definitely has no value

Method Detail

getSourceCity

public java.lang.String getSourceCity()

getFromLat

public double getFromLat()

getFromLong

public double getFromLong()

calcETA

public double calcETA(java.lang.String destDepot)

getNearestDepot

public java.lang.String getNearestDepot(java.lang.String destCity,
                                        java.lang.String destState)

getRouteNumber

public int getRouteNumber(java.lang.String destDepot)