| java.lang.Object org.cougaar.glm.plugins.AssetUtils
AssetUtils | public class AssetUtils (Code) | | Provides convenience methods.
|
Method Summary | |
public static String | assetDesc(Asset asset) | public static String | getAssetIdentifier(Asset asset) | public static Enumeration | getGeolocLocationAtTime(Organization org, long time) | public static String | getPartNomenclature(Asset part) | public static GeolocLocation | getPreviousGeolocLocation(Organization org, long time) getPreviousGeolocLocation - given a time, return the organization's prior location
Uses LocationSchedulePG and HomeLocation. | public static Enumeration | getSupportingOrgs(Organization myOrg, Role role, long time) | public static Enumeration | getSupportingOrgs(Organization myOrg, Role role, long start, long end) | public static boolean | isAssetOfType(Asset a, String type) | public static boolean | isOrgSupporting(Organization org, Organization support_org, Role role) | public static boolean | isSupplyClassOfType(Asset asset, String type) | public static void | printRelationshipSchedule(Organization myOrg) |
getPreviousGeolocLocation | public static GeolocLocation getPreviousGeolocLocation(Organization org, long time)(Code) | | getPreviousGeolocLocation - given a time, return the organization's prior location
Uses LocationSchedulePG and HomeLocation.
|
isAssetOfType | public static boolean isAssetOfType(Asset a, String type)(Code) | | Parameters: type - java Class name (assumed to be in package org.cougaar.planning.ldm.asset) true if asset is and instance of type. |
isSupplyClassOfType | public static boolean isSupplyClassOfType(Asset asset, String type)(Code) | | Parameters: type - String describing class of resource true if Asset has SupplyClassPG and SupplyType equals type |
printRelationshipSchedule | public static void printRelationshipSchedule(Organization myOrg)(Code) | | |
|
|