| java.lang.Object org.cougaar.planning.ldm.plan.ScheduleElementImpl org.cougaar.planning.ldm.plan.AssignedRelationshipElementImpl
AssignedRelationshipElementImpl | public class AssignedRelationshipElementImpl extends ScheduleElementImpl implements NewAssignedRelationshipElement(Code) | | AssignedRelationshipElementImpl represents a relationship between assets.
Used instead of Relationships in the AssetAssignment directive to prevent
deadlock problems. Assets in the relationships represented by the
ItemIdentification from their ItemIdentificationPG
|
AssignedRelationshipElementImpl | public AssignedRelationshipElementImpl()(Code) | | constructor for factory use
|
AssignedRelationshipElementImpl | public AssignedRelationshipElementImpl(Asset assetA, Role roleA, Asset assetB, Role roleB, long start, long end)(Code) | | constructor for factory use that takes assets, roles, start, end times
|
AssignedRelationshipElementImpl | public AssignedRelationshipElementImpl(Relationship relationship)(Code) | | constructor for factory use that takes a Relationship
|
equals | public boolean equals(Object object)(Code) | | equals - performs field by field comparison
Parameters: object - Object to compare boolean if 'same' |
getItemIDA | public String getItemIDA()(Code) | | String identifier for the Asset mapping to HasRelationships A in the
associated relationship
String |
getItemIDB | public String getItemIDB()(Code) | | String identifier for the Asset mapping to HasRelationships B in the
associated relationship
String |
getRoleA | public Role getRoleA()(Code) | | Role for the Asset identified by itemIDA
Role |
getRoleB | public Role getRoleB()(Code) | | Role for the Asset identified by itemIDB
Role |
setItemIDA | public void setItemIDA(String itemID)(Code) | | Set the string identifier for the Asset mapping to HasRelationships A
in the associated relationship
Parameters: itemID - String |
setItemIDA | public void setItemIDA(Asset asset)(Code) | | Set the string identifier for the Asset mapping to HasRelationships A
in the associated relationship.
Parameters: asset - Asset |
setItemIDB | public void setItemIDB(String itemID)(Code) | | Set the string identifier for the Asset mapping to HasRelationships B
in the associated relationship
|
setItemIDB | public void setItemIDB(Asset asset)(Code) | | Set the string identifier for the Asset mapping to HasRelationships B
in the associated relationship
|
setRoleA | public void setRoleA(Role role)(Code) | | Set the Role for the Asset identified by itemIDA
Parameters: role - Role |
setRoleB | public void setRoleB(Role role)(Code) | | Set the Role for the Asset identified by itemIDB
Parameters: role - Role |
|
|