Class DfcValueConverter

java.lang.Object
com.emc.documentum.rest.dfc.conversion.DfcValueConverter

public class DfcValueConverter extends Object
Convert Core REST attribute value to DFC model
  • Constructor Details

    • DfcValueConverter

      public DfcValueConverter(Object value, int dataType, boolean isValueTypeResolved)
      Init the converter
      Parameters:
      value - the value to convert
      dataType - the type of the value to convert
      isValueTypeResolved - true if the value type is resolved
  • Method Details

    • toSingleValue

      public com.documentum.fc.common.IDfValue toSingleValue() throws com.documentum.fc.common.DfException
      Convert the value to single value
      Returns:
      converted value
      Throws:
      com.documentum.fc.common.DfException - exception during convert
    • toRepeatingValues

      public List<com.documentum.fc.common.IDfValue> toRepeatingValues() throws com.documentum.fc.common.DfException
      Convert the value to repeating value
      Returns:
      converted value
      Throws:
      com.documentum.fc.common.DfException - the exception during convert