Java Doc for ClusterObjectFactoryImpl.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) 


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.


Field Summary
final protected  LDMServesPluginldm
    

Constructor Summary
public  ClusterObjectFactoryImpl(LDMServesPlugin ldm, MessageAddress cid)
    

Method Summary
public  AggregationcreateAggregation(Plan aPlan, Task aTask, Composition aComposition, AllocationResult estimatedresult)
    
public  AllocationcreateAllocation(Plan aPlan, Task aTask, Asset anAsset, AllocationResult estimatedresult, Role aRole)
    
public  AssetTransfercreateAssetTransfer(Plan aPlan, Task aTask, Asset anAsset, Schedule aSchedule, Asset toAsset, AllocationResult estimatedresult, Role aRole)
    
public  DispositioncreateDisposition(Plan aPlan, Task aTask, AllocationResult result)
    
public  ExpansioncreateExpansion(Plan aPlan, Task aTask, Workflow aWorkflow, AllocationResult estimatedresult)
    
public  DispositioncreateFailedDisposition(Plan aPlan, Task aTask, AllocationResult failure)
    
public  TransferableTransfercreateTransferableTransfer(Transferable aTransferable, Asset anAsset)
    
public  MessageAddressgetMessageAddress()
    
public  UIDgetNextUID()
    
public  PlangetRealityPlan()
    
public  VerbgetVerb(String v)
    
protected  ClassloadClass(String className)
    
public  AllocationResultnewAVAllocationResult(double rating, boolean success, AspectValue[] aspectvalues)
    
public  AllocationResultnewAVPhasedAllocationResult(double rating, boolean success, AspectValue[] rollupavs, Collection phasedresults)
    
public  NewAlertnewAlert()
    
public  NewAlertParameternewAlertParameter()
    
public  AllocationResultnewAllocationResult(double rating, boolean success, int[] aspecttypes, double[] result)
    
public  AllocationResultnewAllocationResult(double rating, boolean success, AspectValue[] avrs)
    
public  NewAssetAssignmentnewAssetAssignment()
    
public  AssetRescindnewAssetRescind(Asset asset, Asset rescindeeAsset, Schedule rescindSchedule)
    
public  NewAssetVerificationnewAssetVerification()
    
public  NewAssetVerificationnewAssetVerification(Asset asset, Asset assignee, Schedule schedule)
    
public  NewAssignedAvailabilityElementnewAssignedAvailabilityElement()
    
public  NewAssignedAvailabilityElementnewAssignedAvailabilityElement(Asset assignee, long startTime, long endTime)
    
public  NewSchedulenewAssignedAvailabilitySchedule(Enumeration availElements)
     Build an asset transfer availabity schedule.
public  NewSchedulenewAssignedAvailabilitySchedule()
    
public  NewAssignedRelationshipElementnewAssignedRelationshipElement()
    
public  NewAssignedRelationshipElementnewAssignedRelationshipElement(Asset assetA, Role roleA, Asset assetB, long startTime, long endTime)
    
public  NewAssignedRelationshipElementnewAssignedRelationshipElement(Relationship relationship)
    
public  NewSchedulenewAssignedRelationshipSchedule(Enumeration elements)
     Create an assigned relationship schedule.
public  NewSchedulenewAssignedRelationshipSchedule()
     Create an empty assigned relationship schedule.
public  BulkEstimatenewBulkEstimate(Task atask, List prefsets, double conf)
    
public  NewCompositionnewComposition()
    
public  NewConstraintnewConstraint()
    
public  NewDeletionnewDeletion()
    
public  NewItineraryElementnewItineraryElement()
    
public  NewSchedulenewLocationRangeSchedule(Enumeration locationRangeElements)
     Create a location range schedule.
public  NewLocationRangeScheduleElementnewLocationRangeScheduleElement()
    
public  NewSchedulenewLocationSchedule(Enumeration locationElements)
     Create a location schedule.
public  NewLocationScheduleElementnewLocationScheduleElement()
    
public  NewMPTasknewMPTask()
    
public  NewNotificationnewNotification()
    
public  AllocationResultnewPhasedAllocationResult(double rating, boolean success, int[] aspecttypes, double[] rollup, Enumeration allresults)
    
