Interface IStructuredPropertyConverter
-
public interface IStructuredPropertyConverter
Abstracts the conversion ofElement
objects to/from database strings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<IElement>
convertStringToElements(java.lang.String propertyValue)
Converts the values of specified String object into a list of elements.java.util.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.java.lang.String
convertToString(java.util.List<IElement> elements)
-
-
-
Method Detail
-
convertToElements
java.util.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
java.util.List<IElement> convertStringToElements(java.lang.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
java.lang.String convertToString(java.util.List<IElement> elements)
- Returns:
- a
String
representation of the specified elements that can be persisted in the database.
-
-