Java Doc for ClusterObjectFactory.java in  » Science » Cougaar12_4 » org » cougaar » planning » ldm » plan » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Science » Cougaar12_4 » org.cougaar.planning.ldm.plan 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.cougaar.planning.ldm.plan.ClusterObjectFactory

All known Subclasses:   org.cougaar.planning.ldm.plan.ClusterObjectFactoryImpl,  org.cougaar.planning.ldm.PlanningFactoryImpl,
ClusterObjectFactory
public interface ClusterObjectFactory (Code)
Top-level Factory for Cluster Objects which can be created by Plugins of various sorts. While we do not subset these interfaces at this time, one should keep in mind that a given component may choose to both restrict access to (by throwing exceptions) these accessors and to choose how these objects actually get realized. The majority of the factory methods are of the form NewFoo newFoo() where Foo is the basic type to be constructed. The Return value is always an Interface type which extends the basic type with set-methods and other methods useful for constructing objects of this basic type. There a few factory methods that return a completed or built object. These methods usually take arguments that are used to build the object. The Interface return type are usually not the extending interfaces which contain set-methods (since the object has already been built).




Method Summary
 AggregationcreateAggregation(Plan aPlan, Task aTask, Composition aComposition, AllocationResult estimatedresult)
    
 AllocationcreateAllocation(Plan aPlan, Task aTask, org.cougaar.planning.ldm.asset.Asset anAsset, AllocationResult estimatedresult, Role aRole)
    
 AssetTransfercreateAssetTransfer(Plan aPlan, Task aTask, org.cougaar.planning.ldm.asset.Asset anAsset, Schedule aSchedule, org.cougaar.planning.ldm.asset.Asset toAsset, AllocationResult estimatedresult, Role aRole)
     Build a new AssetTransfer (planelement)
Parameters:
  aPlan - The Plan this PlanElement is against
Parameters:
  aTask - The Task being disposed
Parameters:
  anAsset - The Asset that is being transferred
Parameters:
  aSchedule - The Schedule that represents the time window the Asset will be transferred for
Parameters:
  toAsset - The Asset to which the transferred Asset is being transferred.
 DispositioncreateDisposition(Plan aPlan, Task aTask, AllocationResult result)
    
 ExpansioncreateExpansion(Plan aPlan, Task aTask, Workflow aWorkflow, AllocationResult estimatedresult)
    
 DispositioncreateFailedDisposition(Plan aPlan, Task aTask, AllocationResult failure)
    
 TransferableTransfercreateTransferableTransfer(Transferable aTransferable, Asset anAsset)
    
 MessageAddressgetMessageAddress()
    
 PlangetRealityPlan()
     Return a reference to the the plan object which represents "reality" in this cluster.
 VerbgetVerb(String v)
    
 AllocationResultnewAVAllocationResult(double rating, boolean success, AspectValue[] aspectvalues)
    
 AllocationResultnewAVPhasedAllocationResult(double rating, boolean success, AspectValue[] rollupavs, Collection phasedresults)
    
 NewAlertnewAlert()
    
 NewAlertParameternewAlertParameter()
    
 AllocationResultnewAllocationResult(double rating, boolean success, int[] aspecttypes, double[] result)
     Create a new NON-PHASE AllocationResult
Parameters:
  rating - The confidence rating of this result.
Parameters:
  success - Whether the allocationresult violated any preferences.
Parameters:
  aspecttypes - The AspectTypes (and order) of the results.
Parameters:
  result - The value for each aspect.
 AllocationResultnewAllocationResult(double rating, boolean success, AspectValue[] avrs)
     Create a new NON-PHASE AllocationResult
Parameters:
  rating - The confidence rating of this result.
Parameters:
  success - Whether the allocationresult violated any preferences.
