org.cougaar.tutorial.booksonline.assets
Interface VehiclePG

All Superinterfaces:
java.lang.Cloneable, org.cougaar.planning.ldm.dq.HasDataQuality, org.cougaar.planning.ldm.asset.PropertyGroup, java.io.Serializable
All Known Subinterfaces:
NewVehiclePG
All Known Implementing Classes:
VehiclePG.Future, VehiclePG.Null_VehiclePG, VehiclePGImpl

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


Nested Class Summary
static class VehiclePG.Future
          Future PG implementation for VehiclePG
static class VehiclePG.Null_VehiclePG
          Null_PG implementation for VehiclePG
 
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 VehiclePG 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
 int getCapacity()
          How much can it hold
 int getContainers()
          number of loads waiting for this asset
 boolean getFree()
          vehicle availability
 int getLoad()
          current load
 java.lang.String getRegion()
          what region the vehicle serves
 java.lang.String getType()
          type of vehicle(plane or truck)
 java.lang.String getVid()
          Vehicle ID
 
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 VehiclePG nullPG
The Null instance for indicating that the PG definitely has no value

Method Detail

getType

public java.lang.String getType()
type of vehicle(plane or truck)


getCapacity

public int getCapacity()
How much can it hold


getRegion

public java.lang.String getRegion()
what region the vehicle serves


getLoad

public int getLoad()
current load


getVid

public java.lang.String getVid()
Vehicle ID


getFree

public boolean getFree()
vehicle availability


getContainers

public int getContainers()
number of loads waiting for this asset