if (result == null)
{
//From parent
if (!found && (component instanceof IComponentHasParent))
{
IComponentHasParent child = (IComponentHasParent) component;
component.setType(child.getParent().getType());
}
else
{
component.setType(new ProductionLiteral());