001/* 002 * SPDX-FileCopyrightText: none 003 * SPDX-License-Identifier: CC0-1.0 004 */ 005 006package gov.nist.secauto.metaschema.databind.model.annotations; 007 008import static java.lang.annotation.ElementType.ANNOTATION_TYPE; 009import static java.lang.annotation.RetentionPolicy.RUNTIME; 010 011import java.lang.annotation.Retention; 012import java.lang.annotation.Target; 013 014import edu.umd.cs.findbugs.annotations.NonNull; 015 016@Retention(RUNTIME) 017@Target(ANNOTATION_TYPE) 018public @interface NsBinding { 019 /** 020 * The Metapath prefix to bind to. 021 * 022 * @return the prefix 023 */ 024 @NonNull 025 String prefix(); 026 027 /** 028 * The Metapath namespace URI that is bound to the prefix. 029 * 030 * @return the prefix 031 */ 032 @NonNull 033 String uri(); 034}