From 84e05404a81a8f1672a8c99159a0e03cea461d91 Mon Sep 17 00:00:00 2001
From: jakubs <jakubs>
Date: Tue, 20 Nov 2012 09:34:02 +0000
Subject: [PATCH] make getCode json ignored

SVN: 27698
---
 .../cisd/openbis/generic/shared/basic/dto/Metaproject.java     | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/openbis_api/source/java/ch/systemsx/cisd/openbis/generic/shared/basic/dto/Metaproject.java b/openbis_api/source/java/ch/systemsx/cisd/openbis/generic/shared/basic/dto/Metaproject.java
index 145b9343080..f8b3232e58c 100644
--- a/openbis_api/source/java/ch/systemsx/cisd/openbis/generic/shared/basic/dto/Metaproject.java
+++ b/openbis_api/source/java/ch/systemsx/cisd/openbis/generic/shared/basic/dto/Metaproject.java
@@ -19,6 +19,8 @@ package ch.systemsx.cisd.openbis.generic.shared.basic.dto;
 import java.io.Serializable;
 import java.util.Date;
 
+import com.fasterxml.jackson.annotation.JsonIgnore;
+
 import ch.systemsx.cisd.base.annotation.JsonObject;
 import ch.systemsx.cisd.openbis.generic.shared.basic.IIdAndCodeHolder;
 
@@ -73,6 +75,7 @@ public class Metaproject implements Serializable, IIdAndCodeHolder
     }
 
     @Override
+    @JsonIgnore
     public String getCode()
     {
         return getName();
-- 
GitLab