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

AssetTransferImpl
public class AssetTransferImpl extends PlanElementImpl implements AssetTransfer,RoleScheduleConflicts(Code)
Implementation for AssetTransfer



Constructor Summary
public  AssetTransferImpl()
    
public  AssetTransferImpl(Plan p, Task t, Asset a, Schedule s, Asset to, MessageAddress from)
     Constructor that assumes there is not a good estimated result at this time.
public  AssetTransferImpl(Plan p, Task t, Asset a, Schedule s, Asset to, MessageAddress from, 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  AssetgetAsset()
    
public  AssetgetAssignee()
    
public  MessageAddressgetAssignor()
     Returns the Agent that the asset is assigned from.
public  longgetEndTime()
    
public  RolegetRole()
     Return the Role this Asset is performing while transferred.
public  SchedulegetSchedule()
     Returns the Schedule for the "ownership" of the asset being transfered.
public  longgetStartTime()
    
public synchronized  voidindicateAssetChange()
    
public  booleanisAssetAvailabilityConflict()
     Checks to see if there is a potential conflict with the asset's available schedule.
public synchronized  booleanisAssetChangeIndicated()
    
public  booleanisPotentialConflict()
     Checks to see if there is a protential conflict with another allocation to the same asset.
public  voidpostRehydration(Logger logger)
    
public  voidremovingFromBlackboard(Subscriber s, boolean commit)
    
public synchronized  voidresetAssetChangeIndicated()
     Infrastructure only: this actually should be locked before calling this method so that we can tell if it has changed again.
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  StringtoString()
    


Constructor Detail
AssetTransferImpl
public AssetTransferImpl()(Code)



AssetTransferImpl
public AssetTransferImpl(Plan p, Task t, Asset a, Schedule s, Asset to, MessageAddress from)(Code)
Constructor that assumes there is not a good estimated result at this time.
Parameters:
  p -
Parameters:
  t -
Parameters:
  a - The asset being transferred
Parameters:
  s - The schedule representing the time frame that the asset is being transferred for.
Parameters:
  to - The Agent that will receive this asset for use
Parameters:
  from - The Agent that is provided this asset for use



AssetTransferImpl
public AssetTransferImpl(Plan p, Task t, Asset a, Schedule s, Asset to, MessageAddress from, AllocationResult estimatedresult, Role aRole)(Code)
Constructor
Parameters:
  p -
Parameters:
  t -
Parameters:
  a - The asset being transferred
Parameters:
  s - The schedule representing the time frame that the asset is being transferred for.
Parameters:
  to - The Agent that will receive this asset for use
Parameters:
  from - The Agent that is provided this asset for use
Parameters:
  estimatedresult -
Parameters:
  aRole -




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)



getAsset
public Asset getAsset()(Code)
Asset - Asset being assigned



getAssignee
public Asset getAssignee()(Code)
Asset - The Asset to which the Asset is being assigned



getAssignor
public MessageAddress getAssignor()(Code)
Returns the Agent that the asset is assigned from. MessageAddress representing the source of the asset



getEndTime
public long getEndTime()(Code)



getRole
public Role getRole()(Code)
Return the Role this Asset is performing while transferred. Role



getSchedule
public Schedule getSchedule()(Code)
Returns the Schedule for the "ownership" of the asset being transfered. Schedule



getStartTime
public long getStartTime()(Code)



indicateAssetChange
public synchronized void indicateAssetChange()(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



isAssetChangeIndicated
public synchronized boolean isAssetChangeIndicated()(Code)



isPotentialConflict
public boolean isPotentialConflict()(Code)
Checks to see if there is a protential conflict with another allocation to the same asset. Will return true if there is a potential conflict. Will return false if there is NOT a potential conflict. boolean



postRehydration
public void postRehydration(Logger logger)(Code)



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



resetAssetChangeIndicated
public synchronized void resetAssetChangeIndicated()(Code)
Infrastructure only: this actually should be locked before calling this method so that we can tell if it has changed again.



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)



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.