| java.lang.Object org.cougaar.planning.ldm.plan.ClusterObjectFactoryImpl
All known Subclasses: org.cougaar.planning.ldm.PlanningFactoryImpl,
ClusterObjectFactoryImpl | public class ClusterObjectFactoryImpl implements ClusterObjectFactory(Code) | | basic implementation of a cluster object factory.
Most of the factory methods do little but call the zero-arg constructor
of the FooImpl class.
|
Method Summary | |
public Aggregation | createAggregation(Plan aPlan, Task aTask, Composition aComposition, AllocationResult estimatedresult) | public Allocation | createAllocation(Plan aPlan, Task aTask, Asset anAsset, AllocationResult estimatedresult, Role aRole) | public AssetTransfer | createAssetTransfer(Plan aPlan, Task aTask, Asset anAsset, Schedule aSchedule, Asset toAsset, AllocationResult estimatedresult, Role aRole) | public Disposition | createDisposition(Plan aPlan, Task aTask, AllocationResult result) | public Expansion | createExpansion(Plan aPlan, Task aTask, Workflow aWorkflow, AllocationResult estimatedresult) | public Disposition | createFailedDisposition(Plan aPlan, Task aTask, AllocationResult failure) | public TransferableTransfer | createTransferableTransfer(Transferable aTransferable, Asset anAsset) | public MessageAddress | getMessageAddress() | public UID | getNextUID() | public Plan | getRealityPlan() | public Verb | getVerb(String v) | protected Class | loadClass(String className) | public AllocationResult | newAVAllocationResult(double rating, boolean success, AspectValue[] aspectvalues) | public AllocationResult | newAVPhasedAllocationResult(double rating, boolean success, AspectValue[] rollupavs, Collection phasedresults) | public NewAlert | newAlert() | public NewAlertParameter | newAlertParameter() | public AllocationResult | newAllocationResult(double rating, boolean success, int[] aspecttypes, double[] result) | public AllocationResult | newAllocationResult(double rating, boolean success, AspectValue[] avrs) | public NewAssetAssignment | newAssetAssignment() | public AssetRescind | newAssetRescind(Asset asset, Asset rescindeeAsset, Schedule rescindSchedule) | public NewAssetVerification | newAssetVerification() | public NewAssetVerification | newAssetVerification(Asset asset, Asset assignee, Schedule schedule) | public NewAssignedAvailabilityElement | newAssignedAvailabilityElement() | public NewAssignedAvailabilityElement | newAssignedAvailabilityElement(Asset assignee, long startTime, long endTime) | public NewSchedule | newAssignedAvailabilitySchedule(Enumeration availElements) Build an asset transfer availabity schedule. | public NewSchedule | newAssignedAvailabilitySchedule() | public NewAssignedRelationshipElement | newAssignedRelationshipElement() | public NewAssignedRelationshipElement | newAssignedRelationshipElement(Asset assetA, Role roleA, Asset assetB, long startTime, long endTime) | public NewAssignedRelationshipElement | newAssignedRelationshipElement(Relationship relationship) | public NewSchedule | newAssignedRelationshipSchedule(Enumeration elements) Create an assigned relationship schedule. | public NewSchedule | newAssignedRelationshipSchedule() Create an empty assigned relationship schedule. | public BulkEstimate | newBulkEstimate(Task atask, List prefsets, double conf) | public NewComposition | newComposition() | public NewConstraint | newConstraint() | public NewDeletion | newDeletion() | public NewItineraryElement | newItineraryElement() | public NewSchedule | newLocationRangeSchedule(Enumeration locationRangeElements) Create a location range schedule. | public NewLocationRangeScheduleElement | newLocationRangeScheduleElement() | public NewSchedule | newLocationSchedule(Enumeration locationElements) Create a location schedule. | public NewLocationScheduleElement | newLocationScheduleElement() | public NewMPTask | newMPTask() | public NewNotification | newNotification() | public AllocationResult | newPhasedAllocationResult(double rating, boolean success, int[] aspecttypes, double[] rollup, Enumeration allresults) | public AllocationResult | newPhasedAllocationResult(double rating, boolean success, AspectValue[] avs, Enumeration allresults) | public AllocationResult | newPhasedAllocationResult(double rating, boolean success, AspectValue[] avs, Collection allresults) | public Policy | newPolicy(String policyType) | public Preference | newPreference(int aspecttype, ScoringFunction scorefunction) | public Preference | newPreference(int aspecttype, ScoringFunction scorefunction, double aweight) | public NewPrepositionalPhrase | newPrepositionalPhrase() | public PrepositionalPhrase | newPrepositionalPhrase(String s, Object io) | public Relationship | newRelationship(Role role1, HasRelationships object1, HasRelationships object2, TimeSpan timeSpan) | public Relationship | newRelationship(Role role1, HasRelationships object1, HasRelationships object2, long startTime, long endTime) newRelationship - returns a Relationship
Parameters: role1 - Role for object1 Parameters: object1 - HasRelationships which has role1 Parameters: object2 - HasRelationships which is the other half of the relationship, role set at role1.getConverse() Parameters: startTime - long which specifies the start of the relationship Parameters: endTime - long which specifies the end of the relationship. | public Relationship | newRelationship(AssignedRelationshipElement assignedRelationship, Asset asset1, Asset asset2) | public NewRelationshipSchedule | newRelationshipSchedule(HasRelationships hasRelationships) Build an empty relationship schedule for the specified HasRelationships. | public NewRelationshipSchedule | newRelationshipSchedule(HasRelationships hasRelationships, Collection relationships) Build a new relationship schedule for the specified HasRelationships.
Parameters: hasRelationships - HasRelationships to which the relationship schedule applies. | public NewReport | newReport() | public NewSchedule | newSchedule(Enumeration scheduleElements) Create a schedule that contains different types of scheduleelements. | public NewScheduleElement | newScheduleElement(Date start, Date end) | public NewSchedule | newSimpleSchedule(Date start, Date end) Build a new simple schedule that contains only one start and end
date. | public NewSchedule | newSimpleSchedule(long startTime, long endTime) Build a new simple schedule that contains only one start and end
date. | public NewTask | newTask() | public NewTask | newTask(UID uid) | public TaskRescind | newTaskRescind(Task task, MessageAddress destination) | public TaskRescind | newTaskRescind(UID taskUID, MessageAddress destination) | public TaskRescind | newTaskRescind(UID taskUID, MessageAddress destination, boolean deleted) | public NewTransferableAssignment | newTransferableAssignment() | public NewTransferableRescind | newTransferableRescind() | public NewTransferableTransfer | newTransferableTransfer() | public NewTransferableVerification | newTransferableVerification(Transferable t) | public NewWorkflow | newWorkflow() | public NewTask | shadowTask(Task t) |
newAllocationResult | public AllocationResult newAllocationResult(double rating, boolean success, int[] aspecttypes, double[] result)(Code) | | |
newAssignedRelationshipSchedule | public NewSchedule newAssignedRelationshipSchedule(Enumeration elements)(Code) | | Create an assigned relationship schedule. This schedule is a container
of AssignedRelationshipElements. Should only be used by logic providers
in handling new/modified/removed AssetTransfers
Parameters: elements - Enumeration{AssignedRelationshipElement} See Also: org.cougaar.planning.ldm.plan.AssignedRelationshipElement |
newPhasedAllocationResult | public AllocationResult newPhasedAllocationResult(double rating, boolean success, int[] aspecttypes, double[] rollup, Enumeration allresults)(Code) | | |
newRelationship | public Relationship newRelationship(Role role1, HasRelationships object1, HasRelationships object2, TimeSpan timeSpan)(Code) | | newRelationship - returns a Relationship
Parameters: role1 - Role for object1 Parameters: object1 - HasRelationships which has role1 Parameters: object2 - HasRelationships which is the other half of the relationship, role set at role1.getConverse() Parameters: timeSpan - TimeSpan for which the relationship is valid |
newRelationship | public Relationship newRelationship(Role role1, HasRelationships object1, HasRelationships object2, long startTime, long endTime)(Code) | | newRelationship - returns a Relationship
Parameters: role1 - Role for object1 Parameters: object1 - HasRelationships which has role1 Parameters: object2 - HasRelationships which is the other half of the relationship, role set at role1.getConverse() Parameters: startTime - long which specifies the start of the relationship Parameters: endTime - long which specifies the end of the relationship. See Also: org.cougaar.util.TimeSpan |
newRelationship | public Relationship newRelationship(AssignedRelationshipElement assignedRelationship, Asset asset1, Asset asset2)(Code) | | newRelationship - returns a Relationship based on the specified
AssignedRelationshipElement
Parameters: assignedRelationship - AssignedRelationshipElement to be converted Parameters: asset1 - Asset to be used in converting the AssignedRelationshipElement Parameters: asset2 - Asset other asset to be used in converting the AssignedRelationshipElement |
newRelationshipSchedule | public NewRelationshipSchedule newRelationshipSchedule(HasRelationships hasRelationships)(Code) | | Build an empty relationship schedule for the specified HasRelationships.
Parameters: hasRelationships - HasRelationships to which the relationship schedule will apply |
newRelationshipSchedule | public NewRelationshipSchedule newRelationshipSchedule(HasRelationships hasRelationships, Collection relationships)(Code) | | Build a new relationship schedule for the specified HasRelationships.
Parameters: hasRelationships - HasRelationships to which the relationship schedule applies. N.B. hasRelationships must be included in all the Relationships on the schedule. Parameters: relationships - Collection of Relationships for the specified HasRelationships. |
newSimpleSchedule | public NewSchedule newSimpleSchedule(Date start, Date end)(Code) | | Build a new simple schedule that contains only one start and end
date.
Parameters: start - - The start Date of the schedule Parameters: end - - the end or finish Date of the schedule Schedule - a schedule object containing one scheduleelement See Also: java.util.Date |
newSimpleSchedule | public NewSchedule newSimpleSchedule(long startTime, long endTime)(Code) | | Build a new simple schedule that contains only one start and end
date.
Parameters: startTime - - The start time of the schedule Parameters: endTime - - the end or finish time of the schedule Schedule - a schedule object containing one scheduleelement See Also: java.util.Date |
|
|