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

RelationshipScheduleImpl
public class RelationshipScheduleImpl extends ScheduleImpl implements NewRelationshipSchedule(Code)
A RelationshipSchedule is a representation of an object (must implement HasRelationships) relationships



Constructor Summary
public  RelationshipScheduleImpl()
    
public  RelationshipScheduleImpl(HasRelationships hasRelationships)
    
public  RelationshipScheduleImpl(HasRelationships hasRelationships, Collection relationships)
    
public  RelationshipScheduleImpl(RelationshipSchedule schedule)
     Construct a schedule which has the same elements as the specified collection.

Method Summary
public  HasRelationshipsgetHasRelationships()
    
public synchronized  CollectiongetMatchingRelationships(UnaryPredicate predicate)
     getMatchingRelationships - return all Relationships which pass the specified UnaryPredicate.
public synchronized  CollectiongetMatchingRelationships(Role role)
     getMatchingRelationships - return all Relationships which contain the specified role.
public  CollectiongetMatchingRelationships(Role role, long time)
     getMatchingRelationships - return all Relationships which contain the specified role and intersect the time.
public synchronized  CollectiongetMatchingRelationships(Role role, TimeSpan timeSpan)
     getMatchingRelationships - return all Relationships which contain the specified role and overlap the specified time span.
public synchronized  CollectiongetMatchingRelationships(Role role, long startTime, long endTime)
    
public  CollectiongetMatchingRelationships(Role role, HasRelationships otherObject, long time)
     getMatchingRelationships - return all Relationships which contain the specified other object, match the specified role and intersect the time.
public synchronized  CollectiongetMatchingRelationships(Role role, HasRelationships other, TimeSpan timeSpan)
     getMatchingRelationships - return all Relationships which contain the specified other object, match the specified role and and overlap the specified time span.
public synchronized  CollectiongetMatchingRelationships(Role role, HasRelationships other, long startTime, long endTime)
    
public  CollectiongetMatchingRelationships(HasRelationships otherObject, long time)
     getMatchingRelationships - return all Relationships which contain the specified other object and intersect the specified time.
public synchronized  CollectiongetMatchingRelationships(HasRelationships other, TimeSpan timeSpan)
     getMatchingRelationships - return all Relationships which contain the specified other object and overlap the specified time span.
public synchronized  CollectiongetMatchingRelationships(HasRelationships other, long startTime, long endTime)
     getMatchingRelationships - return all Relationships which contain the specified other object and overlap the time span specified by the start and end time arguments.
public synchronized  CollectiongetMatchingRelationships(String roleSuffix, long time)
     getMatchingRelationships - return all Relationships where the role ends with the specifed suffix and intersects the specified time.
public synchronized  CollectiongetMatchingRelationships(String roleSuffix, TimeSpan timeSpan)
     getMatchingRelationships - return all Relationships where the role ends with the specifed suffix and overlap the specified time span.
public synchronized  CollectiongetMatchingRelationships(String roleSuffix, long startTime, long endTime)
    
public synchronized  CollectiongetMatchingRelationships(long time)
     getMatchingRelationships - return all Relationships which intersect the specified time.
public synchronized  CollectiongetMatchingRelationships(TimeSpan timeSpan)
     getMatchingRelationships - return all Relationships which overlap the specified time span.
public synchronized  CollectiongetMatchingRelationships(long startTime, long endTime)
    
public  RolegetMyRole(Relationship relationship)
     getMyRole - return role for schedule's HasRelationships in the specified relationship.
