T
- Binding DataObject type@Beta @ThreadSafe public abstract class AbstractBindingLazyContainerNode<T extends DataObject,C> extends com.google.common.collect.ForwardingObject implements BindingLazyContainerNode<T>
ContainerNode
backed by a binding DataObject
, with lazy instantiation of the ContainerNode view.Modifier | Constructor and Description |
---|---|
protected |
AbstractBindingLazyContainerNode(@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier identifier,
T bindingData,
C context) |
Modifier and Type | Method and Description |
---|---|
protected abstract @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
computeContainerNode(C context) |
protected @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
delegate() |
boolean |
equals(@Nullable Object obj) |
Map<org.opendaylight.yangtools.yang.common.QName,String> |
getAttributes() |
Object |
getAttributeValue(org.opendaylight.yangtools.yang.common.QName name) |
Optional<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>> |
getChild(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child) |
T |
getDataObject()
Returns the underlying DataObject.
|
org.opendaylight.yangtools.yang.data.api.schema.ContainerNode |
getDelegate() |
@NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier |
getIdentifier() |
org.opendaylight.yangtools.yang.common.QName |
getNodeType() |
Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>> |
getValue() |
int |
hashCode() |
public final T getDataObject()
BindingLazyContainerNode
getDataObject
in interface BindingLazyContainerNode<T extends DataObject>
public final @NonNull org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier getIdentifier()
getIdentifier
in interface org.opendaylight.yangtools.concepts.Identifiable<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier>
getIdentifier
in interface org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>>
getIdentifier
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>>
getIdentifier
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>
public final org.opendaylight.yangtools.yang.common.QName getNodeType()
getNodeType
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>>
public final org.opendaylight.yangtools.yang.data.api.schema.ContainerNode getDelegate()
getDelegate
in interface org.opendaylight.yangtools.concepts.Delegator<org.opendaylight.yangtools.yang.data.api.schema.ContainerNode>
public Map<org.opendaylight.yangtools.yang.common.QName,String> getAttributes()
getAttributes
in interface org.opendaylight.yangtools.yang.data.api.AttributesContainer
public Object getAttributeValue(org.opendaylight.yangtools.yang.common.QName name)
getAttributeValue
in interface org.opendaylight.yangtools.yang.data.api.AttributesContainer
public Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>> getValue()
getValue
in interface org.opendaylight.yangtools.yang.data.api.schema.DataContainerNode<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier>
getValue
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNode<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,Collection<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>>
getValue
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>
public Optional<org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>> getChild(org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument child)
getChild
in interface org.opendaylight.yangtools.yang.data.api.schema.NormalizedNodeContainer<org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.NodeIdentifier,org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,org.opendaylight.yangtools.yang.data.api.schema.DataContainerChild<? extends org.opendaylight.yangtools.yang.data.api.YangInstanceIdentifier.PathArgument,?>>
protected final @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode delegate()
delegate
in class com.google.common.collect.ForwardingObject
protected abstract @NonNull org.opendaylight.yangtools.yang.data.api.schema.ContainerNode computeContainerNode(C context)
Copyright © 2019 OpenDaylight. All rights reserved.