30313233343536
for (Component c : components.getComponent() ) { if (c.getId().equals(id)) return c; } throw new InputIntegrityException("No component with id " + id ); }
31323334353637
if (qu.getId().equals(id)) return qu; } throw new InputIntegrityException("No question with id " + id ); }
38394041424344
for (Xpath x : xpaths.getXpath() ) { if (x.getId().equals(id)) return x; } throw new InputIntegrityException("Couldn't find xpath " + id ); }
60616263646566
if (x.getQuestionID()!=null && x.getQuestionID().equals(id)) return x; } throw new InputIntegrityException("No XPath with question id " + id ); }
if (c.getId().equals(id)) return c; } throw new InputIntegrityException("No Condition with id " + id ); }