Class StringCollectionConverter

java.lang.Object
io.jmix.securitydata.entity.StringCollectionConverter
All Implemented Interfaces:
javax.persistence.AttributeConverter<Set<String>,String>

public class StringCollectionConverter extends Object implements javax.persistence.AttributeConverter<Set<String>,String>
  • Field Details

  • Constructor Details

    • StringCollectionConverter

      public StringCollectionConverter()
  • Method Details

    • convertToDatabaseColumn

      public String convertToDatabaseColumn(Set<String> values)
      Specified by:
      convertToDatabaseColumn in interface javax.persistence.AttributeConverter<Set<String>,String>
    • convertToEntityAttribute

      public Set<String> convertToEntityAttribute(String dbData)
      Specified by:
      convertToEntityAttribute in interface javax.persistence.AttributeConverter<Set<String>,String>