Java Code Examples for org.opendaylight.yangtools.yang.model.api.LeafListSchemaNode#getQName()

The following examples show how to use org.opendaylight.yangtools.yang.model.api.LeafListSchemaNode#getQName() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ImmutableOrderedLeafSetNodeSchemaAwareBuilder.java    From yangtools with Eclipse Public License 1.0 5 votes vote down vote up
public ImmutableOrderedLeafSetNodeSchemaAwareBuilder(final LeafListSchemaNode schema,
        final ImmutableOrderedLeafSetNode<T> node) {
    super(node);
    this.schema = requireNonNull(schema);
    // FIXME: Preconditions.checkArgument(schema.getQName().equals(node.getIdentifier()));
    super.withNodeIdentifier(new NodeIdentifier(schema.getQName()));
}
 
Example 2
Source File: ImmutableOrderedLeafSetNodeSchemaAwareBuilder.java    From yangtools with Eclipse Public License 1.0 4 votes vote down vote up
private ImmutableOrderedLeafSetNodeSchemaAwareBuilder(final LeafListSchemaNode schema) {
    this.schema = requireNonNull(schema);
    super.withNodeIdentifier(new NodeIdentifier(schema.getQName()));
}
 
Example 3
Source File: ImmutableLeafSetNodeSchemaAwareBuilder.java    From yangtools with Eclipse Public License 1.0 4 votes vote down vote up
private ImmutableLeafSetNodeSchemaAwareBuilder(final LeafListSchemaNode schema) {
    this.schema = requireNonNull(schema);
    super.withNodeIdentifier(new NodeIdentifier(schema.getQName()));
}
 
Example 4
Source File: ImmutableLeafSetNodeSchemaAwareBuilder.java    From yangtools with Eclipse Public License 1.0 4 votes vote down vote up
public ImmutableLeafSetNodeSchemaAwareBuilder(final LeafListSchemaNode schema, final ImmutableLeafSetNode<T> node) {
    super(node);
    this.schema = requireNonNull(schema);
    // FIXME: Preconditions.checkArgument(schema.getQName().equals(node.getIdentifier()));
    super.withNodeIdentifier(new NodeIdentifier(schema.getQName()));
}
 
Example 5
Source File: InstanceIdToSimpleNodes.java    From yangtools with Eclipse Public License 1.0 4 votes vote down vote up
LeafListEntryNormalization(final LeafListSchemaNode potential) {
    super(new NodeWithValue<>(potential.getQName(), null));
}
 
Example 6
Source File: LeafListEntryContextNode.java    From yangtools with Eclipse Public License 1.0 4 votes vote down vote up
LeafListEntryContextNode(final LeafListSchemaNode potential) {
    super(new NodeWithValue<>(potential.getQName(), null), potential);
}