public  HasRelationshipsgetOther(Relationship relationship)
     getOther - return other (i.e.
public  RolegetOtherRole(Relationship relationship)
     getMyRole - return role for other HasRelationships in the specified relationship.
public synchronized  booleanisAppropriateScheduleElement(Object o)
    
public static  voidmain(String[] args)
    
public synchronized  voidsetHasRelationships(HasRelationships hasRelationships)
    


Constructor Detail
RelationshipScheduleImpl
public RelationshipScheduleImpl()(Code)



RelationshipScheduleImpl
public RelationshipScheduleImpl(HasRelationships hasRelationships)(Code)



RelationshipScheduleImpl
public RelationshipScheduleImpl(HasRelationships hasRelationships, Collection relationships)(Code)



RelationshipScheduleImpl
public RelationshipScheduleImpl(RelationshipSchedule schedule)(Code)
Construct a schedule which has the same elements as the specified collection. If the specified collection needs to be sorted, it will be.




Method Detail
getHasRelationships
public HasRelationships getHasRelationships()(Code)



getMatchingRelationships
public synchronized Collection getMatchingRelationships(UnaryPredicate predicate)(Code)
getMatchingRelationships - return all Relationships which pass the specified UnaryPredicate.
Parameters:
  predicate - UnaryPredicate to use in screening Relationships a sorted Collection containing all Relationships whichwhich pass the specified UnaryPredicate



getMatchingRelationships
public synchronized Collection getMatchingRelationships(Role role)(Code)
getMatchingRelationships - return all Relationships which contain the specified role.
Parameters:
  role - Role to look for a sorted Collection containing all Relationships whichwhich match the specified Role



getMatchingRelationships
public Collection getMatchingRelationships(Role role, long time)(Code)
getMatchingRelationships - return all Relationships which contain the specified role and intersect the time.
Parameters:
  role - Role to look for
Parameters:
  time - long specifying the time a sorted Collection containing all Relationships whichwhich match the specified Role and intersect the specified time



getMatchingRelationships
public synchronized Collection getMatchingRelationships(Role role, TimeSpan timeSpan)(Code)
getMatchingRelationships - return all Relationships which contain the specified role and overlap the specified time span.
Parameters:
  role - Role to look for
Parameters:
  timeSpan - TimeSpan a sorted Collection containing all Relationships whichwhich match the specified Role and overlap the specified time span



getMatchingRelationships
public synchronized Collection getMatchingRelationships(Role role, long startTime, long endTime)(Code)
getMatchingRelationships - return all Relationships which contain the specified role and overlap the time span specified by the start and end time arguments
Parameters:
  role - Role to look for
Parameters:
  startTime - long specifying the start of the time span
Parameters:
  endTime - long specifying the end of the time span a sorted Collection containing all Relationships whichwhich match the specified Role and overlap the specified time span



getMatchingRelationships
public Collection getMatchingRelationships(Role role, HasRelationships otherObject, long time)(Code)
getMatchingRelationships - return all Relationships which contain the specified other object, match the specified role and intersect the time.
Parameters:
  role - Role to look for
Parameters:
  otherObject - HasRelationships
Parameters:
  time - long specifying the time a sorted Collection containing all Relationships which contain the specified other object, match the specified role and direct object flag, and intersect the specified time.



getMatchingRelationships
public synchronized Collection getMatchingRelationships(Role role, HasRelationships other, TimeSpan timeSpan)(Code)
getMatchingRelationships - return all Relationships which contain the specified other object, match the specified role and and overlap the specified time span.
Parameters:
  role - Role to look for
Parameters:
  other - HasRelationships
Parameters:
  timeSpan - TimeSpan a sorted Collection containing all Relationships whichwhich match the specified Role and overlap the specified time span



getMatchingRelationships
public synchronized Collection getMatchingRelationships(Role role, HasRelationships other, long startTime, long endTime)(Code)
getMatchingRelationships - return all Relationships which match the specified other object, match the specified role, and overlap the the time span specified by the start and end time arguments
Parameters:
  role - Role to look for
Parameters:
  other - HasRelationships
Parameters:
  startTime - long specifying the start of the time span
Parameters:
  endTime - long specifying the end of the time span a sorted Collection containing all Relationships whichwhich match the specified Role, direct object flag and overlap the specified time span.



getMatchingRelationships
public Collection getMatchingRelationships(HasRelationships otherObject, long time)(Code)
getMatchingRelationships - return all Relationships which contain the specified other object and intersect the specified time.
Parameters:
  otherObject - HasRelationships
Parameters:
  time - long a sorted Collection containing all Relationships whichwhich contain the specified other HasRelationships and intersect the specified time span



getMatchingRelationships
public synchronized Collection getMatchingRelationships(HasRelationships other, TimeSpan timeSpan)(Code)
getMatchingRelationships - return all Relationships which contain the specified other object and overlap the specified time span.
Parameters:
  other - HasRelationships
Parameters:
  timeSpan - TimeSpan a sorted Collection containing all Relationships whichwhich match the specified Role and overlap the specified time span



getMatchingRelationships
public synchronized Collection getMatchingRelationships(HasRelationships other, long startTime, long endTime)(Code)
getMatchingRelationships - return all Relationships which contain the specified other object and overlap the time span specified by the start and end time arguments.
Parameters:
  other - HasRelationships
Parameters:
  startTime - long specifying the start of the time span
Parameters:
  endTime - long specifying the end of the time span a sorted Collection containing all Relationships whichwhich match the specified direct object flag and overlap the specified time span



getMatchingRelationships
public synchronized Collection getMatchingRelationships(String roleSuffix, long time)(Code)
getMatchingRelationships - return all Relationships where the role ends with the specifed suffix and intersects the specified time.
Parameters:
  roleSuffix - String
Parameters:
  time - long specifying the time a sorted Collection containing all Relationships whichwhich match the specified role suffix and intersect the specified time



getMatchingRelationships
public synchronized Collection getMatchingRelationships(String roleSuffix, TimeSpan timeSpan)(Code)
getMatchingRelationships - return all Relationships where the role ends with the specifed suffix and overlap the specified time span.
Parameters:
  roleSuffix - String
Parameters:
  timeSpan - TimeSpan a sorted Collection containing all Relationships whichwhich match the specified role suffix and overlap the specified time span



getMatchingRelationships
public synchronized Collection getMatchingRelationships(String roleSuffix, long startTime, long endTime)(Code)
getMatchingRelationships - return all Relationships where the role ends with the specifed suffix and overlap the time span specified by the start and end time arguments
Parameters:
  roleSuffix - String
Parameters:
  startTime - long specifying the start of the time span
Parameters:
  endTime - long specifying the end of the time span a sorted Collection containing all Relationships whichwhich match the specified role suffix and overlap the specified time span



getMatchingRelationships
public synchronized Collection getMatchingRelationships(long time)(Code)
getMatchingRelationships - return all Relationships which intersect the specified time.
Parameters:
  time - long specifying the time a sorted Collection containing all Relationships whichwhich intersect the specified time



getMatchingRelationships
public synchronized Collection getMatchingRelationships(TimeSpan timeSpan)(Code)
getMatchingRelationships - return all Relationships which overlap the specified time span.
Parameters:
  timeSpan - TimeSpan a sorted Collection containing all Relationships whichwhich contain overlap the specified time span



getMatchingRelationships
public synchronized Collection getMatchingRelationships(long startTime, long endTime)(Code)
getMatchingRelationships - return all Relationships which overlap the time span specified by the start and end time arguments
Parameters:
  startTime - long specifying the start of the time span
Parameters:
  endTime - long specifying the end of the time span a sorted Collection containing all Relationships whichwhich match overlap the specified time span



getMyRole
public Role getMyRole(Relationship relationship)(Code)
getMyRole - return role for schedule's HasRelationships in the specified relationship.
Parameters:
  relationship - Relationship Role



getOther
public HasRelationships getOther(Relationship relationship)(Code)
getOther - return other (i.e. not schedule's) HasRelationships in the specified relationship.
Parameters:
  relationship - Relationship HasRelationships



getOtherRole
public Role getOtherRole(Relationship relationship)(Code)
getMyRole - return role for other HasRelationships in the specified relationship.
Parameters:
  relationship - Relationship Role



isAppropriateScheduleElement
public synchronized boolean isAppropriateScheduleElement(Object o)(Code)



main
public static void main(String[] args)(Code)



setHasRelationships
public synchronized void setHasRelationships(HasRelationships hasRelationships)(Code)



Fields inherited from org.cougaar.planning.ldm.plan.ScheduleImpl
final protected static String EOL(Code)(Java Doc)
protected Class scheduleElementType(Code)(Java Doc)
protected String scheduleType(Code)(Java Doc)

Methods inherited from org.cougaar.planning.ldm.plan.ScheduleImpl
public Collection UnderlyingContainer()(Code)(Java Doc)
public synchronized boolean add(Object o)(Code)(Java Doc)
public synchronized void addScheduleElement(ScheduleElement aScheduleElement)(Code)(Java Doc)
public synchronized void applyThunkToScheduleElements(Thunk t)(Code)(Java Doc)
public synchronized void clearScheduleElements()(Code)(Java Doc)
public synchronized Collection filter(UnaryPredicate predicate)(Code)(Java Doc)
public synchronized Enumeration getAllScheduleElements()(Code)(Java Doc)
public synchronized Collection getEncapsulatedScheduleElements(Date startDate, Date endDate)(Code)(Java Doc)
public synchronized Collection getEncapsulatedScheduleElements(long startTime, long endTime)(Code)(Java Doc)
public synchronized Date getEndDate()(Code)(Java Doc)
public synchronized Date getEndDate_quiet()(Code)(Java Doc)
public synchronized long getEndTime()(Code)(Java Doc)
protected int getModCount()(Code)(Java Doc)
public synchronized Collection getOverlappingScheduleElements(Date startDate, Date endDate)(Code)(Java Doc)
public synchronized Collection getOverlappingScheduleElements(long startTime, long endTime)(Code)(Java Doc)
public synchronized ScheduleElement getScheduleElement(int i)(Code)(Java Doc)
public Class getScheduleElementType()(Code)(Java Doc)
public synchronized ScheduleElement[] getScheduleElements()(Code)(Java Doc)
public synchronized Collection getScheduleElementsWithDate(Date aDate)(Code)(Java Doc)
public synchronized Collection getScheduleElementsWithTime(long aTime)(Code)(Java Doc)
public String getScheduleType()(Code)(Java Doc)
public synchronized Date getStartDate()(Code)(Java Doc)
public synchronized Date getStartDate_quiet()(Code)(Java Doc)
public synchronized long getStartTime()(Code)(Java Doc)
public boolean isAppropriateScheduleElement(Object o)(Code)(Java Doc)
public synchronized Iterator iterator()(Code)(Java Doc)
public synchronized ListIterator listIterator()(Code)(Java Doc)
public ListIterator listIterator(int index)(Code)(Java Doc)
public static void main(String[] args)(Code)(Java Doc)
protected Iterator protectedIterator()(Code)(Java Doc)
public synchronized void removeScheduleElement(ScheduleElement aScheduleElement)(Code)(Java Doc)
public synchronized void setScheduleElement(ScheduleElement aScheduleElement)(Code)(Java Doc)
public synchronized void setScheduleElementType(Class setype)(Code)(Java Doc)
public synchronized void setScheduleElements(Collection collection)(Code)(Java Doc)
public synchronized void setScheduleElements(Enumeration someScheduleElements)(Code)(Java Doc)
public synchronized void setScheduleType(String type)(Code)(Java Doc)
public synchronized List subList(int fromIndex, int toIndex)(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.