diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/Element.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/Element.java
index 3f45d13ff4e5b253757094b2d15eb4a88c34b0f1..75e00a3955a1fd323b92020260e980ee3e083184 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/Element.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/Element.java
@@ -96,7 +96,6 @@ public class Element implements IElement
         return Collections.unmodifiableMap(attributes);
     }
 
-
     @Override
     public IElement setAttributes(Map<String, String> newAttributes)
     {
@@ -110,7 +109,6 @@ public class Element implements IElement
         return this;
     }
 
-
     @Override
     public IElement setChildren(List<IElement> newChildren)
     {
@@ -150,7 +148,8 @@ public class Element implements IElement
         if (Pattern.matches("[a-zA-Z][\\w:]*", key) == false)
         {
             String error =
-                    String.format("Invalid attribute name '%s'. Attribute names must "
+                    String.format(
+                            "Invalid attribute name '%s'. Attribute names must "
                                     + "be non-emtpy strings containing characters from the English alphabet.",
                             key);
             throw new IllegalArgumentException(error);
@@ -232,4 +231,11 @@ public class Element implements IElement
         }
         return true;
     }
+
+    @Override
+    public String toString()
+    {
+        return "Element [name=" + name + ", attributes=" + attributes + ", children=" + children
+                + ", data=" + data + "]";
+    }
 }
diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/EntityLinkElement.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/EntityLinkElement.java
index 7604743e52fd288362edcc289686dfed000e21ce..9411765ae3e3275c769a7f61cb19b44ae8f16c32 100644
--- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/EntityLinkElement.java
+++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/shared/managed_property/structured/EntityLinkElement.java
@@ -49,4 +49,12 @@ public class EntityLinkElement extends Element implements IEntityLinkElement
         return kind;
     }
 
+    @Override
+    public String toString()
+    {
+        return "EntityLinkElement [kind=" + kind + ", name()=" + getName() + ", attributes="
+                + getAttributes() + ", children=" + getChildren() + ", data="
+                + getData() + "]";
+    }
+
 }