Package com.emc.documentum.rest.dfc.conversion

# 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 Summary

  Constructors
  Constructor
  Description
  `DfcValueConverter(Object value, int dataType, boolean isValueTypeResolved)`
  Init the converter

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<com.documentum.fc.common.IDfValue>`
  `toRepeatingValues()`
  Convert the value to repeating value
  `com.documentum.fc.common.IDfValue`
  `toSingleValue()`
  Convert the value to single value

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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