Parameters:
  avrs - The AspectValues of the result.
 NewAssetAssignmentnewAssetAssignment()
    
 AssetRescindnewAssetRescind(org.cougaar.planning.ldm.asset.Asset asset, org.cougaar.planning.ldm.asset.Asset rescindeeAsset, Schedule rescindSchedule)
     Build an AssetRescind Message.
 NewAssetVerificationnewAssetVerification()
    
 NewAssetVerificationnewAssetVerification(Asset asset, Asset assignee, Schedule schedule)
    
 NewAssignedAvailabilityElementnewAssignedAvailabilityElement()
    
 NewAssignedAvailabilityElementnewAssignedAvailabilityElement(Asset assignee, long startTime, long endTime)
    
 NewSchedulenewAssignedAvailabilitySchedule(Enumeration availElements)
     Build an asset transfer availabity schedule.
 NewSchedulenewAssignedAvailabilitySchedule()
    
 NewAssignedRelationshipElementnewAssignedRelationshipElement()
    
 NewAssignedRelationshipElementnewAssignedRelationshipElement(Asset assetA, Role roleA, Asset assetB, long startTime, long endTime)
    
 NewAssignedRelationshipElementnewAssignedRelationshipElement(Relationship relationship)
    
 NewSchedulenewAssignedRelationshipSchedule(Enumeration elements)
     Create an assigned relationship schedule.
 NewSchedulenewAssignedRelationshipSchedule()
     Create an empty assigned relationship schedule.
 BulkEstimatenewBulkEstimate(Task atask, List prefsets, double conf)
    
 NewCompositionnewComposition()
    
 NewConstraintnewConstraint()
    
 NewDeletionnewDeletion()
    
 NewItineraryElementnewItineraryElement()
    
 NewSchedulenewLocationRangeSchedule(Enumeration locationRangeElements)
     Create a location range schedule.
 NewLocationRangeScheduleElementnewLocationRangeScheduleElement()
    
 NewSchedulenewLocationSchedule(Enumeration locationElements)
     Create a location schedule.
 NewLocationScheduleElementnewLocationScheduleElement()
    
 NewMPTasknewMPTask()
    
 NewNotificationnewNotification()
    
 AllocationResultnewPhasedAllocationResult(double rating, boolean success, int[] aspecttypes, double[] rollup, Enumeration allresults)
     Create a new PHASED AllocationResult instance.
 AllocationResultnewPhasedAllocationResult(double rating, boolean success, AspectValue[] rollup, Enumeration allresults)
     Create a new PHASED AllocationResult instance.
 AllocationResultnewPhasedAllocationResult(double rating, boolean success, AspectValue[] rollupavs, Collection phasedresults)
     Create a new AllocationResult that takes a PHASED result in the form of AspectValues. Subclasses of AspectValue, such as TypedQuantityAspectValue are allowed.
Parameters:
  rating - The confidence rating of this result.
Parameters:
  success - Whether the allocationresult violated any preferences.
Parameters:
  rollupavs - The Summary (or rolled up) AspectValues that represent the results.
