| java.lang.Object org.cougaar.servicediscovery.description.Lineage org.cougaar.servicediscovery.description.LineageImpl
LineageImpl | public class LineageImpl extends Lineage (Code) | | A Collection which maintains an ordered list of agent names - reflecting
the superior/subordinate chain from a root agent.
Iteration starts with the current agent and goes to the root.
|
LineageImpl | public LineageImpl()(Code) | | |
LineageImpl | public LineageImpl(int type)(Code) | | |
LineageImpl | public LineageImpl(int type, List list)(Code) | | |
countHops | public int countHops(String startingAgent, String endingAgent)(Code) | | the number of links in the lineage between the two agents. Returns -1 if the agents are not linked. |
getLeaf | public String getLeaf()(Code) | | the name of the agent at the end of the lineageNull if lineage has no members |
getRoot | public String getRoot()(Code) | | the name of the agent at the root of the lineage. |
getSchedule | public Schedule getSchedule()(Code) | | the time periods for which the lineage is valid |
getType | public int getType()(Code) | | the type of the lineage.Should be one of the defined lineage types. |
hashCode | public int hashCode()(Code) | | |
setList | public synchronized void setList(List list)(Code) | | |
setType | public void setType(int type)(Code) | | Parameters: type - of the lineage.Should be one of the defined lineage types. |
|
|