Skip to content
Snippets Groups Projects
Commit 84e05404 authored by jakubs's avatar jakubs
Browse files

make getCode json ignored

SVN: 27698
parent 6ab7e994
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,8 @@ package ch.systemsx.cisd.openbis.generic.shared.basic.dto; ...@@ -19,6 +19,8 @@ package ch.systemsx.cisd.openbis.generic.shared.basic.dto;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
import com.fasterxml.jackson.annotation.JsonIgnore;
import ch.systemsx.cisd.base.annotation.JsonObject; import ch.systemsx.cisd.base.annotation.JsonObject;
import ch.systemsx.cisd.openbis.generic.shared.basic.IIdAndCodeHolder; import ch.systemsx.cisd.openbis.generic.shared.basic.IIdAndCodeHolder;
...@@ -73,6 +75,7 @@ public class Metaproject implements Serializable, IIdAndCodeHolder ...@@ -73,6 +75,7 @@ public class Metaproject implements Serializable, IIdAndCodeHolder
} }
@Override @Override
@JsonIgnore
public String getCode() public String getCode()
{ {
return getName(); return getName();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment