import java.util.Collection;
import java.util.List;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.common.QName;
/**
List<QName> getKeyDefinition();
/**
- * YANG 'ordered-by' statement. It defines whether the order of entries
- * within a list are determined by the user or the system. If not present,
- * default is false.
+ * YANG 'ordered-by' statement. It defines whether the order of entries within a list are determined by the user
+ * or the system. If not present, default is false.
*
* @return true if ordered-by argument is "user", false otherwise
*/
*
* @return Collection of unique constraints of this list schema node
*/
- @Nonnull
- Collection<UniqueConstraint> getUniqueConstraints();
+ @NonNull Collection<UniqueConstraint> getUniqueConstraints();
}
import java.util.Objects;
import java.util.Optional;
import java.util.Set;
-import javax.annotation.Nonnull;
+import org.eclipse.jdt.annotation.NonNull;
import org.opendaylight.yangtools.yang.common.QName;
import org.opendaylight.yangtools.yang.model.api.ActionDefinition;
import org.opendaylight.yangtools.yang.model.api.DerivableSchemaNode;
private final ListSchemaNode original;
private final Set<ActionDefinition> actions;
private final Set<NotificationDefinition> notifications;
- private final Collection<UniqueConstraint> uniqueConstraints;
+ private final @NonNull Collection<UniqueConstraint> uniqueConstraints;
private final ElementCountConstraint elementCountConstraint;
private final Collection<MustDefinition> mustConstraints;
}
@Override
- @Nonnull
public Collection<UniqueConstraint> getUniqueConstraints() {
return uniqueConstraints;
}