T - Path Argument typepublic abstract class DataSchemaContextNode<T extends YangInstanceIdentifier.PathArgument> extends Object implements Identifiable<T>
NormalizedNode and serialization format defined in RFC6020,
since the mapping is not one-to-one.| Modifier | Constructor and Description |
|---|---|
protected |
DataSchemaContextNode(T identifier,
SchemaNode schema) |
protected DataSchemaContextNode(T identifier, SchemaNode schema)
public T getIdentifier()
IdentifiablegetIdentifier in interface Identifiable<T extends YangInstanceIdentifier.PathArgument>public boolean isMixin()
public boolean isKeyedEntry()
public abstract boolean isLeaf()
public abstract @Nullable DataSchemaContextNode<?> getChild(YangInstanceIdentifier.PathArgument child)
YangInstanceIdentifier.PathArgument.child - Child path argumentpublic abstract @Nullable DataSchemaContextNode<?> getChild(QName child)
public @Nullable DataSchemaNode getDataSchemaNode()
public final @NonNull Optional<DataSchemaContextNode<?>> findChild(@NonNull YangInstanceIdentifier path)
YangInstanceIdentifier relative to this node.path - Path towards the child nodeNullPointerException - if path is nullpublic static YangInstanceIdentifier.AugmentationIdentifier augmentationIdentifierFrom(AugmentationSchemaNode schema)
schema - Augmentation schemaNullPointerException - if schema is null@Deprecated public static AugmentationSchemaNode augmentationProxy(AugmentationSchemaNode schema, DataNodeContainer parent)
EffectiveAugmentationSchema.create(AugmentationSchemaNode, DataNodeContainer) instead.schema - Augmentation schemaparent - Parent schemaNullPointerException - if any of the arguments is nullpublic static @Nullable DataSchemaContextNode<?> fromDataSchemaNode(DataSchemaNode potential)
public static DataSchemaContextNode<?> from(SchemaContext ctx)
Copyright © 2019 OpenDaylight. All rights reserved.