| org.cougaar.logistics.plugin.trans.TranscomDataXMLize org.cougaar.logistics.plugin.trans.GenericDataXMLize
All known Subclasses: org.cougaar.logistics.plugin.trans.SeaDataXMLize,
GenericDataXMLize | public class GenericDataXMLize extends TranscomDataXMLize (Code) | | Create either an XML document in the Vishnu Data format or Vishnu objects from ALP objects.
Adds fields for physical dimensions to tasks and assets.
|
warnAboutMissingSpeed | boolean warnAboutMissingSpeed(Code) | | |
GenericDataXMLize | public GenericDataXMLize(boolean direct, Logger logger)(Code) | | |
getPassengerCapacity | protected double getPassengerCapacity(GLMAsset asset)(Code) | | |
getQuantity | protected double getQuantity(Asset asset)(Code) | | returns 1 if asset isn't an aggregate
|
getWeightCapacity | protected double getWeightCapacity(GLMAsset asset)(Code) | | |
isVehicle | protected boolean isVehicle(GLMAsset asset)(Code) | |
Something is a vehicle if
a) it has a ground vehicle PG OR
b) it has a movability PG with a cargo category code whose
first character is either R or A
true if asset is a vehicle |
processAsset | protected boolean processAsset(Object object, Object taskOrAsset)(Code) | | Create XML for asset, subclass to add fields
NOTE : field names should match those in .dff file
Parameters: object - node representing asset Parameters: taskOrAsset - asset being translated true if should add object to list of new objects |
processTask | protected boolean processTask(Object object, Object taskOrAsset)(Code) | | Create XML for task, subclass to add fields
NOTE : field names should match those in .dff file
Parameters: object - node representing task Parameters: taskOrAsset - task being translated true if should add object to list of new objects |
|
|