1 package org.simantics.db.common;
3 import java.util.TreeMap;
5 import org.simantics.db.Session;
6 import org.simantics.db.common.utils.Logger;
8 public class CommentMetadata extends ACommentMetadata {
9 public CommentMetadata(TreeMap<String, byte[]> metadata) {
13 public CommentMetadata(byte[] data) {
17 public static CommentMetadata deserialise(Session session, byte[] input) {
19 return new CommentMetadata(input);
20 } catch (Throwable e) {
21 Logger.defaultLogError(e);
23 return new CommentMetadata((byte[])null);