Class DfcValueConverter
java.lang.Object
com.emc.documentum.rest.dfc.conversion.DfcValueConverter
Convert Core REST attribute value to DFC model
-
Constructor Summary
ConstructorsConstructorDescriptionDfcValueConverter(Object value, int dataType, boolean isValueTypeResolved) Init the converter -
Method Summary
Modifier and TypeMethodDescriptionList<com.documentum.fc.common.IDfValue>Convert the value to repeating valuecom.documentum.fc.common.IDfValueConvert the value to single value
-
Constructor Details
-
DfcValueConverter
Init the converter- Parameters:
value- the value to convertdataType- the type of the value to convertisValueTypeResolved-trueif the value type is resolved
-
-
Method Details
-
toSingleValue
public 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
-
toRepeatingValues
public 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
-