Set<physicalEntityParticipant> prodSet = direction == RIGHT_TO_LEFT ?
conv.getLEFT() : conv.getRIGHT();
for (physicalEntityParticipant par : subsSet)
{
NodeModel sub = map.get(par.getRDFId());
new Substrate(sub, this, par);
}
for (physicalEntityParticipant par : prodSet)
{
NodeModel prod = map.get(par.getRDFId());
new Product(this, prod, par);
}
// Infer if this conversion is a transcription
if (!t && subsSet.isEmpty() && prodSet.size() == 1)
{
t = true;
// this.setText("t");
util.recordModelTag(BioPAXGraph.TRANSCRIPTION_TAG, "");
}
// Create effectors.
for (control con : conv.isCONTROLLEDOf())
{
if (map.containsKey(con.getRDFId()))
{
Control cont = (Control) map.get(con.getRDFId());
new EffectorSecondHalf(cont, this, cont.getControl());
}
else if (con.isCONTROLLEDOf().isEmpty() && con.getCONTROLLER().size() == 1)
{
NodeModel source = map.get(con.getCONTROLLER().iterator().next().getRDFId());
new NonModulatedEffector(source, this, con,
con.getCONTROLLER().iterator().next(), conv);
}
else
{