use of org.vcell.pathway.sbpax.SBEntity in project vcell by virtualcell.
the class BioPAXUtil method getKineticLawsOfController.
// find the kinetic laws of the controls for which this physical entity is a controller
public static Set<SBEntity> getKineticLawsOfController(PhysicalEntity controller, PathwayModel pathwayModel) {
Set<SBEntity> kineticLaws = new HashSet<SBEntity>();
if (pathwayModel == null) {
return kineticLaws;
}
Set<Control> controls = getControlsOfController(controller, pathwayModel);
for (Control c : controls) {
ArrayList<SBEntity> kLaws = c.getSBSubEntity();
for (SBEntity kL : kLaws) {
kineticLaws.add(kL);
}
}
return kineticLaws;
}
Aggregations