public  AllocationResultnewPhasedAllocationResult(double rating, boolean success, AspectValue[] avs, Enumeration allresults)
    
public  AllocationResultnewPhasedAllocationResult(double rating, boolean success, AspectValue[] avs, Collection allresults)
    
public  PolicynewPolicy(String policyType)
    
public  PreferencenewPreference(int aspecttype, ScoringFunction scorefunction)
    
public  PreferencenewPreference(int aspecttype, ScoringFunction scorefunction, double aweight)
    
public  NewPrepositionalPhrasenewPrepositionalPhrase()
    
public  PrepositionalPhrasenewPrepositionalPhrase(String s, Object io)
    
public  RelationshipnewRelationship(Role role1, HasRelationships object1, HasRelationships object2, TimeSpan timeSpan)
    
public  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.
public  RelationshipnewRelationship(AssignedRelationshipElement assignedRelationship, Asset asset1, Asset asset2)
    
public  NewRelationshipSchedulenewRelationshipSchedule(HasRelationships hasRelationships)
     Build an empty relationship schedule for the specified HasRelationships.
public  NewRelationshipSchedulenewRelationshipSchedule(HasRelationships hasRelationships, Collection relationships)
     Build a new relationship schedule for the specified HasRelationships.
Parameters:
  hasRelationships - HasRelationships to which the relationship schedule applies.
public  NewReportnewReport()
    
public  NewSchedulenewSchedule(Enumeration scheduleElements)
     Create a schedule that contains different types of scheduleelements.
public  NewScheduleElementnewScheduleElement(Date start, Date end)
    
public  NewSchedulenewSimpleSchedule(Date start, Date end)
     Build a new simple schedule that contains only one start and end date.
public  NewSchedulenewSimpleSchedule(long startTime, long endTime)
     Build a new simple schedule that contains only one start and end date.
public  NewTasknewTask()
    
public  NewTasknewTask(UID uid)
    
public  TaskRescindnewTaskRescind(Task task, MessageAddress destination)
    
public  TaskRescindnewTaskRescind(UID taskUID, MessageAddress destination)
    
public  TaskRescindnewTaskRescind(UID taskUID, MessageAddress destination, boolean deleted)
    
public  NewTransferableAssignmentnewTransferableAssignment()
    
public  NewTransferableRescindnewTransferableRescind()
    
public  NewTransferableTransfernewTransferableTransfer()
    
public  NewTransferableVerificationnewTransferableVerification(Transferable t)
    
public  NewWorkflownewWorkflow()
    
public  NewTaskshadowTask(Task t)
    

Field Detail
ldm
final protected LDMServesPlugin ldm(Code)




Constructor Detail
ClusterObjectFactoryImpl
public ClusterObjectFactoryImpl(LDMServesPlugin ldm, MessageAddress cid)(Code)




Method Detail
createAggregation
public Aggregation createAggregation(Plan aPlan, Task aTask, Composition aComposition, AllocationResult estimatedresult)(Code)



createAllocation
public Allocation createAllocation(Plan aPlan, Task aTask, Asset anAsset, AllocationResult estimatedresult, Role aRole)(Code)



createAssetTransfer
public AssetTransfer createAssetTransfer(Plan aPlan, Task aTask, Asset anAsset, Schedule aSchedule, Asset toAsset, AllocationResult estimatedresult, Role aRole)(Code)



createDisposition
public Disposition createDisposition(Plan aPlan, Task aTask, AllocationResult result)(Code)



createExpansion
public Expansion createExpansion(Plan aPlan, Task aTask, Workflow aWorkflow, AllocationResult estimatedresult)(Code)



createFailedDisposition
public Disposition createFailedDisposition(Plan aPlan, Task aTask, AllocationResult failure)(Code)



createTransferableTransfer
public TransferableTransfer createTransferableTransfer(Transferable aTransferable, Asset anAsset)(Code)



getMessageAddress
public MessageAddress getMessageAddress()(Code)



getNextUID
public UID getNextUID()(Code)



getRealityPlan
public Plan getRealityPlan()(Code)



getVerb
public Verb getVerb(String v)(Code)



loadClass
protected Class loadClass(String className) throws ClassNotFoundException(Code)



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



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



newAlert
public NewAlert newAlert()(Code)



newAlertParameter
public NewAlertParameter newAlertParameter()(Code)



newAllocationResult
public AllocationResult newAllocationResult(double rating, boolean success, int[] aspecttypes, double[] result)(Code)



newAllocationResult
public AllocationResult newAllocationResult(double rating, boolean success, AspectValue[] avrs)(Code)



newAssetAssignment
public NewAssetAssignment newAssetAssignment()(Code)



newAssetRescind
public AssetRescind newAssetRescind(Asset asset, Asset rescindeeAsset, Schedule rescindSchedule)(Code)



newAssetVerification
public NewAssetVerification newAssetVerification()(Code)



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



newAssignedAvailabilityElement
public NewAssignedAvailabilityElement newAssignedAvailabilityElement()(Code)



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



newAssignedAvailabilitySchedule
public 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
public NewSchedule newAssignedAvailabilitySchedule()(Code)
Build a an asset transfer availabity schedule
See Also:   org.cougaar.planning.ldm.plan.AssignedAvailabilityElement
See Also:   



newAssignedRelationshipElement
public NewAssignedRelationshipElement newAssignedRelationshipElement()(Code)



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



newAssignedRelationshipElement
public NewAssignedRelationshipElement newAssignedRelationshipElement(Relationship relationship)(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



newAssignedRelationshipSchedule
public 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
public BulkEstimate newBulkEstimate(Task atask, List prefsets, double conf)(Code)



newComposition
public NewComposition newComposition()(Code)



newConstraint
public NewConstraint newConstraint()(Code)



newDeletion
public NewDeletion newDeletion()(Code)



newItineraryElement
public NewItineraryElement newItineraryElement()(Code)



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



newLocationRangeScheduleElement
public NewLocationRangeScheduleElement newLocationRangeScheduleElement()(Code)



newLocationSchedule
public 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
public NewLocationScheduleElement newLocationScheduleElement()(Code)



newMPTask
public NewMPTask newMPTask()(Code)



newNotification
public NewNotification newNotification()(Code)



newPhasedAllocationResult
public AllocationResult newPhasedAllocationResult(double rating, boolean success, int[] aspecttypes, double[] rollup, Enumeration allresults)(Code)



newPhasedAllocationResult
public AllocationResult newPhasedAllocationResult(double rating, boolean success, AspectValue[] avs, Enumeration allresults)(Code)



newPhasedAllocationResult
public AllocationResult newPhasedAllocationResult(double rating, boolean success, AspectValue[] avs, Collection allresults)(Code)



newPolicy
public Policy newPolicy(String policyType)(Code)



newPreference
public Preference newPreference(int aspecttype, ScoringFunction scorefunction)(Code)



newPreference
public Preference newPreference(int aspecttype, ScoringFunction scorefunction, double aweight)(Code)



newPrepositionalPhrase
public NewPrepositionalPhrase newPrepositionalPhrase()(Code)



newPrepositionalPhrase
public PrepositionalPhrase newPrepositionalPhrase(String s, Object io)(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.



newReport
public NewReport newReport()(Code)



newSchedule
public 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
public NewScheduleElement newScheduleElement(Date start, Date end)(Code)



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



newTask
public NewTask newTask()(Code)



newTask
public NewTask newTask(UID uid)(Code)



newTaskRescind
public TaskRescind newTaskRescind(Task task, MessageAddress destination)(Code)



newTaskRescind
public TaskRescind newTaskRescind(UID taskUID, MessageAddress destination)(Code)



newTaskRescind
public TaskRescind newTaskRescind(UID taskUID, MessageAddress destination, boolean deleted)(Code)



newTransferableAssignment
public NewTransferableAssignment newTransferableAssignment()(Code)



newTransferableRescind
public NewTransferableRescind newTransferableRescind()(Code)



newTransferableTransfer
public NewTransferableTransfer newTransferableTransfer()(Code)



newTransferableVerification
public NewTransferableVerification newTransferableVerification(Transferable t)(Code)



newWorkflow
public NewWorkflow newWorkflow()(Code)



shadowTask
public NewTask shadowTask(Task t)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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