| org.cougaar.planning.ldm.plan.RelationshipSchedule
RelationshipSchedule | public interface RelationshipSchedule extends Schedule(Code) | | A RelationshipSchedule is a representation of an object (must implement
HasRelationships) relationships
|
Inner Class :class RelationshipScheduleChangeReport implements ChangeReport | |
Method Summary | |
HasRelationships | getHasRelationships() | Collection | getMatchingRelationships(UnaryPredicate predicate) getMatchingRelationships - return all Relationships which pass the
specified UnaryPredicate. | Collection | getMatchingRelationships(Role role) getMatchingRelationships - return all Relationships where the other
has the specified role. | Collection | getMatchingRelationships(Role role, long time) getMatchingRelationships - return all Relationships which contain the
specified role and intersect the time. | Collection | getMatchingRelationships(Role role, long startTime, long endTime) | Collection | getMatchingRelationships(Role role, TimeSpan timeSpan) getMatchingRelationships - return all Relationships which contain the
specified role and overlap the specified time span. | Collection | getMatchingRelationships(Role role, HasRelationships otherObject, long time) getMatchingRelationships - return all Relationships which contain the
specified other object, match the specified role and intersect the time. | Collection | getMatchingRelationships(Role role, HasRelationships otherObject, TimeSpan timeSpan) getMatchingRelationships - return all Relationships which contain the
specified other object, match the specified role, and overlap the
specified time span. | Collection | getMatchingRelationships(Role role, HasRelationships otherObject, long startTime, long endTime) | Collection | getMatchingRelationships(HasRelationships otherObject, long time) getMatchingRelationships - return all Relationships which contain the
specified other object and intersect the specified time. | Collection | getMatchingRelationships(HasRelationships otherObject, TimeSpan timeSpan) getMatchingRelationships - return all Relationships which contain the
specified other object and overlap the specified time span. | Collection | getMatchingRelationships(HasRelationships otherObject, 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. | Collection | getMatchingRelationships(String roleSuffix, TimeSpan timeSpan) getMatchingRelationships - return all Relationships which contain the
specified role suffix and overlap the specified time span. | Collection | getMatchingRelationships(String roleSuffix, long time) getMatchingRelationships - return all Relationships which contain the
specified role suffix and intersect the specified time. | Collection | getMatchingRelationships(String roleSuffix, long startTime, long endTime) getMatchingRelationships - return all Relationships which contain the
specified role suffix and overlap the time span specified by the start and end
time arguments. | Collection | getMatchingRelationships(TimeSpan timeSpan) getMatchingRelationships - return all Relationships which overlap the
specified time span. | Collection | getMatchingRelationships(long time) getMatchingRelationships - return all Relationships which intersect the
specified time. | Collection | getMatchingRelationships(long startTime, long endTime) getMatchingRelationships - return all Relationships which overlap the
time span specified by the start and end time arguments. | Role | getMyRole(Relationship relationship) getMyRole - return role for schedule's HasRelationships in the specified
relationship. | HasRelationships | getOther(Relationship relationship) getOther - return other (i.e. | Role | getOtherRole(Relationship relationship) getOtherRole - return role for other HasRelationships in the specified
relationship. |
getHasRelationships | HasRelationships getHasRelationships()(Code) | | HasRelationships The object whose relationships are contained inthe schedule |
getMatchingRelationships | 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 | Collection getMatchingRelationships(Role role)(Code) | | getMatchingRelationships - return all Relationships where the other
has the specified role. getMatchingRelationships(SUBORDINATE) returns
relationships with my subordinates
Parameters: role - Role to look for a sorted Collection containing all Relationships whichwhich match the specified Role |
getMatchingRelationships | 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 | 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 | 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 | 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 | Collection getMatchingRelationships(Role role, HasRelationships otherObject, TimeSpan timeSpan)(Code) | | getMatchingRelationships - return all Relationships which contain the
specified other object, match the specified role, and overlap the
specified time span.
Parameters: role - Role to look for Parameters: otherObject - HasRelationships Parameters: timeSpan - TimeSpan a sorted Collection containing all Relationships whichwhich match the specified Role and overlap the specified time span |
getMatchingRelationships | Collection getMatchingRelationships(Role role, HasRelationships otherObject, long startTime, long endTime)(Code) | | getMatchingRelationships - return all Relationships which contain 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: otherObject - 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 which contain the specified other object, match the specified role and direct object flag, and overlap the specified time span. |
getMatchingRelationships | 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 | Collection getMatchingRelationships(HasRelationships otherObject, TimeSpan timeSpan)(Code) | | getMatchingRelationships - return all Relationships which contain the
specified other object and overlap the specified time span.
Parameters: otherObject - HasRelationships Parameters: timeSpan - TimeSpan a sorted Collection containing all Relationships whichwhich contain the specified other HasRelationships and overlap the specified time span |
getMatchingRelationships | Collection getMatchingRelationships(HasRelationships otherObject, 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: otherObject - 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 and overlap the specified time span |
getMatchingRelationships | Collection getMatchingRelationships(String roleSuffix, TimeSpan timeSpan)(Code) | | getMatchingRelationships - return all Relationships which contain the
specified role suffix and overlap the specified time span.
getMatchingRelationships("Provider", timeSpan) will return
relationships with providers.
Parameters: roleSuffix - String specifying the role suffix to match Parameters: timeSpan - TimeSpan a sorted Collection containing all Relationships whichwhich contain the specified role suffix and overlap the specified time span |
getMatchingRelationships | Collection getMatchingRelationships(String roleSuffix, long time)(Code) | | getMatchingRelationships - return all Relationships which contain the
specified role suffix and intersect the specified time.
getMatchingRelationships("Provider", time) will return
relationships with providers.
Parameters: roleSuffix - String specifying the role suffix to match Parameters: time - long a sorted Collection containing all Relationships whichwhich contain the specified role suffix and intersect the specified time |
getMatchingRelationships | Collection getMatchingRelationships(String roleSuffix, long startTime, long endTime)(Code) | | getMatchingRelationships - return all Relationships which contain the
specified role suffix and overlap the time span specified by the start and end
time arguments.
getMatchingRelationships("Provider", startTime, endTime) will return
relationships with providers.
Parameters: roleSuffix - String specifying the role suffix to match 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 | 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 | Collection getMatchingRelationships(long time)(Code) | | getMatchingRelationships - return all Relationships which intersect the
specified time.
Parameters: time - long a sorted Collection containing all Relationships whichwhich intersect the specified time |
getMatchingRelationships | 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 | Role getMyRole(Relationship relationship)(Code) | | getMyRole - return role for schedule's HasRelationships in the specified
relationship.
Parameters: relationship - Relationship Role |
getOther | HasRelationships getOther(Relationship relationship)(Code) | | getOther - return other (i.e. not schedule's) HasRelationships in the
specified relationship.
Parameters: relationship - Relationship HasRelationships |
getOtherRole | Role getOtherRole(Relationship relationship)(Code) | | getOtherRole - return role for other HasRelationships in the specified
relationship.
Parameters: relationship - Relationship Role |
|
|