diff --git a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/data/EntityCollection.java b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/data/EntityCollection.java index d95c536e7..1448ad6fb 100644 --- a/lib/commons-api/src/main/java/org/apache/olingo/commons/api/data/EntityCollection.java +++ b/lib/commons-api/src/main/java/org/apache/olingo/commons/api/data/EntityCollection.java @@ -136,4 +136,9 @@ public class EntityCollection extends AbstractEntityCollection { result = 31 * result + (deltaLink == null ? 0 : deltaLink.hashCode()); return result; } + + @Override + public String toString() { + return entities.toString(); + } } diff --git a/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmNamed.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmNamed.java index 97924c934..5e6abbd99 100644 --- a/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmNamed.java +++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdmNamed.java @@ -35,4 +35,10 @@ public abstract class AbstractEdmNamed extends AbstractEdmAnnotatable implements public String getName() { return name; } + + @Override + public String toString() { + return name; + } + } diff --git a/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java index 7ab2abe0d..8fcc6c126 100644 --- a/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java +++ b/lib/server-core/src/main/java/org/apache/olingo/server/core/uri/UriParameterImpl.java @@ -78,4 +78,8 @@ public class UriParameterImpl implements UriParameter { return this; } + @Override + public String toString() { + return name; + } }