Interface BindingAugmentationCodecTreeNode<T extends Augmentation<?>>
- All Superinterfaces:
BindingCodecTreeNode
,BindingDataContainerCodecTreeNode<T>
,BindingDataObjectCodecTreeParent<Empty>
,BindingObjectCodecTreeNode
,CommonDataObjectCodecTreeNode<T>
@Beta
public interface BindingAugmentationCodecTreeNode<T extends Augmentation<?>>
extends CommonDataObjectCodecTreeNode<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.binding.data.codec.api.BindingDataContainerCodecTreeNode
BindingDataContainerCodecTreeNode.ChildAddressabilitySummary
-
Method Summary
Modifier and TypeMethodDescriptionReturns theYangInstanceIdentifier.NodeIdentifier
s of items contained in thisAugmentation
.@Nullable T
filterFrom
(@NonNull DataContainerNode parentData) Return anAugmentation
instance backed by specified parent data.default @Nullable T
filterFrom
(@NonNull NormalizedNode parentData) Return anAugmentation
instance backed by specified parent data.Methods inherited from interface org.opendaylight.yangtools.binding.data.codec.api.BindingCodecTreeNode
getSchema
Methods inherited from interface org.opendaylight.yangtools.binding.data.codec.api.BindingDataContainerCodecTreeNode
bindingPathArgumentChild, getBindingClass, getChildAddressabilitySummary, streamAugmentation, streamChild, streamDataObject, yangPathArgumentChild
Methods inherited from interface org.opendaylight.yangtools.binding.data.codec.api.BindingDataObjectCodecTreeParent
getStreamAugmentation, getStreamChild, getStreamDataObject
Methods inherited from interface org.opendaylight.yangtools.binding.data.codec.api.CommonDataObjectCodecTreeNode
deserializePathArgument, serializePathArgument
-
Method Details
-
filterFrom
Return anAugmentation
instance backed by specified parent data. Implementations are free to return either an eager transformation (not retainingparentData
), or a lazy proxy. In both cases they must ensure the result has at least one property populated (i.e. is not empty).- Returns:
- An Augmentation, or
null
if the augmentation would be empty - Throws:
NullPointerException
- ifparentData
isnull
IllegalArgumentException
- ifparentData
is not a compatible parent
-
filterFrom
Return anAugmentation
instance backed by specified parent data. Implementations are free to return either an eager transformation (not retainingparentData
), or a lazy proxy. In both cases they must ensure the result has at least one property populated (i.e. is not empty).- Returns:
- An Augmentation, or
null
if the augmentation would be empty - Throws:
NullPointerException
- ifparentData
isnull
IllegalArgumentException
- ifparentData
is not a compatibleDataContainerNode
-
childPathArguments
@NonNull ImmutableSet<YangInstanceIdentifier.NodeIdentifier> childPathArguments()Returns theYangInstanceIdentifier.NodeIdentifier
s of items contained in thisAugmentation
.- Returns:
- A non-empty set of path arguments
-