All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opendaylight.yangtools.binding.LeafPropertyStep Maven / Gradle / Ivy

/*
 * Copyright (c) 2024 PANTHEON.tech, s.r.o. and others.  All rights reserved.
 *
 * This program and the accompanying materials are made available under the
 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
 * and is available at http://www.eclipse.org/legal/epl-v10.html
 */
package org.opendaylight.yangtools.binding;

import static java.util.Objects.requireNonNull;

import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.common.UnresolvedQName.Unqualified;

/**
 * An {@link ExactPropertyStep} for a property generated for an {@code anydata}, an {@code anyxml} or a {@code leaf}
 * statement.
 *
 * @param  containing {@link DataContainer} type
 * @param  value type
 */
public record LeafPropertyStep(
        @NonNull Class containerType,
        @NonNull Class valueType,
        @NonNull Unqualified yangIdentifier) implements ExactPropertyStep {
    public LeafPropertyStep {
        requireNonNull(containerType);
        requireNonNull(valueType);
        requireNonNull(yangIdentifier);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy