Java Doc for AllocationImpl.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.PlanElementImpl
   org.cougaar.planning.ldm.plan.AllocationImpl

AllocationImpl
public class AllocationImpl extends PlanElementImpl implements Allocation,RoleScheduleConflicts,AllocationforCollections(Code)
AllocationImpl.java Implementation for allocation



Constructor Summary
public  AllocationImpl()
    
public  AllocationImpl(Plan p, Task t, Asset a)
    
public  AllocationImpl(Plan p, Task t, Asset a, AllocationResult estimatedresult, Role aRole)
    

Method Summary
protected  voidaddPropertyDescriptors(Collection c)
    
public  voidaddingToBlackboard(Subscriber s, boolean commit)
    
public  voidchangingInBlackboard(Subscriber s, boolean commit)
    
public  booleancheckConflicts()
    
public  UIDgetAllocationTaskUID()
    
public  AssetgetAsset()
    
public  RolegetRole()
     Return the Role that the Asset is performing while executing this PlanElement (Task).
public  booleanisAllocationTaskDeleted()
    
public  booleanisAssetAvailabilityConflict()
     Checks to see if there is a potential conflict with the asset's available schedule.
public  booleanisPotentialConflict()
    
public  booleanisStale()
     Check to see if this allocation is Stale and needs to be revisited.
public  voidpostRehydration(Logger logger)
    
public  voidremovingFromBlackboard(Subscriber s, boolean commit)
    
public  voidsetAllocationTask(Task t)
    
public  voidsetAllocationTaskDeleted(boolean newDeleted)
    
public  voidsetAllocationTaskUID(UID uid)
    
public  voidsetAssetAvailabilityConflict(boolean availconflict)
    
public  voidsetCheckConflicts(boolean check)
    
public  voidsetEstimatedResult(AllocationResult estimatedresult)
     Set the estimated allocation result so that a notification will propagate up another level.
public  voidsetPotentialConflict(boolean conflict)
    
public  voidsetStale(boolean stalestate)
     Set the stale flag.
public  StringtoString()
    


Constructor Detail
AllocationImpl
public AllocationImpl()(Code)



AllocationImpl
public AllocationImpl(Plan p, Task t, Asset a)(Code)



AllocationImpl
public AllocationImpl(Plan p, Task t, Asset a, AllocationResult estimatedresult, Role aRole)(Code)




Method Detail
addPropertyDescriptors
protected void addPropertyDescriptors(Collection c) throws IntrospectionException(Code)



addingToBlackboard
public void addingToBlackboard(Subscriber s, boolean commit)(Code)



changingInBlackboard
public void changingInBlackboard(Subscriber s, boolean commit)(Code)



checkConflicts
public boolean checkConflicts()(Code)



getAllocationTaskUID
public UID getAllocationTaskUID()(Code)



getAsset
public Asset getAsset()(Code)
Asset - Asset associated with this allocation/subtask



getRole
public Role getRole()(Code)
Return the Role that the Asset is performing while executing this PlanElement (Task). Role



isAllocationTaskDeleted
public boolean isAllocationTaskDeleted()(Code)



isAssetAvailabilityConflict
public boolean isAssetAvailabilityConflict()(Code)
Checks to see if there is a potential conflict with the asset's available schedule. ( Asset.getRoleSchedule().getAvailableSchedule() ) Will return true if there is a potential conflict. boolean



isPotentialConflict
public boolean isPotentialConflict()(Code)
boolean - true if there is a potential conflict with another allocation to the same asset.



isStale
public boolean isStale()(Code)
Check to see if this allocation is Stale and needs to be revisited. Will return true if it is stale (needs to be revisted) boolean



postRehydration
public void postRehydration(Logger logger)(Code)



removingFromBlackboard
public void removingFromBlackboard(Subscriber s, boolean commit)(Code)



setAllocationTask
public void setAllocationTask(Task t)(Code)



setAllocationTaskDeleted
public void setAllocationTaskDeleted(boolean newDeleted)(Code)



setAllocationTaskUID
public void setAllocationTaskUID(UID uid)(Code)



setAssetAvailabilityConflict
public void setAssetAvailabilityConflict(boolean availconflict)(Code)



setCheckConflicts
public void setCheckConflicts(boolean check)(Code)



setEstimatedResult
public void setEstimatedResult(AllocationResult estimatedresult)(Code)
Set the estimated allocation result so that a notification will propagate up another level.
Parameters:
  estimatedresult -



setPotentialConflict
public void setPotentialConflict(boolean conflict)(Code)



setStale
public void setStale(boolean stalestate)(Code)
Set the stale flag. Usualy used by Trigger actions.
Parameters:
  stalestate -



toString
public String toString()(Code)



Fields inherited from org.cougaar.planning.ldm.plan.PlanElementImpl
protected AllocationResult estAR(Code)(Java Doc)
protected transient boolean notify(Code)(Java Doc)
protected AllocationResult obsAR(Code)(Java Doc)
public transient PropertyChangeSupport pcs(Code)(Java Doc)
protected AllocationResult rcvAR(Code)(Java Doc)
protected AllocationResult repAR(Code)(Java Doc)
protected transient Task task(Code)(Java Doc)

Methods inherited from org.cougaar.planning.ldm.plan.PlanElementImpl
public boolean abutSchedule(ScheduleElement se)(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener pcl)(Code)(Java Doc)
protected void addPropertyDescriptors(Collection c) throws IntrospectionException(Code)(Java Doc)
protected void addToRoleSchedule(Asset asset)(Code)(Java Doc)
public void addingToBlackboard(Subscriber s, boolean commit)(Code)(Java Doc)
public void changingInBlackboard(Subscriber s, boolean commit)(Code)(Java Doc)
public void checkRehydration(Logger logger)(Code)(Java Doc)
protected void fixAsset(Asset asset)(Code)(Java Doc)
public BeanInfo[] getAdditionalBeanInfo()(Code)(Java Doc)
public Annotation getAnnotation()(Code)(Java Doc)
public BeanDescriptor getBeanDescriptor()(Code)(Java Doc)
public Claimable getClaimable()(Code)(Java Doc)
public int getDefaultEventIndex()(Code)(Java Doc)
public int getDefaultPropertyIndex()(Code)(Java Doc)
public Date getEndDate()(Code)(Java Doc)
public long getEndTime()(Code)(Java Doc)
public AllocationResult getEstimatedResult()(Code)(Java Doc)
public EventSetDescriptor[] getEventSetDescriptors()(Code)(Java Doc)
public java.awt.Image getIcon(int iconKind)(Code)(Java Doc)
public MethodDescriptor[] getMethodDescriptors()(Code)(Java Doc)
public AllocationResult getObservedResult()(Code)(Java Doc)
public Plan getPlan()(Code)(Java Doc)
public PropertyDescriptor[] getPropertyDescriptors()(Code)(Java Doc)
public AllocationResult getReceivedResult()(Code)(Java Doc)
public AllocationResult getReportedResult()(Code)(Java Doc)
public Date getStartDate()(Code)(Java Doc)
public long getStartTime()(Code)(Java Doc)
public Task getTask()(Code)(Java Doc)
public UID getUID()(Code)(Java Doc)
protected static String hc(Object o)(Code)(Java Doc)
public boolean included(Date date)(Code)(Java Doc)
public boolean included(long time)(Code)(Java Doc)
public boolean overlapSchedule(ScheduleElement se)(Code)(Java Doc)
public void postRehydration(Logger logger)(Code)(Java Doc)
protected void removeFromRoleSchedule(Asset asset)(Code)(Java Doc)
public void removePropertyChangeListener(PropertyChangeListener pcl)(Code)(Java Doc)
public void removingFromBlackboard(Subscriber s, boolean commit)(Code)(Java Doc)
public void resetTask(Task t)(Code)(Java Doc)
public void setAnnotation(Annotation pluginAnnotation)(Code)(Java Doc)
public void setEstimatedResult(AllocationResult estimatedresult)(Code)(Java Doc)
public void setNotification(boolean v)(Code)(Java Doc)
public void setObservedResult(AllocationResult obsres)(Code)(Java Doc)
public void setPlan(Plan p)(Code)(Java Doc)
public void setReceivedResult(AllocationResult rcvres)(Code)(Java Doc)
public void setReportedResult(AllocationResult repres)(Code)(Java Doc)
public void setTask(Task t)(Code)(Java Doc)
public void setUID(UID uid)(Code)(Java Doc)
public boolean shouldDoNotification()(Code)(Java Doc)
public boolean skipUnpublishedPersist(Logger logger)(Code)(Java Doc)
public String toString()(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.