@Beta public final class IdentifiableItemCodec extends Object implements org.opendaylight.yangtools.concepts.Codec<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates,IdentifiableItem<?,?>>
Constructor and Description |
---|
IdentifiableItemCodec(org.opendaylight.yangtools.yang.model.api.ListSchemaNode schema,
Class<? extends org.opendaylight.yangtools.concepts.Identifier> keyClass,
Class<?> identifiable,
Map<org.opendaylight.yangtools.yang.common.QName,ValueContext> keyValueContexts)
Prepare constructor of binding object of list with resolving key values if exists.
|
Modifier and Type | Method and Description |
---|---|
IdentifiableItem<?,?> |
deserialize(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates input) |
org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates |
serialize(IdentifiableItem<?,?> input) |
public IdentifiableItemCodec(org.opendaylight.yangtools.yang.model.api.ListSchemaNode schema, Class<? extends org.opendaylight.yangtools.concepts.Identifier> keyClass, Class<?> identifiable, Map<org.opendaylight.yangtools.yang.common.QName,ValueContext> keyValueContexts)
schema
- - list schema nodekeyClass
- - binding class of keyidentifiable
- - binding class of listkeyValueContexts
- - key value contextspublic IdentifiableItem<?,?> deserialize(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates input)
deserialize
in interface org.opendaylight.yangtools.concepts.Codec<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates,IdentifiableItem<?,?>>
deserialize
in interface org.opendaylight.yangtools.concepts.Deserializer<IdentifiableItem<?,?>,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates>
public org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates serialize(IdentifiableItem<?,?> input)
serialize
in interface org.opendaylight.yangtools.concepts.Codec<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates,IdentifiableItem<?,?>>
serialize
in interface org.opendaylight.yangtools.concepts.Serializer<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifierWithPredicates,IdentifiableItem<?,?>>
Copyright © 2019 OpenDaylight. All rights reserved.