// Path: metacat-metadata/src/main/java/com/netflix/metacat/metadata/store/data/converters/ObjectNodeConverter.java
// @Slf4j
// @Converter(autoApply = true)
// @SuppressWarnings("PMD")
// public class ObjectNodeConverter implements AttributeConverter<ObjectNode, String> {
//     private final MetacatJson metacatJson;
// 
//     /**
//      * Ctor.
//      *
//      * @param metacatJson the Jackson object mapper.
//      */
//     public ObjectNodeConverter(@NonNull final MetacatJson metacatJson) {
//         this.metacatJson = metacatJson;
//     }
// 
//     @Override
//     public String convertToDatabaseColumn(final ObjectNode attribute) {
//         return attribute == null ? null : attribute.toString();
//     }
// 
//     @Override
//     public ObjectNode convertToEntityAttribute(final String dbData) {
//         return dbData == null ? null : metacatJson.parseJsonObject(dbData);
//     }
// }


import com.fasterxml.jackson.databind.node.ObjectNode;
import com.netflix.metacat.metadata.store.data.converters.ObjectNodeConverter;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import org.hibernate.annotations.ColumnDefault;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Convert;
import javax.persistence.MappedSuperclass;
package com.netflix.metacat.metadata.store.data.entities;



/**
 * Represents a basic user metadata entity.
 *
 * @author rveeramacheneni
 */
@MappedSuperclass
@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
// Path: metacat-metadata/src/main/java/com/netflix/metacat/metadata/store/data/converters/ObjectNodeConverter.java
// @Slf4j
// @Converter(autoApply = true)
// @SuppressWarnings("PMD")
// public class ObjectNodeConverter implements AttributeConverter<ObjectNode, String> {
//     private final MetacatJson metacatJson;
// 
//     /**
//      * Ctor.
//      *
//      * @param metacatJson the Jackson object mapper.
//      */
//     public ObjectNodeConverter(@NonNull final MetacatJson metacatJson) {
//         this.metacatJson = metacatJson;
//     }
// 
//     @Override
//     public String convertToDatabaseColumn(final ObjectNode attribute) {
//         return attribute == null ? null : attribute.toString();
//     }
// 
//     @Override
//     public ObjectNode convertToEntityAttribute(final String dbData) {
//         return dbData == null ? null : metacatJson.parseJsonObject(dbData);
//     }
// }


// Path: metacat-metadata/src/main/java/com/netflix/metacat/metadata/store/data/entities/BaseUserMetadataEntity.java
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.netflix.metacat.metadata.store.data.converters.ObjectNodeConverter;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.SuperBuilder;
import org.hibernate.annotations.ColumnDefault;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Convert;
import javax.persistence.MappedSuperclass;

package com.netflix.metacat.metadata.store.data.entities;



/**
 * Represents a basic user metadata entity.
 *
 * @author rveeramacheneni
 */
@MappedSuperclass
@Getter
@Setter
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true, of = {