}
protected void loadDefinition(Element def) throws ElementTypeDefinitionException {
String attributesString = def.getAttributeValue("attributes");
if (StringUtil.isNotEmptyOrSpaces(attributesString)) {
attributes = new ElementTypeAttributesBundle(attributesString);
}
isVirtualObjectInsideLookup = Boolean.parseBoolean(def.getAttributeValue("virtual-object-inside-lookup"));
String objectTypeName = def.getAttributeValue("virtual-object");
if (objectTypeName != null) {