org.cougaar.tutorial.booksonline.assets
Class GISPGImpl
java.lang.Object
java.beans.SimpleBeanInfo
org.cougaar.tutorial.booksonline.assets.GISPGImpl
- All Implemented Interfaces:
- java.beans.BeanInfo, java.lang.Cloneable, GISPG, org.cougaar.planning.ldm.dq.HasDataQuality, NewGISPG, org.cougaar.planning.ldm.asset.NewPropertyGroup, org.cougaar.planning.ldm.asset.PropertyGroup, java.io.Serializable
- Direct Known Subclasses:
- GISPGImpl.DQ
- public class GISPGImpl
- extends java.beans.SimpleBeanInfo
- implements NewGISPG, java.lang.Cloneable
- See Also:
- Serialized Form
| Fields inherited from interface java.beans.BeanInfo |
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32 |
| Methods inherited from class java.beans.SimpleBeanInfo |
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, loadImage |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GISPGImpl
public GISPGImpl()
GISPGImpl
public GISPGImpl(GISPG original)
getSourceCity
public java.lang.String getSourceCity()
- Specified by:
getSourceCity in interface GISPG
setSourceCity
public void setSourceCity(java.lang.String sourceCity)
- Specified by:
setSourceCity in interface NewGISPG
getFromLat
public double getFromLat()
- Specified by:
getFromLat in interface GISPG
setFromLat
public void setFromLat(double fromLat)
- Specified by:
setFromLat in interface NewGISPG
getFromLong
public double getFromLong()
- Specified by:
getFromLong in interface GISPG
setFromLong
public void setFromLong(double fromLong)
- Specified by:
setFromLong in interface NewGISPG
getGis
public GISBehavior getGis()
- Specified by:
getGis in interface NewGISPG
setGis
public void setGis(GISBehavior _gis)
- Specified by:
setGis in interface NewGISPG
calcETA
public double calcETA(java.lang.String destDepot)
- Specified by:
calcETA in interface GISPG
getNearestDepot
public java.lang.String getNearestDepot(java.lang.String destCity,
java.lang.String destState)
- Specified by:
getNearestDepot in interface GISPG
getRouteNumber
public int getRouteNumber(java.lang.String destDepot)
- Specified by:
getRouteNumber in interface GISPG
hasDataQuality
public boolean hasDataQuality()
- Specified by:
hasDataQuality in interface org.cougaar.planning.ldm.asset.PropertyGroup
getDataQuality
public org.cougaar.planning.ldm.dq.DataQuality getDataQuality()
- Specified by:
getDataQuality in interface org.cougaar.planning.ldm.dq.HasDataQuality
lock
public org.cougaar.planning.ldm.asset.PropertyGroup lock(java.lang.Object key)
- Specified by:
lock in interface org.cougaar.planning.ldm.asset.PropertyGroup
lock
public org.cougaar.planning.ldm.asset.PropertyGroup lock()
- Specified by:
lock in interface org.cougaar.planning.ldm.asset.PropertyGroup
unlock
public org.cougaar.planning.ldm.asset.NewPropertyGroup unlock(java.lang.Object key)
- Specified by:
unlock in interface org.cougaar.planning.ldm.asset.PropertyGroup
clone
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
- Specified by:
clone in interface org.cougaar.planning.ldm.asset.PropertyGroup
- Throws:
java.lang.CloneNotSupportedException
copy
public org.cougaar.planning.ldm.asset.PropertyGroup copy()
- Specified by:
copy in interface org.cougaar.planning.ldm.asset.PropertyGroup
getPrimaryClass
public java.lang.Class getPrimaryClass()
- Specified by:
getPrimaryClass in interface org.cougaar.planning.ldm.asset.PropertyGroup
getAssetGetMethod
public java.lang.String getAssetGetMethod()
- Specified by:
getAssetGetMethod in interface org.cougaar.planning.ldm.asset.PropertyGroup
getAssetSetMethod
public java.lang.String getAssetSetMethod()
- Specified by:
getAssetSetMethod in interface org.cougaar.planning.ldm.asset.PropertyGroup
getPropertyDescriptors
public java.beans.PropertyDescriptor[] getPropertyDescriptors()
- Specified by:
getPropertyDescriptors in interface java.beans.BeanInfo