Parameters:
  phasedresults - A Collection of the phased results.
 PolicynewPolicy(String policyType)
    
 PreferencenewPreference(int aspecttype, ScoringFunction scorefunction)
     Create a new Preference.
 PreferencenewPreference(int aspecttype, ScoringFunction scorefunction, double aweight)
     Create a new Preference with a weight.
 NewPrepositionalPhrasenewPrepositionalPhrase()
    
 PrepositionalPhrasenewPrepositionalPhrase(String preposition, Object indirectObject)
    
 RelationshipnewRelationship(Role role1, HasRelationships object1, HasRelationships object2, TimeSpan timeSpan)
    
 RelationshipnewRelationship(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.
 RelationshipnewRelationship(AssignedRelationshipElement assignedRelationship, Asset asset1, Asset asset2)
     newRelationship - returns a Relationship based on the specified AssignedRelationshipElement.
 NewRelationshipSchedulenewRelationshipSchedule(HasRelationships hasRelationships)
     Build an empty relationship schedule for the specified HasRelationships.
 NewRelationshipSchedulenewRelationshipSchedule(HasRelationships hasRelationships, Collection relationships)
     Build a new relationship schedule for the specified HasRelationships.
Parameters:
  hasRelationships - HasRelationships to which the relationship schedule applies.
 NewReportnewReport()
    
 NewSchedulenewSchedule(Enumeration scheduleElements)
     Create a schedule that contains different types of scheduleelements.
 NewScheduleElementnewScheduleElement(Date start, Date end)
    
 NewSchedulenewSimpleSchedule(Date start, Date end)
     Build a new simple schedule that contains only one start and end date.
 NewSchedulenewSimpleSchedule(long startTime, long endTime)
     Build a new simple schedule that contains only one start and end date.
 NewTasknewTask()
    
 NewTasknewTask(UID uid)
    
 TaskRescindnewTaskRescind(Task task, MessageAddress destination)
     Build a TaskRescind Message.
 TaskRescindnewTaskRescind(UID taskUID, MessageAddress destination)
     Build a TaskRescind Message.
 TaskRescindnewTaskRescind(UID taskUID, MessageAddress destination, boolean deleted)
     Build a TaskRescind Message.
 NewTransferableAssignmentnewTransferableAssignment()
    
 NewTransferableRescindnewTransferableRescind()
    
 NewTransferableTransfernewTransferableTransfer()
    
 NewTransferableVerificationnewTransferableVerification(Transferable t)
    
 NewWorkflownewWorkflow()
    
 NewTaskshadowTask(Task t)
     Low-level task duplication.



Method Detail
createAggregation
Aggregation createAggregation(Plan aPlan, Task aTask, Composition aComposition, AllocationResult estimatedresult)(Code)
Build a new Aggregation (planelement)
Parameters:
  aPlan -
Parameters:
  aTask -
Parameters:
  aComposition -
Parameters:
  estimatedresult - -allowed to be null Aggregation
See Also:   org.cougaar.planning.ldm.plan.Composition
See Also:   org.cougaar.planning.ldm.plan.AllocationResult



createAllocation
Allocation createAllocation(Plan aPlan, Task aTask, org.cougaar.planning.ldm.asset.Asset anAsset, AllocationResult estimatedresult, Role aRole)(Code)
Build a new Allocation (planelement)
Parameters:
  aPlan - - The Plan this PlanElement is against
Parameters:
  aTask - - The Task being disposed
Parameters:
  anAsset - - The Asset that the task is being assigned to.
Parameters:
  estimatedresult - - allowed to be null
Parameters:
  aRole - - The role of the Asset while performing this Task.
See Also:   org.cougaar.planning.ldm.asset.Asset
See Also:   org.cougaar.planning.ldm.plan.AllocationResult



createAssetTransfer
AssetTransfer createAssetTransfer(Plan aPlan, Task aTask, org.cougaar.planning.ldm.asset.Asset anAsset, Schedule aSchedule, org.cougaar.planning.ldm.asset.Asset toAsset, AllocationResult estimatedresult, Role aRole)(Code)
Build a new AssetTransfer (planelement)
Parameters:
  aPlan - The Plan this PlanElement is against
Parameters:
  aTask - The Task being disposed
Parameters:
  anAsset - The Asset that is being transferred
Parameters:
  aSchedule - The Schedule that represents the time window the Asset will be transferred for
Parameters:
  toAsset - The Asset to which the transferred Asset is being transferred. Must have a ClusterPG
Parameters:
  estimatedresult - - allowed to be null
Parameters:
  aRole - The Role of the Asset while transferred AssetTransfer



createDisposition
Disposition createDisposition(Plan aPlan, Task aTask, AllocationResult result)(Code)
Build a new Disposition a Disposition
See Also:   org.cougaar.planning.ldm.plan.AllocationResult



createExpansion
Expansion createExpansion(Plan aPlan, Task aTask, Workflow aWorkflow, AllocationResult estimatedresult)(Code)
Build a new Expansion (planelement)
Parameters:
  aPlan -
Parameters:
  aTask -
Parameters:
  aWorkflow -
Parameters:
  estimatedresult - -allowed to be null Expansion
See Also:   org.cougaar.planning.ldm.plan.Workflow
See Also:   org.cougaar.planning.ldm.plan.AllocationResult



createFailedDisposition
Disposition createFailedDisposition(Plan aPlan, Task aTask, AllocationResult failure)(Code)
Build a new FailedDisposition (planelement)
Parameters:
  aPlan -
Parameters:
  aTask -
Parameters:
  failure - a Failed Disposition
See Also:   org.cougaar.planning.ldm.plan.AllocationResult



createTransferableTransfer
TransferableTransfer createTransferableTransfer(Transferable aTransferable, Asset anAsset)(Code)
Build a new TransferableTransfer
Parameters:
  aTransferable -
Parameters:
  anAsset - - should be of type Organization TranserableTransfer



getMessageAddress
MessageAddress getMessageAddress()(Code)



getRealityPlan
Plan getRealityPlan()(Code)
Return a reference to the the plan object which represents "reality" in this cluster.



getVerb
Verb getVerb(String v)(Code)

Parameters:
  v - - Pass a valid string representation of the Verb Verb
See Also:   org.cougaar.planning.ldm.plan.Verb
See Also:    for a list of valid values



newAVAllocationResult
AllocationResult newAVAllocationResult(double rating, boolean success, AspectValue[] aspectvalues)(Code)



newAVPhasedAllocationResult
AllocationResult newAVPhasedAllocationResult(double rating, boolean success, AspectValue[] rollupavs, Collection phasedresults)(Code)



newAlert
NewAlert newAlert()(Code)



newAlertParameter
NewAlertParameter newAlertParameter()(Code)



newAllocationResult
AllocationResult newAllocationResult(double rating, boolean success, int[] aspecttypes, double[] result)(Code)
Create a new NON-PHASE AllocationResult
Parameters:
  rating - The confidence rating of this result.
Parameters:
  success - Whether the allocationresult violated any preferences.
Parameters:
  aspecttypes - The AspectTypes (and order) of the results.
Parameters:
  result - The value for each aspect. AllocationResult A new AllocationResult



newAllocationResult
AllocationResult newAllocationResult(double rating, boolean success, AspectValue[] avrs)(Code)
Create a new NON-PHASE AllocationResult
Parameters:
  rating - The confidence rating of this result.
Parameters:
  success - Whether the allocationresult violated any preferences.
Parameters:
  avrs - The AspectValues of the result. AllocationResult A new AllocationResult



newAssetAssignment
NewAssetAssignment newAssetAssignment()(Code)



newAssetRescind
AssetRescind newAssetRescind(org.cougaar.planning.ldm.asset.Asset asset, org.cougaar.planning.ldm.asset.Asset rescindeeAsset, Schedule rescindSchedule)(Code)
Build an AssetRescind Message. This message is only sent by CCRescind - NOT PLUGINS!!!.
Parameters:
  asset - - The Asset to be rescinded
Parameters:
  rescindeeAsset - - Asset from which asset will be rescinded
Parameters:
  rescindSchedule - - Schedule for which the asset is rescinded AssetRescind



newAssetVerification
NewAssetVerification newAssetVerification()(Code)



newAssetVerification
NewAssetVerification newAssetVerification(Asset asset, Asset assignee, Schedule schedule)(Code)



newAssignedAvailabilityElement
NewAssignedAvailabilityElement newAssignedAvailabilityElement()(Code)



newAssignedAvailabilityElement
NewAssignedAvailabilityElement newAssignedAvailabilityElement(Asset assignee, long startTime, long endTime)(Code)



newAssignedAvailabilitySchedule
NewSchedule newAssignedAvailabilitySchedule(Enumeration availElements)(Code)
Build an asset transfer availabity schedule.
Parameters:
  availElements - Enumeration{AssignedAvailabilityElement}
See Also:   org.cougaar.planning.ldm.plan.AssignedAvailabilityElement
See Also:   



newAssignedAvailabilitySchedule
NewSchedule newAssignedAvailabilitySchedule()(Code)
Build a an asset transfer availabity schedule
See Also:   org.cougaar.planning.ldm.plan.AssignedAvailabilityElement
See Also:   



newAssignedRelationshipElement
NewAssignedRelationshipElement newAssignedRelationshipElement()(Code)



newAssignedRelationshipElement
NewAssignedRelationshipElement newAssignedRelationshipElement(Asset assetA, Role roleA, Asset assetB, long startTime, long endTime)(Code)



newAssignedRelationshipElement
NewAssignedRelationshipElement newAssignedRelationshipElement(Relationship relationship)(Code)



newAssignedRelationshipSchedule
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



newAssignedRelationshipSchedule
NewSchedule newAssignedRelationshipSchedule()(Code)
Create an empty assigned relationship schedule. Schedule elements added later must be AssignedRelationshipElements. Should only be used by logic providers in handling new/modified/removed AssetTransfers.
See Also:   org.cougaar.planning.ldm.plan.AssignedRelationshipElement



newBulkEstimate
BulkEstimate newBulkEstimate(Task atask, List prefsets, double conf)(Code)
Create a new BulkEstimate
Parameters:
  atask - The Task to test allocations against preference sets
Parameters:
  prefsets - A List containing Preference[] represening the preference sets.
Parameters:
  conf - The confidence rating the allocation results should reach before returning final results BulkEstimate



newComposition
NewComposition newComposition()(Code)



newConstraint
NewConstraint newConstraint()(Code)



newDeletion
NewDeletion newDeletion()(Code)



newItineraryElement
NewItineraryElement newItineraryElement()(Code)



newLocationRangeSchedule
NewSchedule newLocationRangeSchedule(Enumeration locationRangeElements)(Code)
Create a location range schedule. This schedule is a container of LocationRangeScheduleElements.
Parameters:
  locationRangeElements - Enumeration{LocationRangeScheduleElement}
See Also:   org.cougaar.planning.ldm.plan.LocationRangeScheduleElement



newLocationRangeScheduleElement
NewLocationRangeScheduleElement newLocationRangeScheduleElement()(Code)



newLocationSchedule
NewSchedule newLocationSchedule(Enumeration locationElements)(Code)
Create a location schedule. This schedule is a container of LocationScheduleElements.
Parameters:
  locationElements - Enumeration{LocationScheduleElement}
See Also:   org.cougaar.planning.ldm.plan.LocationScheduleElement



newLocationScheduleElement
NewLocationScheduleElement newLocationScheduleElement()(Code)



newMPTask
NewMPTask newMPTask()(Code)



newNotification
NewNotification newNotification()(Code)



newPhasedAllocationResult
AllocationResult newPhasedAllocationResult(double rating, boolean success, int[] aspecttypes, double[] rollup, Enumeration allresults)(Code)
Create a new PHASED AllocationResult instance.
Parameters:
  rating - The confidence rating of this result.
Parameters:
  success - Whether the allocationresult violated any preferences.
Parameters:
  aspecttypes - The AspectTypes (and order) of the results.
Parameters:
  rollup - The summary values for each aspect.
Parameters:
  allresults - An Enumeration of Vectors representingeach phased collection of results.For Example a phased answer may look like[ [10, 100.00, c0], [5, 50.00, c3], [5, 50.00, c6] ] AllocationResult



newPhasedAllocationResult
AllocationResult newPhasedAllocationResult(double rating, boolean success, AspectValue[] rollup, Enumeration allresults)(Code)
Create a new PHASED AllocationResult instance.
Parameters:
  rating - The confidence rating of this result.
Parameters:
  success - Whether the allocationresult violated any preferences.
Parameters:
  rollup - The summary values for each aspect as AspectValues.
Parameters:
  allresults - An Enumeration of Vectors representingeach phased collection of results.For Example a phased answer may look like[ [10, 100.00, c0], [5, 50.00, c3], [5, 50.00, c6] ] AllocationResult



newPhasedAllocationResult
AllocationResult newPhasedAllocationResult(double rating, boolean success, AspectValue[] rollupavs, Collection phasedresults)(Code)
Create a new AllocationResult that takes a PHASED result in the form of AspectValues. Subclasses of AspectValue, such as TypedQuantityAspectValue are allowed.
Parameters:
  rating - The confidence rating of this result.
Parameters:
  success - Whether the allocationresult violated any preferences.
Parameters:
  rollupavs - The Summary (or rolled up) AspectValues that represent the results.
Parameters:
  phasedresults - A Collection of the phased results. The Collection must contain one Collection or Array of AspectValues for each phase of the results. AllocationResult



newPolicy
Policy newPolicy(String policyType)(Code)



newPreference
Preference newPreference(int aspecttype, ScoringFunction scorefunction)(Code)
Create a new Preference.
Parameters:
  aspecttype - The AspectType this preference is about.
Parameters:
  scorefunction - The function that defines the scoring curve
See Also:   org.cougaar.planning.ldm.plan.AspectType
See Also:   org.cougaar.planning.ldm.plan.ScoringFunction Preference



newPreference
Preference newPreference(int aspecttype, ScoringFunction scorefunction, double aweight)(Code)
Create a new Preference with a weight.
Parameters:
  aspecttype - The AspectType this preference is about.
Parameters:
  scorefunction - The function that defines the scoring curve
Parameters:
  aweight - The weight of the preference - must be between 0.0 - 1.0
See Also:   org.cougaar.planning.ldm.plan.AspectType
See Also:   org.cougaar.planning.ldm.plan.ScoringFunction Preference



newPrepositionalPhrase
NewPrepositionalPhrase newPrepositionalPhrase()(Code)
construct a skeleton PrepositionalPhrase *



newPrepositionalPhrase
PrepositionalPhrase newPrepositionalPhrase(String preposition, Object indirectObject)(Code)
construct a complete PrepositionalPhrase *



newRelationship
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
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
Relationship newRelationship(AssignedRelationshipElement assignedRelationship, Asset asset1, Asset asset2)(Code)
newRelationship - returns a Relationship based on the specified AssignedRelationshipElement. Specified assets must match the item identifications in the AssignedRelationshipElement
Parameters:
  assignedRelationship - AssignedRelationshipElement
Parameters:
  asset1 - Asset to be used in converting the AssignedRelationshipElement
Parameters:
  asset2 - Asset other asset to be used in converting the AssignedRelationshipElement



newRelationshipSchedule
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
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.



newReport
NewReport newReport()(Code)



newSchedule
NewSchedule newSchedule(Enumeration scheduleElements)(Code)
Create a schedule that contains different types of scheduleelements. Note that ScheduleElement has multiple subclasses which are excepted.
Parameters:
  scheduleElements - Enumeration{ScheduleElement}
See Also:   org.cougaar.planning.ldm.plan.ScheduleElement



newScheduleElement
NewScheduleElement newScheduleElement(Date start, Date end)(Code)



newSimpleSchedule
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
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



newTask
NewTask newTask()(Code)



newTask
NewTask newTask(UID uid)(Code)



newTaskRescind
TaskRescind newTaskRescind(Task task, MessageAddress destination)(Code)
Build a TaskRescind Message. This message is only sent by CCRescind - NOT PLUGINS!!!. The deleted status is taken from the task
Parameters:
  task - - The Task to be rescinded
Parameters:
  destination - - The Cluster to send the TaskRescind Message to. TaskRescind



newTaskRescind
TaskRescind newTaskRescind(UID taskUID, MessageAddress destination)(Code)
Build a TaskRescind Message. This message is only sent by CCRescind - NOT PLUGINS!!!. The deleted status is assumed to be false
Parameters:
  taskUID - - The UID of the Task to be rescinded
Parameters:
  destination - - The Cluster to send the TaskRescind Message to. TaskRescind



newTaskRescind
TaskRescind newTaskRescind(UID taskUID, MessageAddress destination, boolean deleted)(Code)
Build a TaskRescind Message. This message is only sent by CCRescind - NOT PLUGINS!!!. The deleted status is explicitly specifed by the deleted parameter
Parameters:
  taskUID - - The UID of the Task to be rescinded
Parameters:
  destination - - The Cluster to send the TaskRescind Message to.
Parameters:
  deleted - - Mark the TaskRescind as referring to a deleted task. TaskRescind



newTransferableAssignment
NewTransferableAssignment newTransferableAssignment()(Code)



newTransferableRescind
NewTransferableRescind newTransferableRescind()(Code)



newTransferableTransfer
NewTransferableTransfer newTransferableTransfer()(Code)



newTransferableVerification
NewTransferableVerification newTransferableVerification(Transferable t)(Code)



newWorkflow
NewWorkflow newWorkflow()(Code)



shadowTask
NewTask shadowTask(Task t)(Code)
Low-level task duplication. Tasks created by this method are not suitable for use as blackboard Objects. This method should only be called by networking infrastructure.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.