if (attrValue != null && !attrValue.equals("")) //$NON-NLS-1$ catalogElement.setAttributeValue(attrName, attrValue);
if (attrValue != null && !attrValue.equals("")) //$NON-NLS-1$ catalogElement.setAttributeValue(attrName, attrValue);
public Object clone() { ICatalogElement element = ownerCatalog.createCatalogElement(type); String[] attributes = getAttributes(); for (int i = 0; i < attributes.length; i++) { String attrName = attributes[i]; String attrValue = getAttributeValue(attrName); element.setAttributeValue(attrName, attrValue); } element.setOwnerCatalog(ownerCatalog); element.setId(id); return element; }