Class DfcValueConverter
java.lang.Object
com.emc.documentum.rest.dfc.conversion.DfcValueConverter
Convert Core REST attribute value to DFC model
- 
Constructor SummaryConstructorsConstructorDescriptionDfcValueConverter(Object value, int dataType, boolean isValueTypeResolved) Init the converter
- 
Method SummaryModifier and TypeMethodDescriptionList<com.documentum.fc.common.IDfValue>Convert the value to repeating valuecom.documentum.fc.common.IDfValueConvert the value to single value
- 
Constructor Details- 
DfcValueConverterInit the converter- Parameters:
- value- the value to convert
- dataType- the type of the value to convert
- isValueTypeResolved-- trueif the value type is resolved
 
 
- 
- 
Method Details- 
toSingleValuepublic com.documentum.fc.common.IDfValue toSingleValue() throws com.documentum.fc.common.DfExceptionConvert the value to single value- Returns:
- converted value
- Throws:
- com.documentum.fc.common.DfException- exception during convert
 
- 
toRepeatingValuespublic List<com.documentum.fc.common.IDfValue> toRepeatingValues() throws com.documentum.fc.common.DfExceptionConvert the value to repeating value- Returns:
- converted value
- Throws:
- com.documentum.fc.common.DfException- the exception during convert
 
 
-