Java Doc for MPTaskImpl.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.PlanningDirectiveImpl
   org.cougaar.planning.ldm.plan.TaskImpl
      org.cougaar.planning.ldm.plan.MPTaskImpl

MPTaskImpl
final public class MPTaskImpl extends TaskImpl implements MPTask,NewMPTask,ActivePersistenceObject(Code)
MPTask implementation - MPTasks should only be created or used if they are attached to MPWorkflows. MPTasks always have multiple ParentTasks.



Constructor Summary
public  MPTaskImpl(UID uid)
    

Method Summary
public  voidcheckRehydration(Logger logger)
    
public  CompositiongetComposition()
     The Composition object that created this task.
public  TaskgetParentTask()
     Override getParentTask in Task.java and return null.
public  StringgetParentTaskID(int i)
    
public  String[]getParentTaskIDs()
    
public  EnumerationgetParentTasks()
     Returns the base or parent tasks of a given task, where the given task is an aggregation expansion of the base tasks.
public  voidpostRehydration(Logger logger)
    
protected  voidremoveParentTask(Task ptask)
    
public  voidsetComposition(Composition aComposition)
     Set the Composition that created this task.
public  voidsetParentTask(Task parentTask)
     Do not allow this to be called on an MPTask, since there are by definition more than one Parent Task of an MPTask.
public  voidsetParentTaskUID(UID parentTaskuid)
    
public  voidsetParentTasks(Enumeration pt)
     Sets the base or parent tasks of a given task, where the given task is an aggregation expansion of the base tasks.
public  booleanskipUnpublishedPersist(Logger logger)
    


Constructor Detail
MPTaskImpl
public MPTaskImpl(UID uid)(Code)
Constructor that takes no args




Method Detail
checkRehydration
public void checkRehydration(Logger logger)(Code)



getComposition
public Composition getComposition()(Code)
The Composition object that created this task. Composition
See Also:   org.cougaar.planning.ldm.plan.Composition



getParentTask
public Task getParentTask()(Code)
Override getParentTask in Task.java and return null. Dump stack as this shouldn't be called for MPTask, because MPTasks have more than one parent.



getParentTaskID
public String getParentTaskID(int i)(Code)



getParentTaskIDs
public String[] getParentTaskIDs()(Code)



getParentTasks
public Enumeration getParentTasks()(Code)
Returns the base or parent tasks of a given task, where the given task is an aggregation expansion of the base tasks. The These tasks are members of MPWorkflows. Enumeration{Task} that are the "parenttasks"



postRehydration
public void postRehydration(Logger logger)(Code)



removeParentTask
protected void removeParentTask(Task ptask)(Code)



setComposition
public void setComposition(Composition aComposition)(Code)
Set the Composition that created this task.
Parameters:
  aComposition -



setParentTask
public void setParentTask(Task parentTask)(Code)
Do not allow this to be called on an MPTask, since there are by definition more than one Parent Task of an MPTask.



setParentTaskUID
public void setParentTaskUID(UID parentTaskuid)(Code)



setParentTasks
public void setParentTasks(Enumeration pt)(Code)
Sets the base or parent tasks of a given task, where the given task is an aggregation expansion of the base tasks. Note that an MPTask contains multiple ParentTasks. If the Context of the MPTask hasn't been set, the Context will be set the be the union of Contexts of the parenttasks
Parameters:
  pt - - Enumeration of Tasks which are the "parenttasks"



skipUnpublishedPersist
public boolean skipUnpublishedPersist(Logger logger)(Code)



Fields inherited from org.cougaar.planning.ldm.plan.TaskImpl
public transient PropertyChangeSupport pcs(Code)(Java Doc)
final static long serialVersionUID(Code)(Java Doc)

