| java.lang.Object org.cougaar.servicediscovery.description.Lineage
All known Subclasses: org.cougaar.servicediscovery.description.LineageImpl,
Lineage | abstract public class Lineage implements java.io.Serializable,UniqueObject(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.
|
ADCON | final public static int ADCON(Code) | | |
OPCON | final public static int OPCON(Code) | | |
SUPPORT | final public static int SUPPORT(Code) | | |
SUPPORT_STRING | final public static String SUPPORT_STRING(Code) | | |
UNDEFINED | final public static int UNDEFINED(Code) | | |
UNDEFINED_STRING | final public static String UNDEFINED_STRING(Code) | | |
countHops | abstract 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 | abstract public String getLeaf()(Code) | | the name of the agent at the end of the lineage. |
getList | abstract public List getList()(Code) | | an unmodifiable list of agents in the lineage |
getRoot | abstract public String getRoot()(Code) | | the name of the agent at the root of the lineage. |
getSchedule | abstract public Schedule getSchedule()(Code) | | the time periods for which the lineage is valid |
getType | abstract public int getType()(Code) | | the type of the lineage.Should be one of the defined lineage types. |
roleToType | public static int roleToType(Role role)(Code) | | |
typeToRole | public static Role typeToRole(int type)(Code) | | |
validType | public static boolean validType(int lineageType)(Code) | | |
|
|