Interface IStructuredPropertyConverter


public interface IStructuredPropertyConverter
Abstracts the conversion of Element objects to/from database strings.
  • Method Details

    • convertToElements

      List<IElement> convertToElements(ch.systemsx.cisd.openbis.generic.shared.basic.dto.api.IManagedProperty property)
      Converts the values of specified property into a list of elements.
      Returns:
      an empty list if the value is undefined or special.
    • convertStringToElements

      List<IElement> convertStringToElements(String propertyValue)
      Converts the values of specified String object into a list of elements.
      Returns:
      an empty list if the value is undefined or special.
    • convertToString

      String convertToString(List<IElement> elements)
      Returns:
      a String representation of the specified elements that can be persisted in the database.