Methods inherited from org.cougaar.planning.ldm.plan.TaskImpl
public void addObservableAspect(int aspectType)(Code)(Java Doc)
public void addPreference(Preference aPreference)(Code)(Java Doc)
public void addPrepositionalPhrase(PrepositionalPhrase aPrepPhrase)(Code)(Java Doc)
public void addPropertyChangeListener(PropertyChangeListener pcl)(Code)(Java Doc)
public void addingToBlackboard(Subscriber s, boolean commit)(Code)(Java Doc)
public boolean beforeCommitment(Date currentdate)(Code)(Java Doc)
public void changingInBlackboard(Subscriber s, boolean commit)(Code)(Java Doc)
public synchronized Object clone()(Code)(Java Doc)
public boolean equals(Object ob)(Code)(Java Doc)
public Annotation getAnnotation()(Code)(Java Doc)
public int[] getAuxiliaryQueryTypes()(Code)(Java Doc)
public Date getCommitmentDate()(Code)(Java Doc)
public Context getContext()(Code)(Java Doc)
public Asset getDirectObject()(Code)(Java Doc)
public Enumeration getObservableAspects()(Code)(Java Doc)
public MessageAddress getOwner()(Code)(Java Doc)
public String getParentTaskID()(Code)(Java Doc)
public UID getParentTaskUID()(Code)(Java Doc)
public synchronized PlanElement getPlanElement()(Code)(Java Doc)
public UID getPlanElementID()(Code)(Java Doc)
public String getPlanName()(Code)(Java Doc)
public synchronized Preference getPreference(int aspect_type)(Code)(Java Doc)
public synchronized Preference getPreferenceFromArray(int i)(Code)(Java Doc)
public Enumeration getPreferences()(Code)(Java Doc)
public synchronized Preference[] getPreferencesAsArray()(Code)(Java Doc)
public double getPreferredValue(int aspect_type)(Code)(Java Doc)
public PrepositionalPhrase getPrepositionalPhrase(String preposition)(Code)(Java Doc)
public PrepositionalPhrase getPrepositionalPhraseFromArray(int i)(Code)(Java Doc)
public Enumeration getPrepositionalPhrases()(Code)(Java Doc)
public PrepositionalPhrase[] getPrepositionalPhrasesAsArray()(Code)(Java Doc)
public byte getPriority()(Code)(Java Doc)
public UID getUID()(Code)(Java Doc)
public Verb getVerb()(Code)(Java Doc)
public String getVerbName()(Code)(Java Doc)
public Workflow getWorkflow()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isDeleted()(Code)(Java Doc)
public synchronized boolean private_updatePreferences(TaskImpl that)(Code)(Java Doc)
public synchronized void privately_resetPlanElement()(Code)(Java Doc)
public void privately_setDestination(MessageAddress dest)(Code)(Java Doc)
public synchronized void privately_setPlanElement(PlanElement pe)(Code)(Java Doc)
public void removePropertyChangeListener(PropertyChangeListener pcl)(Code)(Java Doc)
public void removingFromBlackboard(Subscriber s, boolean commit)(Code)(Java Doc)
public void setAnnotation(Annotation pluginAnnotation)(Code)(Java Doc)
public void setAuxiliaryQueryTypes(int[] thetypes)(Code)(Java Doc)
public void setCommitmentDate(Date commitDate)(Code)(Java Doc)
public void setContext(Context context)(Code)(Java Doc)
public void setDeleted(boolean newDeleted)(Code)(Java Doc)
public void setDestination(MessageAddress dest)(Code)(Java Doc)
public void setDirectObject(Asset dobj)(Code)(Java Doc)
public void setParentTask(Task pt)(Code)(Java Doc)
public void setParentTaskUID(UID uid)(Code)(Java Doc)
public synchronized void setPreference(Preference p)(Code)(Java Doc)
public synchronized void setPreferences(Enumeration thepreferences)(Code)(Java Doc)
public void setPrepositionalPhrase(PrepositionalPhrase aPrepPhrase)(Code)(Java Doc)
public void setPrepositionalPhrases(Enumeration enumOfPrepPhrase)(Code)(Java Doc)
public void setPrepositionalPhrases(PrepositionalPhrase aPrepPhrase)(Code)(Java Doc)
public void setPriority(byte thepriority)(Code)(Java Doc)
public void setSource(MessageAddress asource)(Code)(Java Doc)
public void setUID(UID uid)(Code)(Java Doc)
public void setVerb(Verb aVerb)(Code)(Java Doc)
public void setWorkflow(Workflow aWorkflow)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from org.cougaar.planning.ldm.plan.PlanningDirectiveImpl
public Plan getPlan()(Code)(Java Doc)
public void setPlan(Plan p)(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.