| |
|
| java.lang.Object org.cougaar.planning.ldm.plan.Role
Constructor Summary | |
public | Role() |
create | public static void create(String roleName, String converseRoleName)(Code) | | create - creates specified role and its converse.
throws: java.lang.IllegalArgumentException - if role or converse already exist. Parameters: roleName - String name of the role Parameters: converseRoleName - String name of the converse role |
equals | public boolean equals(Object obj)(Code) | | Implementation of the comparison
|
getConverse | public Role getConverse()(Code) | | the converse role. |
getDefaultEventIndex | public int getDefaultEventIndex()(Code) | | |
getDefaultPropertyIndex | public int getDefaultPropertyIndex()(Code) | | |
getName | public String getName()(Code) | | Answer with the String representation of the name.
|
getRole | public static Role getRole(String vs)(Code) | | getRole - finds the specified role. Uses role cache
Parameters: vs - String name of the role Role which has the specified name. Returns null if no such role exists. |
hashCode | public int hashCode()(Code) | | |
|
|
|