Class ParametrizedValueListSerializerCustomization
java.lang.Object
com._1c.g5.v8.dt.internal.platform.services.core.profiles.ParametrizedValueListSerializerCustomization
- All Implemented Interfaces:
IPlatformSerializerCustomization<ParametrizedValueList>
public class ParametrizedValueListSerializerCustomization
extends Object
implements IPlatformSerializerCustomization<ParametrizedValueList>
IPlatformSerializerCustomization
for ParametrizedValueList
serialization
and deserialization.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()
Returns theValue
subclass to define deserialization for.boolean
Whether need to use this customization on the given class id of the value in terms of 1C:Enterprise.readValue
(IListInStream inStream, UUID classId) ReadsValue
from list input stream.void
writeValue
(IListOutStream outStream, ParametrizedValueList value) WritesValue
to list output stream.
-
Field Details
-
VALUE_LIST_CLASS_ID
-
VALUE_LIST_ITEM_CLASS_ID
-
-
Constructor Details
-
ParametrizedValueListSerializerCustomization
public ParametrizedValueListSerializerCustomization()
-
-
Method Details
-
matches
Description copied from interface:IPlatformSerializerCustomization
Whether need to use this customization on the given class id of the value in terms of 1C:Enterprise.- Specified by:
matches
in interfaceIPlatformSerializerCustomization<ParametrizedValueList>
- Parameters:
classId
- class id of the value in terms of 1C:Enterprise, cannot benull
- Returns:
- Whether need to use this customization on the given class id of the value in terms of 1C:Enterprise
-
getType
Description copied from interface:IPlatformSerializerCustomization
Returns theValue
subclass to define deserialization for.- Specified by:
getType
in interfaceIPlatformSerializerCustomization<ParametrizedValueList>
- Returns:
- the
Value
subclass to define deserialization for, nevernull
-
readValue
Description copied from interface:IPlatformSerializerCustomization
ReadsValue
from list input stream.- Specified by:
readValue
in interfaceIPlatformSerializerCustomization<ParametrizedValueList>
- Parameters:
inStream
- the list input stream, cannot benull
classId
- class id of the value in terms of 1C:Enterprise, cannot benull
- Returns:
- deserialized
Value
, nevernull
-
writeValue
Description copied from interface:IPlatformSerializerCustomization
WritesValue
to list output stream.- Specified by:
writeValue
in interfaceIPlatformSerializerCustomization<ParametrizedValueList>
- Parameters:
outStream
- the list output stream, cannot benull
value
- the value to write, cannot benull
-